× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



John

You might take a look at a couple benchmarks - TPC-H comes to mind, I think - a set of what are actually called complex queries - they were used at IBM for testing the new query engine. Things in there like what else did people buy who also bought this? Those are tough ones, usually.

This site - http://www.tpc.org/tpch/ - had downloads of things - get the PDF and search for (Q to see descriptions of the various queries, with the actual SELECT statement for it.

HTH
Vern

John Earl wrote:
Hey list,

I'm writing an article on securing SQL and I'm looking for a really, really, long and complex SQL statement. Unfortunately my own SQl skills are kind of primitive, so I don't know how to generate this statement with the correct syntax.

So, has anyone got a copy of one that has multiple file names, multiple SELECT and UPDATE or DELETE statements, etc etc. The goal is not "un-readability", but rather complexity specifically as it relates to multiple tables and verbs in one statement.

Any and all assistance is greatly appreciated,

aTdHvAaNnKcSe,

jte

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.