Click here to Skip to main content
15,897,371 members
Home / Discussions / Database
   

Database

 
GeneralRe: Dupicate Pin
Bassam Saoud13-Sep-08 11:51
Bassam Saoud13-Sep-08 11:51 
GeneralRe: Dupicate Pin
Eslam Afifi13-Sep-08 12:54
Eslam Afifi13-Sep-08 12:54 
QuestionMore advice on a slighltly more complex select statement Pin
Steven J Jowett12-Sep-08 3:40
Steven J Jowett12-Sep-08 3:40 
AnswerRe: More advice on a slighltly more complex select statement Pin
Ashfield12-Sep-08 4:23
Ashfield12-Sep-08 4:23 
GeneralRe: More advice on a slighltly more complex select statement Pin
Steven J Jowett12-Sep-08 4:45
Steven J Jowett12-Sep-08 4:45 
GeneralRe: More advice on a slighltly more complex select statement Pin
Ashfield12-Sep-08 8:34
Ashfield12-Sep-08 8:34 
QuestionSQL Linked Server/Web Service Question Pin
dhbaer12-Sep-08 3:40
dhbaer12-Sep-08 3:40 
AnswerRe: SQL Linked Server/Web Service Question Pin
Steven J Jowett12-Sep-08 4:05
Steven J Jowett12-Sep-08 4:05 
QuestionAdvice on Select query please Pin
Steven J Jowett12-Sep-08 0:32
Steven J Jowett12-Sep-08 0:32 
AnswerRe: Advice on Select query please Pin
dojohansen12-Sep-08 1:17
dojohansen12-Sep-08 1:17 
AnswerRe: Advice on Select query please Pin
Ashfield12-Sep-08 1:39
Ashfield12-Sep-08 1:39 
GeneralRe: Advice on Select query please Pin
Steven J Jowett12-Sep-08 2:18
Steven J Jowett12-Sep-08 2:18 
GeneralRe: Advice on Select query please Pin
Ashfield12-Sep-08 4:16
Ashfield12-Sep-08 4:16 
QuestionSelect Exact Day Pin
Agweet11-Sep-08 22:16
Agweet11-Sep-08 22:16 
AnswerRe: Select Exact Day Pin
dojohansen12-Sep-08 1:21
dojohansen12-Sep-08 1:21 
GeneralRe: Select Exact Day Pin
Agweet12-Sep-08 1:59
Agweet12-Sep-08 1:59 
QuestionNeed some help with deleting process Pin
MarkB77711-Sep-08 22:15
MarkB77711-Sep-08 22:15 
AnswerRe: Need some help with deleting process Pin
Blue_Boy11-Sep-08 22:22
Blue_Boy11-Sep-08 22:22 
GeneralRe: Need some help with deleting process Pin
MarkB77711-Sep-08 23:17
MarkB77711-Sep-08 23:17 
GeneralRe: Need some help with deleting process Pin
Blue_Boy11-Sep-08 23:42
Blue_Boy11-Sep-08 23:42 
GeneralRe: Need some help with deleting process Pin
dojohansen12-Sep-08 1:31
dojohansen12-Sep-08 1:31 
AnswerRe: Need some help with deleting process Pin
razov12-Sep-08 0:11
razov12-Sep-08 0:11 
Hi,

If you are deleting row from a table which has primary key referenced to other table as foreign key,
Solution 1 - you will have to delete foreign key occurence of the data first and then delete primary key occurence or you'll get reference error which I think you are facing currently,
Solution 2 - uou can force referential integrity between relations this will delete all forieign occurences on deletion of primary key but this solution is not recommended.

Note: Truncate will delete all the record of your table and I'm not sure this will solve your problem anyways becuse truncate operation also will give referential error.

hope this solves your problem

Bi
GeneralRe: Need some help with deleting process Pin
MarkB77712-Sep-08 0:17
MarkB77712-Sep-08 0:17 
GeneralRe: Need some help with deleting process Pin
razov12-Sep-08 0:37
razov12-Sep-08 0:37 
GeneralRe: Need some help with deleting process Pin
MarkB77712-Sep-08 0:44
MarkB77712-Sep-08 0:44 

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.