Hi, all.
I'm coding a DDL procedure to change some of the tables and some relationships of a existing database. To the primary key on one of the tables, I have to remove the relationship associated with it first. I'm trying to use the "ALTER TABLE <tablename> DROP CONSTRAINT <indexname>" to get rid of the relationship. But since the relationship was created manually using MS Access, I don't know what the indexname is. Is there a way to find out the indexname? Or is there another way to do this whole thing? PLEASE HELP ME!!!
Thanks a lot.
I'm coding a DDL procedure to change some of the tables and some relationships of a existing database. To the primary key on one of the tables, I have to remove the relationship associated with it first. I'm trying to use the "ALTER TABLE <tablename> DROP CONSTRAINT <indexname>" to get rid of the relationship. But since the relationship was created manually using MS Access, I don't know what the indexname is. Is there a way to find out the indexname? Or is there another way to do this whole thing? PLEASE HELP ME!!!
Thanks a lot.