Click here to Skip to main content
15,887,135 members
Home / Discussions / Database
   

Database

 
GeneralRe: Not sure how to handle this sort of speaking FoxPro DBF Pin
jkirkerx13-Feb-17 11:44
professionaljkirkerx13-Feb-17 11:44 
SuggestionRe: Not sure how to handle this sort of speaking FoxPro DBF Pin
Richard Deeming9-Feb-17 9:14
mveRichard Deeming9-Feb-17 9:14 
GeneralRe: Not sure how to handle this sort of speaking FoxPro DBF Pin
jkirkerx13-Feb-17 6:34
professionaljkirkerx13-Feb-17 6:34 
QuestionHow do I model this? Pin
Jörgen Andersson7-Feb-17 12:58
professionalJörgen Andersson7-Feb-17 12:58 
AnswerRe: How do I model this? Pin
Mycroft Holmes7-Feb-17 21:52
professionalMycroft Holmes7-Feb-17 21:52 
GeneralRe: How do I model this? Pin
Jörgen Andersson7-Feb-17 22:03
professionalJörgen Andersson7-Feb-17 22:03 
AnswerRe: How do I model this? Pin
Gerry Schmitz9-Feb-17 8:32
mveGerry Schmitz9-Feb-17 8:32 
AnswerRe: How do I model this? Pin
Eddy Vluggen9-Feb-17 10:28
professionalEddy Vluggen9-Feb-17 10:28 
Jörgen Andersson wrote:
I'm looking for ideas on how to make this in a fairly futureproof way, I don't really have any keys to use either. It's just the column names in one source and the attribute names in the other.I realize there is no right way of doing this (but many wrong).So any opinions on how to do this
You got two groups of unsorted and ungrouped column-names coming from a repository that need to be mapped to a model?

..then I'd go for a relational model, even if it only exists in memory. Which would mean following the steps to normalize the data (upto BCNF). That's a tedious but proven way. Any group of properties that make up a model (regardless of the way the data is physically stored) would be a candidate.

I would seriously consider creating that theoretical model and then create an in-memory database (using SQLite or similar) to hold it. The added advantage of that approach is having an abstraction of the data that you can already use to design reporting and stuff. Another added advantage is that any redundancies or inconsistencies in the database would be caught. Downside is that you need (access to) a domain-expert to build and validate the model.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: How do I model this? Pin
Jörgen Andersson13-Feb-17 2:46
professionalJörgen Andersson13-Feb-17 2:46 
GeneralRe: How do I model this? Pin
Eddy Vluggen13-Feb-17 6:42
professionalEddy Vluggen13-Feb-17 6:42 
QuestionLinq-ToSQL Invalid Cast Pin
Kevin Marois2-Feb-17 6:34
professionalKevin Marois2-Feb-17 6:34 
AnswerRe: Linq-ToSQL Invalid Cast Pin
Richard Deeming2-Feb-17 7:04
mveRichard Deeming2-Feb-17 7:04 
GeneralRe: Linq-ToSQL Invalid Cast Pin
Kevin Marois2-Feb-17 7:31
professionalKevin Marois2-Feb-17 7:31 
QuestionHow to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu30-Jan-17 19:53
professionalTarunKumarSusarapu30-Jan-17 19:53 
AnswerRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Peter Leow30-Jan-17 20:23
professionalPeter Leow30-Jan-17 20:23 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu30-Jan-17 20:29
professionalTarunKumarSusarapu30-Jan-17 20:29 
AnswerRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Peter Leow30-Jan-17 20:46
professionalPeter Leow30-Jan-17 20:46 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Chris Quinn31-Jan-17 0:33
Chris Quinn31-Jan-17 0:33 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu31-Jan-17 1:07
professionalTarunKumarSusarapu31-Jan-17 1:07 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Richard Deeming31-Jan-17 2:29
mveRichard Deeming31-Jan-17 2:29 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu1-Feb-17 18:09
professionalTarunKumarSusarapu1-Feb-17 18:09 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Richard Deeming2-Feb-17 2:04
mveRichard Deeming2-Feb-17 2:04 
QuestionUsing Pooling or SqlConnection object variable is better ? Pin
MrKBA24-Jan-17 22:43
MrKBA24-Jan-17 22:43 
AnswerRe: Using Pooling or SqlConnection object variable is better ? Pin
Tim Carmichael25-Jan-17 2:31
Tim Carmichael25-Jan-17 2:31 
GeneralRe: Using Pooling or SqlConnection object variable is better ? Pin
MrKBA25-Jan-17 20:30
MrKBA25-Jan-17 20:30 

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.