AllExperts > Oracle 
Search      
Oracle
Volunteer
Answers to thousands of questions
 Home · More Oracle Questions · Answer Library  · Encyclopedia ·
More Oracle Answers
Question Library

Ask a question about Oracle
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Peter Choi
Expertise
I am a senior Oracle DBA, PeopleSoft Administrator and Project Manager with 10+ years experience. I have been working with PeopleSoft (HRMS 5, 7, 7.x and 8.9), Oracle RDBMS (7.3 - 11gR1) on various Unix and Windows platforms, and some Oracle Application Server (9i/10gR2). I also have experience with the configuration and administration of BEA`s Tuxedo and WebLogic for PeopleSoft 8.x.

 
   

You are here:  Experts > Computing/Technology > Oracle > Oracle > Zero Length condition

Oracle - Zero Length condition


Expert: Peter Choi - 6/20/2009

Question
While creating table, there is options like allow null or not, similarly is it possible to implement option like allow zero length or not.If possible,  what is the SQL syntax to implement it. Especially using alter statement for multiple columns.

Thank you.

Answer
Hi Saravanan,

You may wish to consult the Oracle 10gR2 CREATE TABLE reference: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.h...

While there are options for null or not null columns, there is not 0 length or non-zero length option.

For the syntax and allowable parameters using the ALTER TABLE syntax:

http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.h...

Hope this helps.

Peter

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.