摘要:
创建一个临时表,要想获得这个临时表的列数,需要到 tempdb 中查询,因为 SQL Server 的临时表及其元数据是存放在 tempdb 数据库中的。 create table #t(id int, name varchar(30)) 在 SQL Server 2000 中获得临时表的列数: select count(*) from tempdb.dbo.syscolumns whe... 阅读全文
posted @ 2008-07-25 15:54
博闻李
阅读(3921)
评论(0)
推荐(0)

浙公网安备 33010602011771号