Click here to Skip to main content
15,886,724 members
Home / Discussions / Database
   

Database

 
QuestionHelp in writting query Pin
Saiyed Alam27-Jun-08 22:20
Saiyed Alam27-Jun-08 22:20 
AnswerRe: Help in writting query Pin
subai28-Jun-08 20:17
subai28-Jun-08 20:17 
AnswerRe: Help in writting query Pin
Mycroft Holmes28-Jun-08 21:54
professionalMycroft Holmes28-Jun-08 21:54 
GeneralRe: Help in writting query Pin
Kjetil Svendsen1-Jul-08 10:44
Kjetil Svendsen1-Jul-08 10:44 
QuestionSQL Reporting 2005 (SSRS) Matrix Subtotal Color condition Pin
Member 384432027-Jun-08 10:59
Member 384432027-Jun-08 10:59 
QuestionDatabase logic... Pin
KORCARI27-Jun-08 5:10
KORCARI27-Jun-08 5:10 
AnswerRe: Database logic... Pin
Kschuler27-Jun-08 7:18
Kschuler27-Jun-08 7:18 
AnswerRe: Database logic... Pin
Mark Churchill27-Jun-08 17:01
Mark Churchill27-Jun-08 17:01 
Depending on your domain model you could approach this as a reference, or an inheritance relationship. Pick the most appropriate.

Reference is say pulling out "Address1, Address2, Address3" into a Address table, and have Customer.Address, Supplier.Address -> Address.ID with a fk relationship.

Inheritance is where you take out the Address1-3 columns into a Person table, and have Customer.Id -> Person.ID, and Supplier.ID -> Person.ID. (So every record in supplier or customer must have a record in person - this maps directly to inheritance in your business layer, which can be handy).


AnswerRe: Database logic... Pin
Mycroft Holmes28-Jun-08 21:59
professionalMycroft Holmes28-Jun-08 21:59 
QuestionSQL AGENT x64 version Pin
rafaelq200027-Jun-08 4:45
rafaelq200027-Jun-08 4:45 
Questionselect top query Pin
brettokumar27-Jun-08 3:41
professionalbrettokumar27-Jun-08 3:41 
AnswerRe: select top query Pin
Colin Angus Mackay27-Jun-08 3:48
Colin Angus Mackay27-Jun-08 3:48 
GeneralRe: select top query Pin
SomeGuyThatIsMe27-Jun-08 9:00
SomeGuyThatIsMe27-Jun-08 9:00 
GeneralRe: select top query Pin
Pete O'Hanlon27-Jun-08 11:02
mvePete O'Hanlon27-Jun-08 11:02 
AnswerRe: select top query Pin
Ashfield27-Jun-08 3:51
Ashfield27-Jun-08 3:51 
AnswerRe: select top query [modified] Pin
SomeGuyThatIsMe27-Jun-08 8:58
SomeGuyThatIsMe27-Jun-08 8:58 
GeneralRe: select top query Pin
Ashfield27-Jun-08 9:29
Ashfield27-Jun-08 9:29 
GeneralRe: select top query Pin
SomeGuyThatIsMe27-Jun-08 10:16
SomeGuyThatIsMe27-Jun-08 10:16 
GeneralRe: select top query Pin
Ashfield27-Jun-08 10:22
Ashfield27-Jun-08 10:22 
GeneralRe: select top query Pin
Alsvha29-Jun-08 20:35
Alsvha29-Jun-08 20:35 
GeneralRe: select top query Pin
SomeGuyThatIsMe30-Jun-08 2:09
SomeGuyThatIsMe30-Jun-08 2:09 
Questionerror connecting to remote sql server Pin
karthi8427-Jun-08 1:49
karthi8427-Jun-08 1:49 
AnswerRe: error connecting to remote sql server Pin
Marek Grzenkowicz27-Jun-08 2:50
Marek Grzenkowicz27-Jun-08 2:50 
GeneralRe: error connecting to remote sql server Pin
karthi8427-Jun-08 3:09
karthi8427-Jun-08 3:09 
GeneralRe: error connecting to remote sql server Pin
Marek Grzenkowicz27-Jun-08 4:10
Marek Grzenkowicz27-Jun-08 4:10 

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.