Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: char is going away?
Dennis,
According to my copy of 'A Guide To SQL Standard (Author: C. J. Date), 4th ed, pp292, section 19.4"
CHARACTER(n) - fixed length string of exactly n characters (n > 0) VARYING(n) - varying length string of up to n characters (n > 0)
So, I guess it is.
Raj
-----Original Message-----
Sent: Wednesday, December 10, 2003 11:49 AM
To: Multiple recipients of list ORACLE-L
Jonathan
My understanding is that VARCHAR2 is not even a SQL standard, and some databases don't handle VARCHAR very efficiently, so if you are trying to sell a product that can adapt to several databases besides Oracle, you might stick to CHAR.
If your application is COBOL-based, using CHAR simplifies things quite a bit. Especially if you sell your application to many sites that want to use Oracle underneath but don't have an Oracle DBA, at least not initially. Yeah it wastes a bit of disk space.
Dennis Williams
DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
**************************************************************************************4
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Dec 10 2003 - 11:09:25 CST