Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: How do Monks programatically construct SQL selects

by mpeppler (Vicar)
on Sep 03, 2003 at 18:30 UTC ( #288701=note: print w/ replies, xml ) Need Help??


in reply to Re: How do Monks programatically construct SQL selects
in thread How do Monks programatically construct SQL selects

How do Monks programatically construct SQL selects.

I don't.

Indeed. It's interesting how this particular question comes up again and again. Yes, SQL queries can be generated, but when you start using a normalized schema auto-generated queries tend to fall down. In order to get good, repeatable performance it is essential to write well behaved queries (i.e. queries where the JOIN and/or WHERE clauses use appropriate indexes) as a single badly written query can bring even very powerful hardware to its knees...

This is one of the reasons why I always try to use stored procedures where I can.

Michael


Comment on Re: Re: How do Monks programatically construct SQL selects

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://288701]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-08 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls