SQL> create table catdetail(catid varchar(9),catname varchar(9),papername varcha r(9), 2 noofqu number(5),durarion number(3,2),examfare

number(6,4)) 3 ; Table created. SQL> desc catdetail Name Null? Type ----------------------------------------- -------- ---------------------------CATID CATNAME PAPERNAME NOOFQU DURARION EXAMFARE VARCHAR2(9) VARCHAR2(9) VARCHAR2(9) NUMBER(5) NUMBER(3,2) NUMBER(6,4)

SQL> craete table qudetail(catid varchar(9),quno number(5),qudiscription varchar (9),ch1 varchar(5),ch2 varchar(5),ch3 varchar(5),ch4 varchar(5),ans number(3)); SP2-0734: unknown command beginning "craete tab..." - rest of line ignored. SQL> create table qudetail(catid varchar(9),quno number(5),qudiscription varcha r(9),ch1 varchar(5),ch2 varchar(5),ch3 varchar(5),ch4 varchar(5),ans number(3)); Table created. SQL> user qudetail SP2-0734: unknown command beginning "user qudet..." - rest of line ignored. SQL> desc qudetail Name Null? Type ----------------------------------------- -------- ---------------------------CATID QUNO QUDISCRIPTION CH1 CH2 CH3 CH4 ANS SQL> 2 3 4 5 6 create sequence a increment by 1 start with 1 maxvalue 9999 nocache nocycle ; VARCHAR2(9) NUMBER(5) VARCHAR2(9) VARCHAR2(5) VARCHAR2(5) VARCHAR2(5) VARCHAR2(5) NUMBER(3)

Sequence created. ////////////// create table qudetail1(catid varchar(9),quno number(5),qudiscription clob,ch1 cl ob,ch2 clob,ch3 clob,ch4 clob,ans clob) /

Sign up to vote on this title
UsefulNot useful