bloombergCR
Programmer
declare @table varchar(20)
set @table = 'Persons'
select count(*) from "@table"
Hi,
Would you please tell me why the above script gave me an error meassage of Must declare the variable '@table'?
How can I improve it?
Thanks alot.
Bloomberg
set @table = 'Persons'
select count(*) from "@table"
Hi,
Would you please tell me why the above script gave me an error meassage of Must declare the variable '@table'?
How can I improve it?
Thanks alot.
Bloomberg