Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql change column type string to uuid

ALTER TABLE packages ALTER COLUMN package_id TYPE uuid USING package_id::uuid;
Source by varunver.wordpress.com #
 
PREVIOUS NEXT
Tagged: #postgresql #change #column #type #string #uuid
ADD COMMENT
Topic
Name
4+2 =