Click here to Skip to main content
12,626,813 members (35,106 online)
   

Database

 
AnswerRe: Configure SQL Server 2005 Remote Access Pin
Eddy Vluggen11-Oct-12 13:37
memberEddy Vluggen11-Oct-12 13:37 
AnswerRe: Configure SQL Server 2005 Remote Access Pin
Bernhard Hiller12-Oct-12 4:24
memberBernhard Hiller12-Oct-12 4:24 
QuestionGlobal Database Design for example to store Addresses Pin
LiQuick10-Oct-12 22:38
memberLiQuick10-Oct-12 22:38 
AnswerRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson10-Oct-12 23:59
memberJörgen Andersson10-Oct-12 23:59 
GeneralRe: Global Database Design for example to store Addresses Pin
Eddy Vluggen11-Oct-12 0:48
memberEddy Vluggen11-Oct-12 0:48 
GeneralRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson11-Oct-12 1:16
memberJörgen Andersson11-Oct-12 1:16 
GeneralRe: Global Database Design for example to store Addresses Pin
J4amieC11-Oct-12 1:36
memberJ4amieC11-Oct-12 1:36 
AnswerRe: Global Database Design for example to store Addresses Pin
ihoecken11-Oct-12 0:04
memberihoecken11-Oct-12 0:04 
Well there are of course different ways. One way is to create a dynamic database:

Create a adress-table with fields: DataId INT, FieldName VARCHAR(X), FieldValue VARCHAR(Y) or BINARY
Index is (DataId, FieldName)

Instead of storing "New York" in a column "CITY" you store "City" in "FieldName" and "New York" in FieldValue".

You can also define Field-Groups: like "Adress" which my occur more than one time, by adding another column Line INT, that allows to store an Address 1, Adress 2, ..., Adress n and of course a Phone 1, Phone 2, ..., Phone n

If n isn't large enough you can even store x values Wink | ;)

This way ain't efficient for tables with a lot of complex queries, but I think you don't need to have comples queries here, so the responde-time should be good enough in this case.
------------------------------
Author of Primary ROleplaying SysTem

How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

AnswerRe: Global Database Design for example to store Addresses Pin
Eddy Vluggen11-Oct-12 1:44
memberEddy Vluggen11-Oct-12 1:44 
GeneralRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson11-Oct-12 2:36
memberJörgen Andersson11-Oct-12 2:36 
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 
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 

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
Web02 | 2.8.161205.3 | Last Updated 2 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid