摘要: USE master--检查是否已经存在一个表,如果有就删除IF(EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = '#New_Table')) DROP table #New_TableGO--创建临时表CREATE TABLE #New_Table( ID int not null identity(1,1) primary key, Name nvarchar(50) not null, Age int not null)--向表中插入数据INSERT INTO #New_Table (Na 阅读全文
posted @ 2014-02-19 22:42 ZackZhou 阅读(131) 评论(0) 推荐(0)