If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > What is the maximum precision and scale supported by Different databases.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-04, 11:52
sameerpawar sameerpawar is offline
Registered User
 
Join Date: Nov 2004
Posts: 3
What is the maximum precision and scale supported by Different databases.

Hi All!
I am developing some generic application for which I want to know, what is the precision and scale suppoted by different databases for numeric type. I know that, for Oracle in number(precision, scale),
precision is in the range of 1 to 38 and scale is in the range of -84 to 127.

I need the same information for following databases, mainly first 6

DB2
Informix
Sybase
MySQL
HSQL
Acces

Adabas
Pervasive.SQL
Postgre SQL
Ingress
Interbase
McKoi SQL
NoArg SQL
Pointbase
SAP DB
Firebird
Frontbase
Reply With Quote
  #2 (permalink)  
Old 11-02-04, 12:27
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by sameerpawar
for Oracle in number(precision, scale),
precision is in the range of 1 to 38 and scale is in the range of -84 to 127.
Are you sure about that scale thing?
Reply With Quote
  #3 (permalink)  
Old 11-02-04, 12:30
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Information about DB2 data types can be found here:

ftp://ftp.software.ibm.com/ps/produc...S/db2s1e81.pdf
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On