Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql alter column

Changes the data type of a table’s column.
Example: In the ‘users’ table, make the column ‘incept_date’ into a
‘datetime’ type.
ALTER TABLE users
ALTER COLUMN incept_date datetime;
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #sql #alter #column
ADD COMMENT
Topic
Name
5+2 =