Click here to Skip to main content
16,013,918 members
Home / Discussions / Database
   

Database

 
GeneralRe: SSRS2005 User interface Pin
BLOEDHOND22-May-07 23:06
BLOEDHOND22-May-07 23:06 
QuestionNew line character in XML? [modified] Pin
chand1021-May-07 23:40
chand1021-May-07 23:40 
AnswerRe: New line character in XML? Pin
kubben22-May-07 3:17
kubben22-May-07 3:17 
QuestionOptimising stored procedure Pin
Pradip Kishore21-May-07 22:07
Pradip Kishore21-May-07 22:07 
AnswerRe: Optimising stored procedure Pin
Expert Coming21-May-07 22:19
Expert Coming21-May-07 22:19 
GeneralRe: Optimising stored procedure Pin
Ch_Shahzad iqbal21-May-07 23:01
Ch_Shahzad iqbal21-May-07 23:01 
QuestionSQL Connection Troubles Pin
BadKarma21-May-07 21:23
BadKarma21-May-07 21:23 
Questionhelp - Delete Relationship Pin
ekynox21-May-07 18:47
ekynox21-May-07 18:47 
Hi there,

Well I am starting to wade into the world of SQL however, I am stuck with a problem. At the moment I have two tables, product table and supplier table. In the product table I have a foreign key called supplierID which is the primary key of the supplier table. Using MS Access I have created a relationship between these two tables graphically, i.e. one to many relationship.

My problem is that I am trying to delete the supplierID column from the product table using queries.My problem is that I am not being allowed to delete the column supplierID from the product table due to an error:
"Cannont delete field 'supplierID'. It is part of one or more relationships".

My deletion query:
ALTER TABLE product DROP COLUMN supplierID

My question is how do i delete the existing relationship between the two tables I had created graphically ?

Any help will be highly appreciated.

thanks

EDIT:
I am interested in finding out how to delete the relationship programmatically Smile | :)
AnswerRe: help - Delete Relationship Pin
Dave Herren22-May-07 10:50
Dave Herren22-May-07 10:50 
GeneralRe: help - Delete Relationship Pin
ekynox22-May-07 13:26
ekynox22-May-07 13:26 
AnswerRe: help - Delete Relationship Pin
ScottM123-May-07 2:46
ScottM123-May-07 2:46 
GeneralRe: help - Delete Relationship Pin
ekynox25-May-07 15:21
ekynox25-May-07 15:21 
QuestionADo.Net Confuse Pin
Amit Kumar G21-May-07 13:20
Amit Kumar G21-May-07 13:20 
AnswerRe: ADo.Net Confuse Pin
Sathesh Sakthivel21-May-07 15:37
Sathesh Sakthivel21-May-07 15:37 
GeneralRe: ADo.Net Confuse Pin
Amit Kumar G21-May-07 16:10
Amit Kumar G21-May-07 16:10 
QuestionSQL and Progress Updates Pin
Expert Coming21-May-07 12:54
Expert Coming21-May-07 12:54 
AnswerRe: SQL and Progress Updates Pin
Dave Kreskowiak21-May-07 13:29
mveDave Kreskowiak21-May-07 13:29 
GeneralRe: SQL and Progress Updates Pin
Expert Coming21-May-07 20:38
Expert Coming21-May-07 20:38 
GeneralRe: SQL and Progress Updates Pin
Dave Kreskowiak22-May-07 12:01
mveDave Kreskowiak22-May-07 12:01 
GeneralRe: SQL and Progress Updates Pin
Expert Coming22-May-07 20:02
Expert Coming22-May-07 20:02 
GeneralRe: SQL and Progress Updates Pin
Dave Kreskowiak23-May-07 15:39
mveDave Kreskowiak23-May-07 15:39 
QuestionCalling SQL updates from Command Prompt Pin
Pualee21-May-07 11:41
Pualee21-May-07 11:41 
AnswerRe: Calling SQL updates from Command Prompt Pin
mr_lasseter22-May-07 7:18
mr_lasseter22-May-07 7:18 
GeneralRe: Calling SQL updates from Command Prompt Pin
Pualee23-May-07 2:37
Pualee23-May-07 2:37 
QuestionHow to add a table to a database of an SQLServer (in C#) Pin
Leia201121-May-07 4:27
Leia201121-May-07 4:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.