Modifying columns that have precision or scale  Adding, dropping, and modifying IDENTITY columns

Chapter 8: Creating Databases and Tables

Modifying text, unitext, and image columns

text columns can be converted to:

unitext columns can be converted to:

image columns can be converted to:

You cannot modify char, varchar, unichar and univarchar datatype columns to text or unitext columns. If you are converting from text or unitext to char, varchar, unichar, or univarchar, the maximum length of the column is governed by page size. If you do not specify a column length, alter table uses the default length of one byte. If you are modifying a multibyte character text, unitext, or image column, and you do not specify a column length that is sufficient to contain the data, Adaptive Server truncates the data to fit the column length.





Copyright © 2005. Sybase Inc. All rights reserved. Adding, dropping, and modifying IDENTITY columns

View this book as PDF