Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting a sql stmt in a var

Status
Not open for further replies.

sujosh

Programmer
Joined
Nov 29, 2001
Messages
93
Location
US
I want to have the following line set in a variable @s.
select @table ='abc'

like

select @s = 'select @table ='req''

Please help
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top