Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2007

Tip: Looking for answers? Try searching our database.

news group for DB2 sql language ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jean-Luc M. - 02 Jan 2007 09:34 GMT
Hi and happy new year

I search a news group for DB2 sql language .

(I need to find primary key on a table name and delete it)

Thanks

Jean-Luc !

Signature

Jean-Luc M.

Knut Stolze - 02 Jan 2007 10:59 GMT
> Hi and happy new year
>
> I search a news group for DB2 sql language .

This is the one here...

> (I need to find primary key on a table name and delete it)

Have a look at the SYSCAT.TABCONST catalog view.  It lists all constraints,
including PK, and you can use that to construct the respective ALTER
TABLE ... DROP CONSTRAINT ... statement.

Signature

Knut Stolze
DB2 z/OS Utilities Development
IBM Germany

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.