dougcoulter
Programmer
Hello all - I have stumped myself on the following. I am writing a stored procedure that, among other things, will insert values from one table into another. The source table has 59 fields - 57 of which I need to use to insert into the destination table, which in addition to these 57 fields, has a 2 other fields that I need to provide programmatically. Does this make sense?
The brute force way is to declare a boat load of variables and return in them the 57 fields from the source table - using them in turn for the insert, but there has to be a better way.
Any suggesstions?
Thanks
!
The brute force way is to declare a boat load of variables and return in them the 57 fields from the source table - using them in turn for the insert, but there has to be a better way.
Any suggesstions?
Thanks