I just would like to create temporary tables and put records to table using BODS. Is it possible to do in one script or using other transformation something like this below:
Declare @Type Table
(
type varchar(2)
)
Insert into @Type(type)
Values('A'),('B'),('C'),('D');
Declare @Second Table
(
Second varchar(3)
)
Insert into @Second(Second)
Values('N'),('Y');
Declare @Check Table
(
type varchar(2),
Second varchar(3),
rank int
)
Insert Into @Check
Select b.type, a.Second ,
ROW_NUMBER() over ( order by a.Second ) rnk
From @Second a
Cross Join @Type b
Order by a.Second;
Select *
From
@Check
Is it possible to declare temporary tables in BODS?