Click here to Skip to main content
12,818,664 members (29,383 online)
   

Database

 
GeneralRe: Global Database Design for example to store Addresses Pin
Eddy Vluggen11-Oct-12 2:51
memberEddy Vluggen11-Oct-12 2:51 
GeneralRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson11-Oct-12 2:59
memberJörgen Andersson11-Oct-12 2:59 
GeneralRe: Global Database Design for example to store Addresses Pin
Eddy Vluggen11-Oct-12 5:42
memberEddy Vluggen11-Oct-12 5:42 
GeneralRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson11-Oct-12 9:24
memberJörgen Andersson11-Oct-12 9:24 
GeneralRe: Global Database Design for example to store Addresses Pin
Eddy Vluggen11-Oct-12 11:09
memberEddy Vluggen11-Oct-12 11:09 
AnswerRe: Global Database Design for example to store Addresses Pin
jschell11-Oct-12 10:20
memberjschell11-Oct-12 10:20 
AnswerTHX: Global Database Design for example to store Addresses Pin
LiQuick12-Oct-12 5:21
memberLiQuick12-Oct-12 5:21 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Eddy Vluggen12-Oct-12 6:37
memberEddy Vluggen12-Oct-12 6:37 
LiQuick wrote:
As I'm a programmer in Heart and Soul I was hoping something upon a solution similar to object inheritance where I can modify a base table into a new table Smile | :) , but maybe I'm way far of the planet earth.

I do not see OO as an information-modeling language. Every db will support foreigen keys, and you could copy the concept of inheritance;
HUMAN
-----
Id
Name
Gender
DoB

EMPLOYEE /* let's 'inherit' a human */
--------
Id
HumanFk (FK to HUMAN.Id)
HiredOn
HasAccessToSuperSecretFiles

..but in a relational world, that will make things worse. You'd get *VERY* complex queries, and most UI's would not be prepared to handle an answer that comes in various forms.

If it's handled as a single entity and used as one, then store it as one.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: THX: Global Database Design for example to store Addresses Pin
Jörgen Andersson12-Oct-12 9:15
memberJörgen Andersson12-Oct-12 9:15 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Eddy Vluggen12-Oct-12 11:54
memberEddy Vluggen12-Oct-12 11:54 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Jörgen Andersson12-Oct-12 12:34
memberJörgen Andersson12-Oct-12 12:34 
GeneralRe: THX: Global Database Design for example to store Addresses Pin
Eddy Vluggen12-Oct-12 14:38
memberEddy Vluggen12-Oct-12 14:38 
QuestionGet Filename and import fixed width file Pin
ReallyDumbDudee10-Oct-12 11:15
memberReallyDumbDudee10-Oct-12 11:15 
AnswerRe: Get Filename and import fixed width file Pin
Eddy Vluggen11-Oct-12 13:51
memberEddy Vluggen11-Oct-12 13:51 
QuestionRe: Get Filename and import fixed width file Pin
ReallyDumbDudee11-Oct-12 14:56
memberReallyDumbDudee11-Oct-12 14:56 
AnswerRe: Get Filename and import fixed width file Pin
Eddy Vluggen12-Oct-12 2:04
memberEddy Vluggen12-Oct-12 2:04 
Answer. Pin
SQL Ed10-Oct-12 9:21
memberSQL Ed10-Oct-12 9:21 
AnswerRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Eddy Vluggen10-Oct-12 10:26
memberEddy Vluggen10-Oct-12 10:26 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
SQL Ed10-Oct-12 14:15
memberSQL Ed10-Oct-12 14:15 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
mark merrens10-Oct-12 14:28
membermark merrens10-Oct-12 14:28 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Jörgen Andersson10-Oct-12 23:26
memberJörgen Andersson10-Oct-12 23:26 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Shameel11-Oct-12 1:27
memberShameel11-Oct-12 1:27 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Eddy Vluggen11-Oct-12 1:35
memberEddy Vluggen11-Oct-12 1:35 
QuestionHow to retrieve client IP address from sql server database Pin
Tridip Bhattacharjee9-Oct-12 21:53
memberTridip Bhattacharjee9-Oct-12 21:53 
AnswerRe: How to retrieve client IP address from sql server database Pin
digimanus10-Oct-12 2:20
memberdigimanus10-Oct-12 2:20 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170308.1 | Last Updated 24 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid