RE: Drop constraint in DB2

RE: Drop constraint in DB2

 

  

Correction
I for got to give DROP :)))




Db2 alter table <table_name> drop constraint <constarint_name>


Thanks and Regards,
Vishnu Vardan G.
Project Engineer , Wipro Technologies
Bengaluru,India.
>*:vishnuvardan.[Email address protected]
>*: 9740149105
>P Please don't print this e-mail unless you really need to. Save a
Tree.
"It was love at first sight. Then I took a second look!!!!!"


-----Original Message-----
From: vishnuvardan
[mailto:db2udbdba-ezmlmshield-x54338506.[Email address protected]
Sent: Tuesday, March 11, 2008 2:27 PM
To: LazyDBA Discussion
Subject: RE: Drop constraint in DB2


Raghavan,

You can do it by the alter table command

The command is

Db2 alter table <table_name> constraint <constarint_name>

Cheers,
Vishnu.



Thanks and Regards,
Vishnu Vardan G.
Project Engineer , Wipro Technologies
Bengaluru,India.
>*:vishnuvardan.[Email address protected]
>*: 9740149105
>P Please don't print this e-mail unless you really need to. Save a
Tree.
"It was love at first sight. Then I took a second look!!!!!"


-----Original Message-----
From: Raghavan Sini
[mailto:db2udbdba-ezmlmshield-x39877883.[Email address protected]
Sent: Tuesday, March 11, 2008 2:22 PM
To: LazyDBA Discussion
Subject: Drop constraint in DB2

Hi All,



Can anyone tell me how to drop a constraint of a column for a table in
DB2?



Can I a have query for this?





Thanks & Regards,

Sini.





---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com



---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


DB2 & UDB email list listserv db2-l LazyDBA home page