INSERT TO TEMP TABLE FROM A DYNAMIC QUERRY
declare @query varchar(200)
set @query='SELECT 1 as NO,
''Madhan'' as Name '
insert into #temp (No,Name)
exec (@query)
A Blog about Sql Server 2008.Easy to understand Sql Server Tips and Tutorials for beginners and useful sql server knowledge information for database developers.
No comments:
Post a Comment