Click here to Skip to main content
15,879,326 members
Home / Discussions / Database
   

Database

 
GeneralRe: Database Design - Help Appreciated Pin
john_berman20-Feb-17 6:07
john_berman20-Feb-17 6:07 
QuestionDB Case Sensitivity, unexpected/surprising behaviour Pin
User 1106097918-Feb-17 1:17
User 1106097918-Feb-17 1:17 
AnswerRe: DB Case Sensitivity, unexpected/surprising behaviour Pin
Richard Deeming18-Feb-17 1:35
mveRichard Deeming18-Feb-17 1:35 
PraiseRe: DB Case Sensitivity, unexpected/surprising behaviour Pin
User 1106097918-Feb-17 1:40
User 1106097918-Feb-17 1:40 
GeneralRe: DB Case Sensitivity, unexpected/surprising behaviour Pin
User 1106097918-Feb-17 3:49
User 1106097918-Feb-17 3:49 
GeneralRe: DB Case Sensitivity, unexpected/surprising behaviour Pin
Richard Deeming18-Feb-17 8:30
mveRichard Deeming18-Feb-17 8:30 
GeneralRe: DB Case Sensitivity, unexpected/surprising behaviour Pin
User 1106097918-Feb-17 8:35
User 1106097918-Feb-17 8:35 
QuestionBest Praxis for “user-id/primary” Pin
User 1106097917-Feb-17 9:19
User 1106097917-Feb-17 9:19 
Hello experts

I’m usually organizing the data internally using a “system” generated id (at the moment int generated by mssql sequences) to define primary keys and foreign key relations. That has sometimes advantages but on the other hand it is not really the clean way from the point of theory (and for data exchange it can be the real pain).
Why?
The user usually needs also to have his “user-id” which is the user’s primary… so with the way above I introduce an extra index. And basically the user primary should enough and should be used to define the db constraints. But programmers are lazy and like keys all of the same type….

Ok, long speech. What I’m really like asking for Best Praxis is:
I’m at a point to migrate Interbase databases to MSSQL. Interbase has as default case sensitive indices while MSSQL has case insensitive as default.

In case this “user-id” allows alphanumeric, what is better/best Praxis/usual:
a.) Make Ids case sensitive ?
b.) Make Ids case insensitive?

Thank you in advance
Bruno


modified 19-Jan-21 21:04pm.

AnswerRe: Best Praxis for “user-id/primary” Pin
Gerry Schmitz17-Feb-17 10:28
mveGerry Schmitz17-Feb-17 10:28 
PraiseRe: Best Praxis for “user-id/primary” Pin
User 1106097917-Feb-17 10:30
User 1106097917-Feb-17 10:30 
GeneralRe: Best Praxis for “user-id/primary” Pin
Gerry Schmitz17-Feb-17 11:00
mveGerry Schmitz17-Feb-17 11:00 
AnswerRe: Best Praxis for “user-id/primary” Pin
Eddy Vluggen17-Feb-17 12:45
professionalEddy Vluggen17-Feb-17 12:45 
PraiseRe: Best Praxis for “user-id/primary” Pin
User 1106097918-Feb-17 0:27
User 1106097918-Feb-17 0:27 
GeneralRe: Best Praxis for “user-id/primary” Pin
Eddy Vluggen19-Feb-17 8:45
professionalEddy Vluggen19-Feb-17 8:45 
QuestionVery big database question. Need answers ? Pin
Yogi S.17-Feb-17 7:27
Yogi S.17-Feb-17 7:27 
AnswerRe: Very big database question. Need answers ? Pin
Eddy Vluggen17-Feb-17 7:52
professionalEddy Vluggen17-Feb-17 7:52 
QuestionHow to calculate the eligibility year of Promotion if Present Year - last year of Promotion is greater than or Equals to 3 (Three) Pin
Okezie Victor17-Feb-17 0:05
Okezie Victor17-Feb-17 0:05 
AnswerRe: How to calculate the eligibility year of Promotion if Present Year - last year of Promotion is greater than or Equals to 3 (Three) Pin
Mycroft Holmes17-Feb-17 12:57
professionalMycroft Holmes17-Feb-17 12:57 
GeneralRe: How to calculate the eligibility year of Promotion if Present Year - last year of Promotion is greater than or Equals to 3 (Three) Pin
Okezie Victor28-Mar-17 3:46
Okezie Victor28-Mar-17 3:46 
Questionwhat is the best way indexing foreign key from multiple table? Pin
Gilbert Consellado9-Feb-17 23:30
professionalGilbert Consellado9-Feb-17 23:30 
AnswerRe: what is the best way indexing foreign key from multiple table? Pin
Eddy Vluggen10-Feb-17 0:58
professionalEddy Vluggen10-Feb-17 0:58 
GeneralRe: what is the best way indexing foreign key from multiple table? Pin
Gilbert Consellado10-Feb-17 1:54
professionalGilbert Consellado10-Feb-17 1:54 
SuggestionRe: what is the best way indexing foreign key from multiple table? Pin
Richard Deeming10-Feb-17 2:56
mveRichard Deeming10-Feb-17 2:56 
GeneralRe: what is the best way indexing foreign key from multiple table? Pin
Gilbert Consellado10-Feb-17 3:25
professionalGilbert Consellado10-Feb-17 3:25 
QuestionNot sure how to handle this sort of speaking FoxPro DBF Pin
jkirkerx9-Feb-17 7:31
professionaljkirkerx9-Feb-17 7:31 

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.