This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes SQL Data Types Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "SQL Data Types" Watch "SQL Data Types" New topic

SQL Data Types

Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear all,

How r u all?

In the pacjage java.sql. There is a class called Types which through it you can check the type of the datatype for certain cloumn in the ResultSet.

But i don't find those datatpyes(nchar,ntext,nvarchar).

So please advice which datatypes i can use instead.

Best regards


Abed Rabie
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

I would guess: String, String and - hmmm... difficult. String?
subject: SQL Data Types