f.a*_*uri 139 postgresql
我想在PostgreSQL中删除我的表中的200列.我试过了:
ALTER TABLE my_table
DROP COLUMN col1, col2
Run Code Online (Sandbox Code Playgroud)
但我收到这样的错误:
错误:"col2"或附近的语法错误
lon*_*ong 261
检查一下:
ALTER TABLE table DROP COLUMN col1, DROP COLUMN col2;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
71081 次 |
| 最近记录: |