I know this is both a T-Sql and a VB.net question, but did not know where to post...
SO I finally got hired and am rusty as can be. so much its embarrassing.
I need to make a sp that the vb.net forms controls will pass and updated values too.
so do i make one update sp for the form to call and pass all values too?
like I went to the view i created and went to scripts to clipboard as Update and it gives me a skeleton for every column. of course i know the PK will not be updated but the rest of the columns?
so if i did like this, what would i do if only 1 column needed to be updated and not all 50 of them.
i guess maybe the set line could have a parm?
set @columnToBeUpdated = @Value,
but then what if there are 6 or 8 to be updated?
As u can see, I desparately need to be pointed in the right direction.
any help greatly appreciated
SO I finally got hired and am rusty as can be. so much its embarrassing.
I need to make a sp that the vb.net forms controls will pass and updated values too.
so do i make one update sp for the form to call and pass all values too?
like I went to the view i created and went to scripts to clipboard as Update and it gives me a skeleton for every column. of course i know the PK will not be updated but the rest of the columns?
so if i did like this, what would i do if only 1 column needed to be updated and not all 50 of them.
i guess maybe the set line could have a parm?
set @columnToBeUpdated = @Value,
but then what if there are 6 or 8 to be updated?
As u can see, I desparately need to be pointed in the right direction.
any help greatly appreciated