May 16, 2008 at 2:23 am
declare @i as numeric(18,0)
declare @sql as varchar(8000)
set @i =4
set @sql ='select top ' + convert(varchar,@i) + ' * from dbo.tbl_ls_feed_data'
exec(@sql)
- Zahran -
May 16, 2008 at 4:34 am
thx
May 16, 2008 at 4:36 am
thx
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply