GET ADMISSION in any stream CONTACT :: Mr. JAYDEEP MEHTA :: CONTACT NO :: 9228217183
Get & share knowledge with us... Be a part of GTU-MATERIAL. send study Material at gtumca1@gmail.com with your Name - College name...
Showing posts with label CHAR Datatype. Show all posts
Showing posts with label CHAR Datatype. Show all posts

Wednesday, December 15, 2010

CHAR Datatype

The CHAR datatype stores fixed-length character strings. When you create a table with a CHAR column, you must specify a string length (in bytes or characters) between 1 and 2000 bytes for the CHAR column width. The default is 1 byte. Oracle then guarantees that:
·         When you insert or update a row in the table, the value for the CHAR column has the fixed length.
·         If you give a shorter value, then the value is blank-padded to the fixed length.
·         If a value is too large, Oracle Database returns an error.
Oracle Database compares CHAR values using blank-padded comparison semantics.

Twitter Delicious Facebook Digg Stumbleupon Favorites More