dbTalk Databases Forums  

Standard ISO/IEC SQL byte type?

comp.databases.postgresql comp.databases.postgresql


Discuss Standard ISO/IEC SQL byte type? in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karsten Wutzke
 
Posts: n/a

Default Standard ISO/IEC SQL byte type? - 04-22-2009 , 05:47 PM






Hello all,

I've read several sources including

http://www.postgresql.org/docs/8.3/s...e-numeric.html

There doesn't really seem to be a byte type in standard SQL. Is this
true? Note I'm looking for a general discussion, not a PostgrSQL
solution.

Karsten

Reply With Quote
  #2  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: Standard ISO/IEC SQL byte type? - 05-05-2009 , 03:23 AM






Karsten Wutzke wrote:
Quote:
I've read several sources including

http://www.postgresql.org/docs/8.3/s...e-numeric.html

There doesn't really seem to be a byte type in standard SQL. Is this
true? Note I'm looking for a general discussion, not a PostgrSQL
solution.
The page you quoted does not seem to assert anything like that,
or have I missed something?

Anyway, I looked up in the SQL Standard, and ISO/IEC 9075 Part 2
says in chapter 4.4.1:

A numeric type is described by a numeric type descriptor.
A numeric type descriptor contains:
- The name of the specific numeric type (NUMERIC, DECIMAL, SMALLINT,
INTEGER, BIGINT, FLOAT, REAL, or DOUBLE PRECISION).
[...]

So the answer to your question is "yes".

Yours,
Laurenz Albe




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.