Click here to Skip to main content
15,891,597 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
PraiseRe: Well, here goes ... my Surface is updating to Win 11. Pin
Gary R. Wheeler30-Oct-21 10:47
Gary R. Wheeler30-Oct-21 10:47 
GeneralRe: Well, here goes ... my Surface is updating to Win 11. Pin
Gaston Verelst28-Oct-21 23:00
Gaston Verelst28-Oct-21 23:00 
QuestionDoes anyone do database tier field validation? Pin
honey the codewitch28-Oct-21 16:20
mvahoney the codewitch28-Oct-21 16:20 
AnswerRe: Does anyone do database tier field validation? Pin
PIEBALDconsult28-Oct-21 16:30
mvePIEBALDconsult28-Oct-21 16:30 
GeneralRe: Does anyone do database tier field validation? Pin
honey the codewitch28-Oct-21 16:49
mvahoney the codewitch28-Oct-21 16:49 
GeneralRe: Does anyone do database tier field validation? Pin
PIEBALDconsult28-Oct-21 17:34
mvePIEBALDconsult28-Oct-21 17:34 
AnswerRe: Does anyone do database tier field validation? Pin
megaadam28-Oct-21 21:25
professionalmegaadam28-Oct-21 21:25 
GeneralRe: Does anyone do database tier field validation? Pin
Dan Neely29-Oct-21 3:06
Dan Neely29-Oct-21 3:06 
megaadam wrote:
I would say: that DB-level validation is absolutely mandatory to protect the DB from data corruption. E.g. somebody my try to enter data with their own client (out of malice or just curiosity).


Unless you're in a situation where arbitrary applications can write to your database, serverside validation is sufficient. If you have a big-One company database that dozens of different applications use, well Codethulu help you (because no lesser gods can); and yeah then you probably do need to do validation in the DB.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

GeneralRe: Does anyone do database tier field validation? Pin
PIEBALDconsult29-Oct-21 3:37
mvePIEBALDconsult29-Oct-21 3:37 
GeneralRe: Does anyone do database tier field validation? Pin
honey the codewitch29-Oct-21 5:50
mvahoney the codewitch29-Oct-21 5:50 
GeneralRe: Does anyone do database tier field validation? Pin
PIEBALDconsult29-Oct-21 6:04
mvePIEBALDconsult29-Oct-21 6:04 
GeneralRe: Does anyone do database tier field validation? Pin
honey the codewitch29-Oct-21 6:39
mvahoney the codewitch29-Oct-21 6:39 
QuestionWTE! Another programming question ? Pin
megaadam28-Oct-21 13:52
professionalmegaadam28-Oct-21 13:52 
AnswerRe: WTE! Another programming question ? Pin
Peter_in_278028-Oct-21 14:20
professionalPeter_in_278028-Oct-21 14:20 
GeneralRe: WTE! Another programming question ? Pin
Jon McKee28-Oct-21 14:34
professionalJon McKee28-Oct-21 14:34 
GeneralRe: WTE! Another programming question ? Pin
Dan Neely29-Oct-21 3:11
Dan Neely29-Oct-21 3:11 
GeneralRe: WTE! Another programming question ? Pin
Jon McKee29-Oct-21 11:29
professionalJon McKee29-Oct-21 11:29 
GeneralRe: WTE! Another programming question ? Pin
megaadam28-Oct-21 22:10
professionalmegaadam28-Oct-21 22:10 
AnswerRe: WTE! Another programming question ? Pin
Jon McKee28-Oct-21 14:30
professionalJon McKee28-Oct-21 14:30 
GeneralRe: WTE! Another programming question ? Pin
PIEBALDconsult28-Oct-21 14:46
mvePIEBALDconsult28-Oct-21 14:46 
GeneralRe: WTE! Another programming question ? Pin
Jon McKee28-Oct-21 15:15
professionalJon McKee28-Oct-21 15:15 
GeneralRe: WTE! Another programming question ? Pin
megaadam28-Oct-21 22:32
professionalmegaadam28-Oct-21 22:32 
GeneralRe: WTE! Another programming question ? Pin
Jon McKee28-Oct-21 23:28
professionalJon McKee28-Oct-21 23:28 
AnswerRe: WTE! Another programming question ? Pin
Greg Utas28-Oct-21 14:45
professionalGreg Utas28-Oct-21 14:45 
AnswerRe: WTE! Another programming question ? Pin
Mircea Neacsu28-Oct-21 16:46
Mircea Neacsu28-Oct-21 16: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.