![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I finished all the merging and inserting of the database I have been working on and made a copy of the final and a backup anyway I was trying compare from redcraft I found this comparing the empty database I started with and the final. ALTER TABLE [dbo].[QuestionnaireData] ADD CONSTRAINT [FK_QuestionnaireData_ClientID] FOREIGN KEY ([ClientID]) REFERENCES [dbo].[Client] ([ClientID]) ALTER TABLE [dbo].[QuestionnaireData] ADD CONSTRAINT [QuestionnaireData_ClientID_FK] FOREIGN KEY ([ClientID]) REFERENCES [dbo].[Client] ([ClientID]) I don't know much about this but why is FK at the start of the statement in the original FK_QuestionnaireData_ClientID and at the end in the final QuestionnaireData_ClientID_FK |
#3
| |||
| |||
|
|
I don't know much about this but why is FK at the start of the statement in the original FK_QuestionnaireData_ClientID and at the end in the final QuestionnaireData_ClientID_FK |
#4
| |||
| |||
|
|
On Thu, 05 Apr 2012 08:48:01 -0500, sparks <sparks (AT) home (DOT) com> wrote: [snip] I don't know much about this but why is FK at the start of the statement in the original FK_QuestionnaireData_ClientID and at the end in the final QuestionnaireData_ClientID_FK It is simply a different naming convention. I tend to go with the first style of categorising at the beginning myself. Sincerely, Gene Wirchenko |
#5
| |||
| |||
|
|
Thank you for that. the compare showed they didn't match. and that was the only difference between the two. I could not fngure out how copying the database would generate that difference. |
#6
| |||
| |||
|
|
I could not fngure out how copying the database would generate that difference. |
#7
| |||
| |||
|
|
sparks (sparks (AT) home (DOT) com) writes: I could not fngure out how copying the database would generate that difference. Corruption can always occur - but no that difference is not due to corruption, but it is due to intervention by human hands - may be you? |
#8
| |||
| |||
|
|
can you tell me what was done by human hands to generate the difference? |
#9
| |||
| |||
|
|
sparks (sparks (AT) home (DOT) com) writes: can you tell me what was done by human hands to generate the difference? You mean that I from a distance should say exactly what you did to achieve the duplicate constraints? All I can say is that someone(s) used different name for the same constraint at different points in time. |
![]() |
| Thread Tools | |
| Display Modes | |
| |