Declare @p varchar(20)
set @p='> 2000'
declare @s varchar(2000)
set @s='select * from sntbl_user_profile where up_id ' + @p
print @s
Exec (@s)
set @p='> 2000'
declare @s varchar(2000)
set @s='select * from sntbl_user_profile where up_id ' + @p
print @s
Exec (@s)
No comments:
Post a Comment