Click here to Skip to main content
15,894,405 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.

 
GeneralRe: Bless SQL Pin
Super Lloyd31-Oct-21 15:08
Super Lloyd31-Oct-21 15:08 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 16:34
mvahoney the codewitch31-Oct-21 16:34 
GeneralRe: Bless SQL Pin
Jörgen Andersson31-Oct-21 21:39
professionalJörgen Andersson31-Oct-21 21:39 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 21:40
mvahoney the codewitch31-Oct-21 21:40 
GeneralRe: Bless SQL Pin
Jörgen Andersson31-Oct-21 22:31
professionalJörgen Andersson31-Oct-21 22:31 
GeneralRe: Bless SQL Pin
honey the codewitch1-Nov-21 3:45
mvahoney the codewitch1-Nov-21 3:45 
GeneralRe: Bless SQL Pin
Jörgen Andersson1-Nov-21 5:36
professionalJörgen Andersson1-Nov-21 5:36 
GeneralRe: Bless SQL Pin
honey the codewitch1-Nov-21 6:12
mvahoney the codewitch1-Nov-21 6:12 
It depends on what you are doing. For column validation in most cases you wouldn't need it.

However, if you intended to say, store chunks of JSON in your database (a surprisingly common practice these days) you could use a tokenizer (along with a parser generated by Norm targeting SQL) to validate or even normalize the JSON content so that invalid JSON does not get stored in the database but rather is rejected.

Typically this is done in the middleware, but such validation should in theory (where possible) take place in each of the "three tiers", which would include the database, for maximum assurance of data integrity..

Another use for it might be to allow you to search long structured text for particular things, like search an HTML document for all <B> tags and yield those as a table, which could be useful for things like CMS systems.
Real programmers use butterflies

GeneralRe: Bless SQL PinPopular
PIEBALDconsult31-Oct-21 15:17
mvePIEBALDconsult31-Oct-21 15:17 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 16:30
mvahoney the codewitch31-Oct-21 16:30 
GeneralRe: Bless SQL Pin
PIEBALDconsult31-Oct-21 19:21
mvePIEBALDconsult31-Oct-21 19:21 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 19:33
mvahoney the codewitch31-Oct-21 19:33 
GeneralRe: Bless SQL Pin
BryanFazekas1-Nov-21 1:50
BryanFazekas1-Nov-21 1:50 
GeneralRe: Bless SQL Pin
Eddy Vluggen1-Nov-21 2:00
professionalEddy Vluggen1-Nov-21 2:00 
GeneralRe: Bless SQL Pin
honey the codewitch1-Nov-21 3:41
mvahoney the codewitch1-Nov-21 3:41 
GeneralRe: Bless SQL Pin
Eddy Vluggen1-Nov-21 6:57
professionalEddy Vluggen1-Nov-21 6:57 
GeneralRe: Bless SQL Pin
honey the codewitch1-Nov-21 7:02
mvahoney the codewitch1-Nov-21 7:02 
GeneralRe: Bless SQL Pin
#realJSOP1-Nov-21 2:41
mve#realJSOP1-Nov-21 2:41 
GeneralRe: Bless SQL Pin
honey the codewitch1-Nov-21 3:42
mvahoney the codewitch1-Nov-21 3:42 
GeneralRe: Bless SQL Pin
Greg Utas31-Oct-21 15:36
professionalGreg Utas31-Oct-21 15:36 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 16:31
mvahoney the codewitch31-Oct-21 16:31 
GeneralRe: Bless SQL Pin
Jon McKee31-Oct-21 15:41
professionalJon McKee31-Oct-21 15:41 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 16:33
mvahoney the codewitch31-Oct-21 16:33 
GeneralRe: Bless SQL Pin
NeverJustHere31-Oct-21 16:42
NeverJustHere31-Oct-21 16:42 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 17:34
mvahoney the codewitch31-Oct-21 17:34 

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.