Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / Table
 

All columns as primary key

SQL> SQL> create table keywords   2  ( word  varchar2(50),   3    position   int,   4    doc_id int,   5    primary key(word,position,doc_id)   6  ); Table created. SQL> SQL> drop table keywords; Table dropped.