Decreasing column length may truncate data  Modifying the NULL default value of a column

Chapter 8: Creating Databases and Tables

Modifying datetime columns

If you modify a column from a char datatype to datetime, smalldatetime or date, you cannot specify the order that the month, day, and year appear in the output. Nor can you specify the language used in the output. Instead, both of these settings are given a default value. However, you can use set dateformat or set language to alter the output to match the setting of the information stored in the column. Also, Adaptive Server does not support modifying a column from smalldatetime to char datatype. See the Reference Manual for more information.





Copyright © 2005. Sybase Inc. All rights reserved. Modifying the NULL default value of a column

View this book as PDF