希望得到任何帮助。

1 个评论
bgs
参考以下链接: stackoverflow.com/questions/729197/ ...
sql
sql-server
sql-server-2008
tsql
sql-server-2008-r2
user1557886
user1557886
发布于 2013-06-26
1 个回答
bgs
bgs
发布于 2013-06-26
已采纳
0 人赞同

试一下下面的脚本。

/* Get the data into a temp table */
SELECT * INTO #TempTable
FROM YourTable
/* Drop the cloumns that are not needed */
ALTER TABLE #TempTable