Click here to Skip to main content
15,891,864 members
Home / Discussions / Database
   

Database

 
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 
AnswerRe: string truncation Pin
jschell9-Nov-11 11:21
jschell9-Nov-11 11:21 
Luc Pattyn wrote:
what would be the recommended approach in general?


Validate your data before you attempt to insert it.

Luc Pattyn wrote:
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?


I doubt that is a valid use case.

For example it would certainly never be valid to truncate the delivery address on an order.

So at most you might have one column where it might be acceptable to delete something. Say it is a 'comment' field but it that case your user experience is going to be that they typed a lot of stuff in and it just disappeared.

Again a much better idea is to validate the data first.
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 
GeneralRe: string truncation Pin
_Damian S_9-Nov-11 16:32
professional_Damian S_9-Nov-11 16:32 

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.