Hi,
I need to copy some selected data from one table to another using a stored proc. This isnt a problem - i figured i should be using insert into. However the problem is, the table that I am inserting into needs to obtain one of its column values from a local variable and not from the select statement.
What is the syntax for doing this?
Thanks,
Mark.
I need to copy some selected data from one table to another using a stored proc. This isnt a problem - i figured i should be using insert into. However the problem is, the table that I am inserting into needs to obtain one of its column values from a local variable and not from the select statement.
What is the syntax for doing this?
Thanks,
Mark.