首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

bcp导出数据时,报37000解决方法

2012-03-30 
bcp导出数据时,报37000SQL codeDeclare @sql varchar(600),@count intCreate Table ##tempTable(postID in

bcp导出数据时,报37000

SQL code
Declare @sql varchar(600),@count intCreate Table ##tempTable(postID int)insert into ##tempTable select postID from dbo.Postset @sql='bcp ##tempTable out "E:\魔兽世界吧——数据\2012-3-14\Temp3.xls" -c -q -S"WHULCC-PC" -U"sa" -P"123123123"'EXEC master..xp_cmdshell @sqldrop table ##tempTable




[解决办法]
http://topic.csdn.net/u/20120317/15/343afa87-9497-46e7-8c65-5e4a0447e6ad.html?39733
[解决办法]
SQL code
Declare @sql varchar(600),@count intCreate Table ##tempTable(postID int)insert into ##tempTable select postID from dbo.Postset @sql='bcp tempdb..##tempTable out "E:\魔兽世界吧——数据\2012-3-14\Temp3.xls" -c -q -S"WHULCC-PC" -U"sa" -P"123123123"'EXEC master..xp_cmdshell @sqldrop table ##tempTable 

热点排行