Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 meditating upon the Monastery: (7)
As of 2014-08-20 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (108 votes), past polls