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

Database

 
AnswerRe: database deployment Pin
jschell10-Nov-11 8:56
jschell10-Nov-11 8:56 
QuestionMaster.dbo.xp_fileexist in sql Pin
vanikanc10-Nov-11 3:26
vanikanc10-Nov-11 3:26 
AnswerRe: Master.dbo.xp_fileexist in sql Pin
Eddy Vluggen10-Nov-11 10:20
professionalEddy Vluggen10-Nov-11 10:20 
QuestionHeterogeneous Database; What will you do? Pin
AbrahamMOKDAD9-Nov-11 18:58
AbrahamMOKDAD9-Nov-11 18:58 
AnswerRe: Heterogeneous Database; What will you do? Pin
Eddy Vluggen10-Nov-11 10:51
professionalEddy Vluggen10-Nov-11 10:51 
AnswerRe: Heterogeneous Database; What will you do? Pin
Mycroft Holmes13-Nov-11 6:20
professionalMycroft Holmes13-Nov-11 6:20 
AnswerRe: Heterogeneous Database; What will you do? Pin
SilimSayo14-Nov-11 15:35
SilimSayo14-Nov-11 15:35 
Questionstring truncation Pin
Luc Pattyn9-Nov-11 10:37
sitebuilderLuc Pattyn9-Nov-11 10:37 
String or binary data would be truncated is the nice SqlException one gets from SQL Server when attempting to insert/update a record with a string value that is longer than the field is wide.

That raises 3 questions:

1.
what would be the recommended approach in general?

2.
what would be the recommended approach in a medium-size application (lots of insert/update statements, no SP), when the user doesn't care much and would be happy when the strings where truncated without notification?

3.
is there a simple way to identify which field is overflowing?

TIA
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: string truncation Pin
jschell9-Nov-11 11:21
jschell9-Nov-11 11:21 
GeneralRe: string truncation Pin
Luc Pattyn9-Nov-11 11:24
sitebuilderLuc Pattyn9-Nov-11 11:24 
GeneralRe: string truncation Pin
SilimSayo9-Nov-11 14:59
SilimSayo9-Nov-11 14:59 
AnswerRe: string truncation Pin
Luc Pattyn9-Nov-11 15:11
sitebuilderLuc Pattyn9-Nov-11 15:11 
GeneralRe: string truncation Pin
_Damian S_9-Nov-11 15:22
professional_Damian S_9-Nov-11 15:22 
AnswerRe: string truncation Pin
Luc Pattyn9-Nov-11 15:34
sitebuilderLuc Pattyn9-Nov-11 15:34 
GeneralRe: string truncation Pin
_Damian S_9-Nov-11 15:56
professional_Damian S_9-Nov-11 15:56 
GeneralRe: string truncation Pin
Luc Pattyn9-Nov-11 16:08
sitebuilderLuc Pattyn9-Nov-11 16:08 
GeneralRe: string truncation Pin
jschell10-Nov-11 8:27
jschell10-Nov-11 8:27 
GeneralRe: string truncation Pin
Luc Pattyn10-Nov-11 9:47
sitebuilderLuc Pattyn10-Nov-11 9:47 
GeneralRe: string truncation Pin
PIEBALDconsult9-Nov-11 15:09
mvePIEBALDconsult9-Nov-11 15:09 
QuestionRe: string truncation Pin
Luc Pattyn9-Nov-11 15:15
sitebuilderLuc Pattyn9-Nov-11 15:15 
AnswerRe: string truncation Pin
PIEBALDconsult9-Nov-11 15:37
mvePIEBALDconsult9-Nov-11 15:37 
GeneralRe: string truncation Pin
Luc Pattyn9-Nov-11 16:02
sitebuilderLuc Pattyn9-Nov-11 16:02 
GeneralRe: string truncation Pin
PIEBALDconsult9-Nov-11 16:08
mvePIEBALDconsult9-Nov-11 16:08 
GeneralRe: string truncation Pin
Luc Pattyn9-Nov-11 16:27
sitebuilderLuc Pattyn9-Nov-11 16:27 
GeneralRe: string truncation Pin
PIEBALDconsult9-Nov-11 16:56
mvePIEBALDconsult9-Nov-11 16: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.