Home Forums Article Discussions Article Discussions by Author Discuss content posted by Ajit Halder What is the result of the following query RE: What is the result of the following query
dfine
Ten Centuries
Points: 1251
More actions
December 12, 2010 at 11:11 pm
#1261525
good basic question.
Declare @strSql varchar(2000)
Set @strSql = ''
Set @strSql = @strSql + 'Create table #tmp (id int)'
Set @strSql = @strSql + 'Insert into #tmp(id) values (1) Select * from #tmp'
Exec (@strSql)