IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we drop a column from a table?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vijaynedunuri
Warnings : 1

New User


Joined: 11 Jun 2006
Posts: 10

PostPosted: Tue Jul 04, 2006 11:47 pm
Reply with quote

Hai i had the qeury like this

--CREATE TABLE EMP
-- (EMPNO CHAR(5) NOT NULL,
-- EMPNAME CHAR(20) NOT NULL,
-- DDMMYYYY NUMERIC NOT NULL,
-- EMPSAL SMALLINT NOT NULL)
--IN SSSADMDB.SSSADMTS;

I want to drop ddmmyyyy ? how is it possible?
Back to top
View user's profile Send private message
kondakonda

New User


Joined: 20 Mar 2006
Posts: 34

PostPosted: Wed Jul 05, 2006 11:46 am
Reply with quote

Hi,

We cannot drop a column in DB2.
If it should be done then we have to drop the table and recreate with necessary columns.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Unload and Load ISPF Table TSO/ISPF 4
Search our Forums:


Back to Top