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

Database

 
QuestionParameter @Model has no default value Pin
dec8219-Dec-08 12:27
dec8219-Dec-08 12:27 
AnswerRe: Parameter @Model has no default value Pin
Blue_Boy19-Dec-08 18:27
Blue_Boy19-Dec-08 18:27 
AnswerRe: Parameter @Model has no default value Pin
Rob Graham20-Dec-08 3:44
Rob Graham20-Dec-08 3:44 
GeneralRe: Parameter @Model has no default value Pin
dec8220-Dec-08 5:45
dec8220-Dec-08 5:45 
GeneralRe: Parameter @Model has no default value Pin
Rob Graham20-Dec-08 7:29
Rob Graham20-Dec-08 7:29 
GeneralRe: Parameter @Model has no default value Pin
Wendelius20-Dec-08 10:51
mentorWendelius20-Dec-08 10:51 
GeneralRe: Parameter @Model has no default value Pin
Rob Graham20-Dec-08 13:19
Rob Graham20-Dec-08 13:19 
QuestionWhich type should i use for saving a string like this: 000000-0000? Pin
Jan Sommer19-Dec-08 8:43
Jan Sommer19-Dec-08 8:43 
Our customers are all id'ed by their social securitynumber (CPR) which is in the format 000000-0000 here in Denmark. How would you save this in the DB? The easiest way is ofcourse to save it as a string, but i'm also considering an integer-field.

Does anyone know of the performance in searching when dealing with strings vs. integer fields (in a db), and would it be worth the effort to write code that converts between userinputted CPR's to integer? We are using MSSQL, and i'm programming in C# if it matters.
AnswerRe: Which type should i use for saving a string like this: 000000-0000? Pin
Blue_Boy19-Dec-08 8:57
Blue_Boy19-Dec-08 8:57 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Jan Sommer19-Dec-08 9:01
Jan Sommer19-Dec-08 9:01 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Blue_Boy19-Dec-08 9:07
Blue_Boy19-Dec-08 9:07 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Rob Graham20-Dec-08 3:37
Rob Graham20-Dec-08 3:37 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Blue_Boy20-Dec-08 6:10
Blue_Boy20-Dec-08 6:10 
AnswerRe: Which type should i use for saving a string like this: 000000-0000? Pin
Wendelius19-Dec-08 9:03
mentorWendelius19-Dec-08 9:03 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Jan Sommer19-Dec-08 9:11
Jan Sommer19-Dec-08 9:11 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Wendelius19-Dec-08 9:13
mentorWendelius19-Dec-08 9:13 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Blue_Boy19-Dec-08 9:20
Blue_Boy19-Dec-08 9:20 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Rob Graham20-Dec-08 3:39
Rob Graham20-Dec-08 3:39 
GeneralRe: Which type should i use for saving a string like this: 000000-0000? Pin
Blue_Boy20-Dec-08 6:11
Blue_Boy20-Dec-08 6:11 
QuestionSSIS extraction from GBase and Universe datbases Pin
samerh19-Dec-08 3:40
samerh19-Dec-08 3:40 
AnswerRe: SSIS extraction from GBase and Universe datbases Pin
Mycroft Holmes19-Dec-08 15:35
professionalMycroft Holmes19-Dec-08 15:35 
QuestionHow To Create Non Effect Update Pin
Sam Heller19-Dec-08 0:55
Sam Heller19-Dec-08 0:55 
AnswerRe: How To Create Non Effect Update Pin
Ashfield19-Dec-08 1:47
Ashfield19-Dec-08 1:47 
GeneralNon Effect Update Pin
David Mujica19-Dec-08 4:36
David Mujica19-Dec-08 4:36 
AnswerWrap the logic in TSQL Pin
David Mujica19-Dec-08 4:29
David Mujica19-Dec-08 4:29 

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.