Home Forums SQL Server 2008 T-SQL (SS2K8) Is there a way to do this without dynamic sql? RE: Is there a way to do this without dynamic sql?
Lynn Pettis
SSC Guru
Points: 442467
More actions
June 13, 2014 at 10:22 am
#1721558
TheGreenShepherd (6/13/2014)Yep, exactly. Thanks.
TheGreenShepherd (6/13/2014)
Glad it worked. FYI, I did have to make some modify your inserts a bit to get things working. You should see the differences by comparing my code to what you had posted.