Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1754 Points
340 Posts
Apr 30, 2012 07:23 PM|LINK
try:
declare @SQL nvarchar; set @SQL = N'select * from ' + [@dbname] + N'.INFORMATION_SCHEMA.COLUMNS'; execute sp_executeSQL @SQL;
Hope this helps.
silvioyf
Participant
1754 Points
340 Posts
Re: Query help
Apr 30, 2012 07:23 PM|LINK
try:
Hope this helps.