How we create a tables in db2,what is the process/syntax to
create a table with example plz?
Answer Posted / ratheesh nellikal
Answer posted by Dba is correct.
But in real time schenario we should be more specific.
eg:
CREATE TABLE SCHEMA.TABLENAME
(column1 DATATYPE,
column2 DATATYPE,
column3 DATATYPE)
IN tablespace_name
INDEX IN index_tablespace;
so try to follow this syntax (u can have more options with
this command like u can even specify the tablespace name wr
do u want to store ur LONG object 'LONG IN
long_tablespace' )
Cheers,
Ratheesh Nellikal
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the rules for db2 programming?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
When reorg is used?
What is catalog database in db2?
How do I copy a table in db2?
What is the picture clause of null indicator variable?
What is dbrm in db2 database?
What are union and union all?
What is plan in cobol db2?
Define check constraint.
What is difference between isnull and coalesce?
How do I delete a table in db2?
What is the max length of sqlca?
What is the information associated with sysibm.syslinks table?
How to take backup of table in db2?