9951 explained code solutions for 126 technologies


clickhouseHow to change column type


ALTER TABLE test MODIFY COLUMN col_name UInt64ctrl + c
ALTER TABLE

change specified table

test

name of the table to change column in

MODIFY COLUMN

modify type of the specified column

col_name

name of the column to change type for

UInt64

new type of the column