Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Adhoc queries and limiting the amount of records queried...

Re: Adhoc queries and limiting the amount of records queried...

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Tue, 29 Oct 2002 11:58:34 -0800
Message-ID: <F001.004F6B88.20021029115834@fatcity.com>


Adhoc queries and limiting the amount of records queried...In SQL Server: "set rowcount <some_number>" before running the query does the same thing as oracle's ROWNUM in "where" clause.

Igor Neyman, OCP DBA
ineyman_at_perceptron.com   

  I just wanted to ping the list to see what other people have done to control or constrain adhoc query users???

  We have a group that is struggling with the adhoc query piece that's in production. Some of the users end up firing off insane queries. The group is trying to find a way to limit the amount of records queried for, so that a wild query doesn't hose the database.

  Appending a ROWNUM to the WHERE clause is one idea. Using USER PROFILEs is another. Any other thoughts??

  Dare I ask.this custom app also runs on SQL Server, so SQL Server ideas would also be appreciated.

  Many thanks!!!

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Oct 29 2002 - 13:58:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US