upload - loading data from an excel to sql DB -
i have table data in sheet of xls. need 'update' data table in sql db.
note:
the xls contain columns undergo change. (for example if 2 columns undergo changes, 2 columns records present in xls)
the primary key column present in xls reference.
please me in solving this.
if one-off load pretty easy turn data sql statements. sheet has 2 columns (a & b) put following formula in column c:
"update tablename set somecol=" & b1 & " keycol=" & a1
(sorting out quotes strings, etc appropriate)
next copy formula down bottom, copy cells in col c, paste text editor , run sql tool.
if need hand on users or run there many, many ways , depends on tools @ disposal (java, c#, ...)
Comments
Post a Comment