GeeCON Prague 2014*
The moose likes JDBC and the fly likes java sql TYPE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "java sql TYPE" Watch "java sql TYPE" New topic
Author

java sql TYPE

mark I thomas
Ranch Hand

Joined: Apr 07, 2008
Posts: 86
I am using MS SQL Server. I know java.sql.Types has different data type. How do I find the mapping relation between this and SQL server data type ? For example, SQL server has more data type like "smallint", "int", "date", "datetime", "smalldatetime". What's their corresponding Type in java.sql.Type ?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

http://msdn.microsoft.com/library/ms378599.aspx


[My Blog]
All roads lead to JavaRanch
 
GeeCON Prague 2014
 
subject: java sql TYPE