Click here to Skip to main content
15,920,836 members
Home / Discussions / Database
   

Database

 
Generalvery urgent - pls help: sql server data screwed Pin
matthias s.9-Aug-04 4:07
matthias s.9-Aug-04 4:07 
GeneralRe: very urgent - pls help: sql server data screwed Pin
Bill Dean9-Aug-04 5:56
Bill Dean9-Aug-04 5:56 
GeneralRe: very urgent - pls help: sql server data screwed Pin
matthias s.9-Aug-04 13:39
matthias s.9-Aug-04 13:39 
GeneralRe: very urgent - pls help: sql server data screwed Pin
Colin Angus Mackay9-Aug-04 6:11
Colin Angus Mackay9-Aug-04 6:11 
GeneralRe: very urgent - pls help: sql server data screwed [addendum] Pin
Colin Angus Mackay9-Aug-04 6:17
Colin Angus Mackay9-Aug-04 6:17 
GeneralRe: very urgent - pls help: sql server data screwed [addendum] Pin
matthias s.9-Aug-04 13:42
matthias s.9-Aug-04 13:42 
GeneralFOR XML EXPLICIT Pin
Anonymous9-Aug-04 3:17
Anonymous9-Aug-04 3:17 
GeneralNormalization question Pin
Roger Alsing8-Aug-04 20:23
Roger Alsing8-Aug-04 20:23 
Hi , i have a small normalization problem.

imagine this:

table User
table City
table Country

each user can be related to a city , and each city can be related to a country

(NOTE: my real problem does not invlove neither users or regions this is just a exampel)

now to the problem.

an User MUST always have a country , but he may or may not have a city assigned
(incase the registration is incomplete... again , note the real world problem invloves products and different categories)

it might be easy to say "why do you want to use something that hasnt been registered 100%"
well.... i have no idea , this is just the way they work here, we sell products even if they havnt been completely registered..


so what would be the correct way to normalize such problem?
should user also relate to country , even though it makes it possible to relate the user to "hungary" and relate the same user to the city "london" , which in turn relates to "england".

OR

should i insert an "empty" element in the city table for each country.

so i can relate the user to an empty element that in turn relates to the correct country?

OR

is there any other "correct" way of doing this???

GeneralRe: Normalization question Pin
slvrscremr9-Aug-04 3:31
slvrscremr9-Aug-04 3:31 
GeneralRe: Normalization question Pin
Roger Alsing9-Aug-04 3:32
Roger Alsing9-Aug-04 3:32 
GeneralRe: Normalization question Pin
slvrscremr9-Aug-04 3:57
slvrscremr9-Aug-04 3:57 
GeneralRe: Normalization question Pin
slvrscremr9-Aug-04 4:09
slvrscremr9-Aug-04 4:09 
GeneralRe: Normalization question Pin
Steven Campbell9-Aug-04 10:26
Steven Campbell9-Aug-04 10:26 
GeneralThreads in stored procedures Pin
Member 2866418-Aug-04 19:54
Member 2866418-Aug-04 19:54 
QuestionOptimezed use ADO.Net? Pin
rbarzallo7-Aug-04 6:58
rbarzallo7-Aug-04 6:58 
AnswerRe: Optimezed use ADO.Net? Pin
slvrscremr9-Aug-04 3:23
slvrscremr9-Aug-04 3:23 
GeneralORACLE / ADO .NET: TNS: Packet Writer Failure in parameterized query Pin
slvrscremr6-Aug-04 8:18
slvrscremr6-Aug-04 8:18 
GeneralMultiple Excel files Pin
janigorse6-Aug-04 7:58
janigorse6-Aug-04 7:58 
GeneralRe: Multiple Excel files Pin
Anonymous16-Aug-04 20:26
Anonymous16-Aug-04 20:26 
Generalbackup access database Pin
sungsunpark6-Aug-04 5:47
sungsunpark6-Aug-04 5:47 
GeneralRe: backup access database Pin
RichardGrimmer12-Aug-04 1:32
RichardGrimmer12-Aug-04 1:32 
GeneralSearching problem (serious!) Pin
RoyRose786-Aug-04 1:03
RoyRose786-Aug-04 1:03 
GeneralRe: Searching problem (serious!) Pin
Michael Potter6-Aug-04 4:21
Michael Potter6-Aug-04 4:21 
GeneralRe: Searching problem (serious!) Pin
RoyRose786-Aug-04 4:57
RoyRose786-Aug-04 4:57 
GeneralMultiple Conditionals Pin
Peter86753095-Aug-04 8:43
Peter86753095-Aug-04 8:43 

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.