Hi Guys,
I'm trying to create a New DataSet with the option of putting CommandType as "Text" on my Report and this is what is working now:
Select Company_Code,
Department,
From MyTable
Where Accounting_Month = @Month
But I Would like to manage the "MyTable" HardCode into a Variable as this one:
Select Company_Code,
Department,
From @MyTable
Where Accounting_Month = @Month
@MyTable because I would like to use it as a parameter as I use @Month....
it is possible this one using CommandType Text?
What Kind of language is on commandtype Text, T-SQL?
Thanks!
I'm trying to create a New DataSet with the option of putting CommandType as "Text" on my Report and this is what is working now:
Select Company_Code,
Department,
From MyTable
Where Accounting_Month = @Month
But I Would like to manage the "MyTable" HardCode into a Variable as this one:
Select Company_Code,
Department,
From @MyTable
Where Accounting_Month = @Month
@MyTable because I would like to use it as a parameter as I use @Month....
it is possible this one using CommandType Text?
What Kind of language is on commandtype Text, T-SQL?
Thanks!