Stored Procedure for Updating a Column in Sql Server -


I need to update the column with multiple values ​​

  update table 1 Set column 1 = (Select table from table 2 where table 1.column0 = table2.coulmn) Is any generalized stored procedure for a requirement like above? 

Creating a statement as a string and "executing" statement, I do not know about one Usually, "execution" is contraindicated because it is a potential injection attack point.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -