View previous topic :: View next topic
|
Author |
Message |
hibuddies Warnings : 1 New User
Joined: 06 Feb 2007 Posts: 20 Location: Bangalore
|
|
|
|
Hi all,
Anyone please let me know
1. How to delete a particular column in DB2 from a table.
2. How to change the size of defined field in the table.
Thanks in advance. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
hibuddies wrote: |
Hi all,
Anyone please let me know
1. How to delete a particular column in DB2 from a table.
2. How to change the size of defined field in the table.
Thanks in advance. |
1. Drop the table and redefine it.
2. In most cases drop the table and redefine it. Look at the alter table command in the SQL Reference. |
|
Back to top |
|
|
hibuddies Warnings : 1 New User
Joined: 06 Feb 2007 Posts: 20 Location: Bangalore
|
|
|
|
Hi..
Ya i tried ALTER command with MODIFY option but it doesnt support in DB2. Is there any other way to implement this task? If so please let me know.
Thanks. |
|
Back to top |
|
|
|