Query to Update Multiple Rows | Updating Multiple Rows using Join

Update AdminMaster

set Username=b.Username,

Password=b.Password

from AdminMaster as a

join @TempAdmin b on a.id=b.id



//@TempAdmin is Temporary table that we can pass on stored procedure

Comments

Popular posts from this blog

Uploading Image to Sql Server Image Datatype in asp.net using fileupload Control

📉 Study: African Women Face Higher Risk of Job Loss to AI in Outsourcing Sector

🎨 Is There a Future for Graphic Designers in the AI Era?