I have one column with the date format of yyyy-mm-dd
and another with the format of mm/dd/yyyy
. How can I change the second format to look like the first in QMF sql writing?
You can alter your table columns using an SQL command like this. I have specifically changed the column to a date format in the example
ALTER TABLE
'Schema_Name'
.'Table_Name'
CHANGE COLUMN'Column_Name'
'New_Column_Name'
DATE NULL DEFAULT NULL;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.