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 is database alias db2?
What is coalesce in db2?
Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.
What is cursor in dbms?
What is the difference between nvl and coalesce?
What do you mean by rollback?
Is db2 a programming language?
What are the different types of base tables?
Why do chiropractors use drop table?
What is a db2 collection?
What is check constraint. Explain with example.
have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.
What is commit in db2?
How to find schema of a table in db2?
Differentiate between cs and rr isolation levels? Where do you specify them?