Click here to Skip to main content
15,891,375 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
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 
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 
Of course you "should" - there are a lot of things that people "should" and "shouldn't" do that don't actually happen the way they "should" in the real world.

The result is almost always a database that accepts denormalized data for some of its content.

Over a long enough timeline / large enough project this is an inevitability.

That means in an enterprise sized application of any significant age, you're dealing with denormalized data.

Furthermore, in some cases, with an RDBMS it is more efficient to accept denormalized data and normalize it in a stored proc to get results based on that. A good example is passing an array of integer cache ids so you only get particular rows from the database (such as updating a stale list) - there is simply no good (standard SQL) way to pass a small array of ints to the database, so 9 times out of 10, you'll see a procedure like this that takes a string or even a varbinary that has the data encoded it in. This is far more efficient than updating some kind of local session table you use to talk to your routines with (the other way to get a list of rows by ids)

With a tool like this you can harden that, and the bottleneck is network, not DB CPU, and not row locks (unless you're using the table based version, which I actually don't recommend)

I'm not sure about reformatting your domain names. They're easy enough to parse, but I don't know enough about the allowable formats to discern the logic for it without delving into RFCs.
Real programmers use butterflies

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 
GeneralRe: Bless SQL Pin
honey the codewitch31-Oct-21 17:40
mvahoney the codewitch31-Oct-21 17:40 
GeneralRe: Bless SQL Pin
#realJSOP2-Nov-21 0:32
mve#realJSOP2-Nov-21 0:32 
GeneralRe: Bless SQL Pin
NeverJustHere2-Nov-21 17:58
NeverJustHere2-Nov-21 17:58 
GeneralRe: Bless SQL Pin
#realJSOP2-Nov-21 23:55
mve#realJSOP2-Nov-21 23:55 

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.