Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

I need to update the table where I may or may not update all columns, so how can I do that

$
0
0

Hi, I have a table which has some columns, in this table i am trying to update the table which is frequent process. So, here i may update some columns or all depending on my requirement for that particular time. So, now how can i write my update query here which involves all the columns, but if i do not need for particular column to update , then it should leave the value of the column as it is. i am little confused now how to do it, can I use stored procedure or with in the query? Can any one please let me know on this. i am giving the columns name, 

SubSystemNamePROV_TAX_IDUpdated BucketProv_TypeAct_SQS_Amt

Deal_Name.

So, these are the columns, how can I write the update query for it


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>