excel - How to update the data of a particular column in SQL -


i updating values of columns 0.00 using below query

update table name set column name = '0.00' 

i did many columns accidentally updated 1 wrong column 0.00 not suppose do. want data column, have backup in excel file don't know how update particular column. please

depending on number of rows affected try putting following formula in cell c2 of excel table:

="update tbl_name set col_name=" & b2 & " id=" & a2 

assuming in excel table ids each record can found in column a , original values in column b. if copy formula down until have whole table covered should end command batch of update commands should check @ first , possibly apply on database revover old values.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -