Click here to Skip to main content
15,895,011 members
Home / Discussions / Database
   

Database

 
AnswerRe: Query still returning NOT EQUAL Fields Pin
Wendelius9-Feb-09 18:24
mentorWendelius9-Feb-09 18:24 
GeneralRe: Query still returning NOT EQUAL Fields Pin
Sunset Towers9-Feb-09 18:58
Sunset Towers9-Feb-09 18:58 
GeneralRe: Query still returning NOT EQUAL Fields Pin
Wendelius9-Feb-09 20:13
mentorWendelius9-Feb-09 20:13 
QuestionAllocation! Pin
Learner5209-Feb-09 12:40
Learner5209-Feb-09 12:40 
QuestionSQL Foreign Key Issue Pin
Harvey Saayman9-Feb-09 10:02
Harvey Saayman9-Feb-09 10:02 
AnswerRe: SQL Foreign Key Issue Pin
Wendelius9-Feb-09 18:14
mentorWendelius9-Feb-09 18:14 
GeneralRe: SQL Foreign Key Issue Pin
Harvey Saayman9-Feb-09 19:34
Harvey Saayman9-Feb-09 19:34 
GeneralRe: SQL Foreign Key Issue Pin
Wendelius9-Feb-09 20:18
mentorWendelius9-Feb-09 20:18 
Harvey Saayman wrote:
They changed SQL's syntax in


Don't know if the syntax you used worked in previous versions. The one I used is actually ANSI syntax so SQL specific syntaxes me be dropped.

Harvey Saayman wrote:
There's no specific reason, I'm just used to doing it like that.


If you may, I'd suggest that you would use only the identity column as primary key. This will ease yuor dml operations as well as queries (you don't have to use two fields in statements and the primary key index will be more efficient.

Also if you use foreign keys to refer to House, you would only have to use HouseID. This would be benefitial to all foreign keys and especially CASCADE operations.

Harvey Saayman wrote:
I'll let you know how it goes


That would be nice.

Harvey Saayman wrote:
Thanks for the help Mika


No problem Smile | :)

The need to optimize rises from a bad design.My articles[^]

GeneralRe: SQL Foreign Key Issue Pin
Harvey Saayman9-Feb-09 20:32
Harvey Saayman9-Feb-09 20:32 
GeneralRe: SQL Foreign Key Issue Pin
Wendelius9-Feb-09 21:31
mentorWendelius9-Feb-09 21:31 
QuestionWhat is the best way to store scripts? Pin
redjoy9-Feb-09 9:32
redjoy9-Feb-09 9:32 
Questionspecial characters in sqlite? Pin
mirko869-Feb-09 8:08
mirko869-Feb-09 8:08 
AnswerRe: special characters in sqlite? Pin
Wendelius9-Feb-09 8:11
mentorWendelius9-Feb-09 8:11 
GeneralRe: special characters in sqlite? Pin
mirko8610-Feb-09 7:11
mirko8610-Feb-09 7:11 
GeneralRe: special characters in sqlite? Pin
Wendelius10-Feb-09 8:15
mentorWendelius10-Feb-09 8:15 
QuestionExecution Order Pin
mehrdadc489-Feb-09 1:17
mehrdadc489-Feb-09 1:17 
AnswerRe: Execution Order Pin
Rupesh Kumar Swami9-Feb-09 1:37
Rupesh Kumar Swami9-Feb-09 1:37 
AnswerRe: Execution Order Pin
Ennis Ray Lynch, Jr.9-Feb-09 7:17
Ennis Ray Lynch, Jr.9-Feb-09 7:17 
AnswerRe: Execution Order Pin
Ashfield10-Feb-09 1:46
Ashfield10-Feb-09 1:46 
QuestionMicrosoft Sql Server Problem Pin
snouto9-Feb-09 0:58
snouto9-Feb-09 0:58 
AnswerRe: Microsoft Sql Server Problem Pin
Ashfield9-Feb-09 1:18
Ashfield9-Feb-09 1:18 
QuestionMulticolumn Listboxes in Ms-ACCESS [modified] Pin
ketan bader9-Feb-09 0:31
ketan bader9-Feb-09 0:31 
AnswerRe: Multicolumn Listboxes in Ms-ACCESS Pin
Muhammad Shahid Farooq9-Feb-09 1:15
professionalMuhammad Shahid Farooq9-Feb-09 1:15 
QuestionLeft Right Table Pin
mehrdadc488-Feb-09 22:45
mehrdadc488-Feb-09 22:45 
AnswerRe: Left Right Table Pin
Rupesh Kumar Swami8-Feb-09 23:08
Rupesh Kumar Swami8-Feb-09 23:08 

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.