Using text data  Char/Varchar/Text datatypes and getByte( )

Chapter 2: Programming Information

Using Date and Time datatypes

Adaptive Server versions 12.5.1 and later offer support for the SQL date and time datatypes. Previously, Adaptive Server offered only support for the datetime and smalldatetime datatypes. These datatypes were limited for the following reasons:

The addition of the date and time datatypes provides the following advantages:

The date and time datatypes can be used only with jConnect 5.5 and later. To use them, a jConnect client must set the driver version to 6. To do so, the client can use the SybDriver.setVersion() method, or use the JCONNECT_VERSION connection property.


Implementation notes





Copyright © 2003. Sybase Inc. All rights reserved. Char/Varchar/Text datatypes and getByte( )

View this book as PDF