Click here to Skip to main content
15,887,746 members
Home / Discussions / Database
   

Database

 
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 
GeneralRe: Need some help with deleting process Pin
razov12-Sep-08 0:50
razov12-Sep-08 0:50 
AnswerRe: Need some help with deleting process Pin
nelsonpaixao12-Sep-08 14:36
nelsonpaixao12-Sep-08 14:36 
QuestionHow to get the first and last record in every group? Pin
followait11-Sep-08 20:18
followait11-Sep-08 20:18 
AnswerRe: How to get the first and last record in every group? Pin
Blue_Boy11-Sep-08 20:43
Blue_Boy11-Sep-08 20:43 
GeneralRe: How to get the first and last record in every group? Pin
followait11-Sep-08 21:53
followait11-Sep-08 21:53 
GeneralRe: How to get the first and last record in every group? Pin
Blue_Boy11-Sep-08 22:17
Blue_Boy11-Sep-08 22:17 
GeneralRe: How to get the first and last record in every group? Pin
followait12-Sep-08 6:15
followait12-Sep-08 6:15 
GeneralRe: How to get the first and last record in every group? Pin
followait12-Sep-08 17:20
followait12-Sep-08 17:20 
QuestionNested Stored Procedure Pin
jonhbt11-Sep-08 19:51
jonhbt11-Sep-08 19:51 
AnswerRe: Nested Stored Procedure Pin
Ashfield11-Sep-08 20:55
Ashfield11-Sep-08 20:55 
AnswerRe: Nested Stored Procedure Pin
Mycroft Holmes11-Sep-08 20:58
professionalMycroft Holmes11-Sep-08 20:58 
GeneralRe: Nested Stored Procedure Pin
Venkat Eswaran12-Sep-08 7:02
Venkat Eswaran12-Sep-08 7:02 
GeneralRe: Nested Stored Procedure Pin
Mycroft Holmes12-Sep-08 12:47
professionalMycroft Holmes12-Sep-08 12:47 
QuestionProblem while importing data to Microsoft Sql Server 2005 from .csv file Pin
a_b11111-Sep-08 19:15
a_b11111-Sep-08 19:15 

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.