In MySQL, you can easily do it.

來源: 竹杉林 2009-04-27 12:28:25 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (64 bytes)
ALTER TABLE table1
ADD columnx VARCHAR(100)
AFTER column2;

所有跟帖: 

oh, I love it. But t-sql doesn't support the key "after" ..:) -戲雨飛鷹- 給 戲雨飛鷹 發送悄悄話 戲雨飛鷹 的博客首頁 (0 bytes) () 04/27/2009 postreply 12:38:32

then I don't know. -竹杉林- 給 竹杉林 發送悄悄話 竹杉林 的博客首頁 (0 bytes) () 04/27/2009 postreply 12:51:33

Don't you hint t-sql supports the key "before"? haha. -竹杉林- 給 竹杉林 發送悄悄話 竹杉林 的博客首頁 (0 bytes) () 04/27/2009 postreply 12:52:42

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”