select * into #tempb 失败,请高手指点

[复制链接]
查看11 | 回复5 | 2009-10-9 08:28:00 | 显示全部楼层 |阅读模式
sybase 11.9
我执行select * into #tempb from test和 select * into ##tempb from test时报错:you can't run select into in this database.please check with this database owner.
我是以管理员sa 身份登录的。
如果不是建临时表的话就能成功。请大家指点指点!
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
have you used 'sp_dboption db,'select into',true' to enable bulk copy functionality at database level?
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
没有,我对sybase不太了解,能否给个详细的语句设置bulkcopy,我想用select into在临时表库中建临时表。谢谢!
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
use master
go
sp_dboption $DB_NAME, 'select into', true
go
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
非常感谢!
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
LZ用的是SQL语句...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行