exec ('select * into #temp from student;select * from #temp;')
ÕâÑùд exec('select * into #aaa from Base_Email select * from #aaa drop table #aaa ' )
µ«ÊÇÎÒÏëÔÚÍâÃæÊ¹ÓÃÁÙʱ±í.»¹ÓкܶàºóÐø²Ù×÷ --sql 2000×Ô´ø¿âpubsµÄ±íauthorsµÄ²âÊÔÇé¿ö. SQL code: exec('select * into #aaa from authors select * from #aaa drop table #aaa ' )
/* au_id au_lname au_fname phone address city state zip contract ----------- ---------------------------------------- -------------------- ------------ ---------------------------------------- -------------------- ----- ----- -------- 172-32-1176 White
ÎÒ¿´Á˺ܶàÎÄÕ£¬Ð´µÄ̫רҵ£¬Äܲ»ÄÜÓôó°×»°½²½²£¬¾ÍÊÇÔõô¹¹½¨Ë÷ÒýµÄ£¬²éµÄʱºòÊÇÔõôÑùµÄ²½Ö裬Ϊʲô±Èlike¿ì£¬ÊDz»ÊÇÖ»ÒªÓÃcontect£¬¾ÍÒ»¶¨»áÈ¥²é£¬±ÈÈç select * from table where contect('sdfsd',sdf) and ......