Click here to Skip to main content
15,908,634 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Query Pin
Michael Potter7-Nov-07 11:26
Michael Potter7-Nov-07 11:26 
GeneralRe: SQL Query Pin
Pete O'Hanlon7-Nov-07 11:34
mvePete O'Hanlon7-Nov-07 11:34 
GeneralRe: SQL Query Pin
Michael Potter7-Nov-07 11:42
Michael Potter7-Nov-07 11:42 
JokeRe: SQL Query Pin
Paul Conrad7-Nov-07 12:15
professionalPaul Conrad7-Nov-07 12:15 
GeneralRe: SQL Query Pin
#realJSOP8-Nov-07 1:29
professional#realJSOP8-Nov-07 1:29 
GeneralRe: SQL Query Pin
Michael Potter8-Nov-07 3:04
Michael Potter8-Nov-07 3:04 
GeneralRe: SQL Query Pin
#realJSOP8-Nov-07 1:33
professional#realJSOP8-Nov-07 1:33 
QuestionControlling T-SQL output from LINQ to SQL Pin
Mark J. Miller7-Nov-07 8:28
Mark J. Miller7-Nov-07 8:28 
Does anyone know if it's possible to control the T-SQL output from LINQ to SQL in any way? Specifically, I'd like to control the definition of the parameters created for sp_executesql when using variable-length data types (varchar, decimal, numeric).

VS 2008 defines the data types correctly by declaring the size when I drag and drop a table into the designer (O/R mapper?) for my dbml file. But that value isn't considered when the sp_executesql statement is generated. So the size of the gernated parameter is the size of the value passed in (ex. "test@test.com" becomes nvarchar(13) regardless of the size of the column in the database).

Thanks,
Mark
AnswerRe: Controlling T-SQL output from LINQ to SQL Pin
Mark J. Miller7-Nov-07 9:14
Mark J. Miller7-Nov-07 9:14 
GeneralRe: Controlling T-SQL output from LINQ to SQL Pin
Mark J. Miller8-Nov-07 5:36
Mark J. Miller8-Nov-07 5:36 
QuestionExcel into SQLServer2000 Pin
Jedidah7-Nov-07 8:00
Jedidah7-Nov-07 8:00 
AnswerRe: Excel into SQLServer2000 Pin
pmarfleet7-Nov-07 8:24
pmarfleet7-Nov-07 8:24 
QuestionDateTime Query Pin
solutionsville7-Nov-07 6:35
solutionsville7-Nov-07 6:35 
AnswerRe: DateTime Query Pin
solutionsville7-Nov-07 7:50
solutionsville7-Nov-07 7:50 
QuestionDatabase BackUp Pin
kibromg7-Nov-07 1:34
kibromg7-Nov-07 1:34 
AnswerRe: Database BackUp Pin
TJoe7-Nov-07 7:58
TJoe7-Nov-07 7:58 
Questionretrieve image from access in to picture box Pin
sindhutiwari6-Nov-07 23:35
sindhutiwari6-Nov-07 23:35 
QuestionDatawarehousing course. Pin
Jwalant Natvarlal Soneji6-Nov-07 19:48
Jwalant Natvarlal Soneji6-Nov-07 19:48 
AnswerRe: Datawarehousing course. Pin
Colin Angus Mackay6-Nov-07 23:00
Colin Angus Mackay6-Nov-07 23:00 
QuestionDatabase error Pin
kingletas6-Nov-07 18:17
kingletas6-Nov-07 18:17 
AnswerRe: Database error Pin
r a j u u6-Nov-07 20:15
r a j u u6-Nov-07 20:15 
AnswerRe: Database error Pin
r a j u u6-Nov-07 20:17
r a j u u6-Nov-07 20:17 
Questionediting primary key Pin
Xmen Real 6-Nov-07 17:09
professional Xmen Real 6-Nov-07 17:09 
AnswerRe: editing primary key Pin
Rob Philpott6-Nov-07 23:23
Rob Philpott6-Nov-07 23:23 
AnswerRe: editing primary key Pin
Hesham Amin7-Nov-07 9:46
Hesham Amin7-Nov-07 9:46 

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.