sql server - The multi-part identifier "OrderCredit.User_ID" could not be bound -


what going wrong? running this

sqlcommand comm = new sqlcommand(    "update amounts      set e_wallet = (select ordercredit.orderamount + e_wallet                      ordercredit)      (ordercredit.user_id = @a)", c); 

gives following error:

the multi-part identifier “ordercredit.user_id” not bound


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

node.js - Bad Request - node js ajax post -

uitableview - Create and use custom prototype table cells in xamarin ios using storyboard -