Oct 25, 2007 #1 ecannizzo Programmer Sep 19, 2000 213 US I know this is doable: select @MyVariable = ColumnName from MyTable where MyId = SomeInteger Can you do it with multiple outputs? Something like this: select @MyVariable1, @MyVariable2 = ColumnName1, ColumnName2 from MyTable where MyId = SomeInteger Thanks!
I know this is doable: select @MyVariable = ColumnName from MyTable where MyId = SomeInteger Can you do it with multiple outputs? Something like this: select @MyVariable1, @MyVariable2 = ColumnName1, ColumnName2 from MyTable where MyId = SomeInteger Thanks!
Oct 25, 2007 #2 gmmastros Programmer Feb 15, 2005 14,910 US Read this: thread183-1420441 Does that answer your question? -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom Upvote 0 Downvote
Read this: thread183-1420441 Does that answer your question? -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
Oct 25, 2007 Thread starter #3 ecannizzo Programmer Sep 19, 2000 213 US Yes, thanks! Upvote 0 Downvote