Modifying columns  Modifying tables may prevent successful bulk copy of previous dump

Chapter 8: Creating Databases and Tables

Which datatypes can I convert?

You can convert only datatypes that are either implicitly or explicitly convertible to the new datatype, or if there is an explicit conversion function in Transact-SQL. See the Reference Manual for a list of the supported datatype conversions. If you attempt an illegal datatype modification, Adaptive Server raises an error message and the operation is aborted.

NoteYou cannot convert an existing column datatype to the timestamp datatype, nor can you modify a column that uses the timestamp datatype to any other datatype.

If you issue the same alter table...modify command more than once, Adaptive Server issues a message similar to this:

Warning: ALTER TABLE operation did not affect column ‘au_lname’.
Msg 13905, Level 16, State 1:
Server ‘SYBASE1’, Line 1:
Warning: no columns to drop, add or modify. ALTER TABLE ‘authors’ was aborted.




Copyright © 2005. Sybase Inc. All rights reserved. Modifying tables may prevent successful bulk copy of previous dump

View this book as PDF