Sybase 資料一覧
select intoを実行すると「Msg 268, Level 16, State 2: You can't run SELECT INTO in this database」というエラーが出る
2007/10/6更新
対応バージョン: 11.9.2
当該データベースにselect intoの権限がない。
sp_dboptionにて「select into/bulkcopy」を付与する(checkpointの実行を忘れずに)。
1> sp_dboption <DB>, "select into/bulkcopy/pllsort", true 2> go 1> use <DB> 2> go 1> checkpoint 2> go
尚、一時表や一部のストアドプロシージャ(sp_helpやsp_helpsortなど)はtempdbにselect intoするのでtempdbに同様のオプションを付与する必要がある。