postgresql字符串类型转为int,bigint类型

ALTER TABLE position ALTER COLUMN f4
SET DATA TYPE BIGINT USING f4 :: BIGINT

其中positon为表明,f4为列名

猜你喜欢

转载自blog.csdn.net/A873054267/article/details/83268885
今日推荐