Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 select into variable (PDW)

Author  Topic 

waterduck
Aged Yak Warrior

982 Posts

Posted - 2014-03-05 : 04:15:43
how to get multiple column value to variable in PDW/DSQL?such as below

declare @a table(col1 int, col2 int)

insert into @a values (1,2)

declare @c int, @d int

select @c = col1, @d = col2
from @a

select @c, @d

waterduck
Aged Yak Warrior

982 Posts

Posted - 2014-03-05 : 04:22:05
dam i hate pdw
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2014-03-05 : 04:36:05
is there any "BOL" for the PDW ?


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

waterduck
Aged Yak Warrior

982 Posts

Posted - 2014-03-05 : 04:40:10
yea it is, but i cant find the thing i needed.
Go to Top of Page
   

- Advertisement -