What is ALTER ?
Answers were Sorted based on User's Feedback
Answer / s
ALTER is a DDL (data definition language) statement to make
changes to the description of the table.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / om yadav
modify the structer of table.
1. add column.
2. midify column.
3. drop column.
4. add or remove constraint.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jitendra
ALter is to change db2 table definition. for eg:
Alter tablename
add column number(11,2)
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the FREE command?
Mention data types used in db2 ?
what is the use of commit ? and what is the syntax?
What if , we failed to mentioed null indicator in sql select query , that may retrieve null value ?
can we update the table by using cursors can anyone post the query?
My SQL is not performing well. Describe how will you fine tune it?
how many partitions are possible in partitioned tablespace? dont say 1-64. a)240 b)256 c)512 d)none
Shall i use this query to retrieve first 4 records, Select empno, sal from emptbl where empno < 5. like this can we fetch first 100 records?
if i made sme changes in sub pgm wht r the things to be done for this ?
What is the result of open cursor statement?
How to check last update on table in db2?
Hi , I am posting some interview ques . what is the use of cursors ? what is the diff between select and cursor ? bith are used for data retrival .. rite?