各位好,我想drop table 洗掉sybase資料庫千余張表,因數量太多,手工加go太慢,那位好心人指導一下,怎么做比較快?還有沒有其他更好的洗掉辦法?謝謝各位!
uj5u.com熱心網友回復:
用select 陳述句構造你的執行陳述句啊。select 'drop table '+ name +char(13)+'go'+char(13) from sysobjects where type='U' and ......
思路大概就是這樣了
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/98096.html
標籤:Sybase
上一篇:一個簡單的mysql 優化問題
下一篇:SYBASE資料庫備份和恢復
