Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. engineer2100

    Return data with Oracle Stored Procedure

    so as mentioned return a REF CURSOR CREATE OR REPLACE PACKAGE PKG_REPORT_GEN IS pREPORT_DATA IS REF CURSOR; END; / CREATE OR REPLACE PROCEDURE RETURN_DATA_FOR_REPORT (pData OUT PKG_REPORT_GEN.pREPORT_DATA) IS BEGIN OPEN pDATA FOR SELECT A.WORKTYPE, COUNT(*) AS ITEMCOUNT FROM...
  2. engineer2100

    Return data with Oracle Stored Procedure

    return a REF CURSOR as an OUT parameter from the SP or as Return parameter from a Function. HTH Engi
  3. engineer2100

    Welcome to Oracle 11g forum !

    Bill, I have the link myself but what i was looking at was what you seasoned DBA's have to say. Thanks Engi
  4. engineer2100

    Welcome to Oracle 11g forum !

    Santa, Bill and all the gurus!! can we start with a post of whats news in Oracle 11g start from 1. Architecture, 2. Basics SQL, 3. PL/SQL, 4. Administration 5. Tools Etc.. this could be either one thread or one for each of the above bulleted point. Thanks -Engi
  5. engineer2100

    replace non characters.

    Actually this issue is caused by an incorrect character set. I am confident on this because we recently faced this issue and changing the character set made the difference....
  6. engineer2100

    what causes sessions not to disconnect

    Are you by anychance running applications that make use of connection pools? may be that is the place where you can start your search.. often the applications connect to the DB and fail to disconnect...
  7. engineer2100

    missing expression error

    Since you setting the columns conditionally it could be that one or two conditions might have got satisfied and you are still referring to those variables. You should Execute Immediate based on how many variables are being set/referred. HTH -Engi
  8. engineer2100

    what iis wrong with trigger

    As Cooper pointed out, the issue is with the line below ( :new.msgdet_message is not like '%B12%');
  9. engineer2100

    Closing all connections

    Alter System Kill Session 'Sid,Serial#'; SID and Serial# are from V$SESSION. HTH -Engi
  10. engineer2100

    Closing all connections

    Got some time before I leave.... Why not kill the sessions after vieweing V$Session?
  11. engineer2100

    Poorly Performing Queries

    Finally some light at the end of the tunnel!!! anyways, since now it is in the safe hands of Santa and Bill, I think i will take a walk out.. Mexico here i come!!!
  12. engineer2100

    Poorly Performing Queries

    Did you gather latest statistics? To find when the Statistics were gathered fire the below SQL Select table_name, last_analyzed from user_tables where table_name in ('IKS_BINARYDOCUMENT', 'IKS_ASCIIDOCUMENT') If not quickly gather statistics and then try to execute the queries! Let us know.
  13. engineer2100

    Poorly Performing Queries

    Did you happen to run the above queries? Please send me the output of HIGH I/O Statements - atleast top 10-15 ones
  14. engineer2100

    Poorly Performing Queries

    That definitely is not a healthy sign at all. Actually you need to run the below to understand on an average how disk read have happened over the executions. -- IDENTIFY BAD SQL's --HIGH CPU Statements select trunc(buffer_gets/executions),trunc(plsql_exec_time/executions),vsa.* from...
  15. engineer2100

    tracking functions

    yes it does only that. Your requirement is not catered to as i see it.
  16. engineer2100

    tracking functions

    None I know of! there is V$SQL and V$SQLAREA where in you can see if the PL/SQL procedure/function that is using the SQL Function has run or not and when it was last run. -Engi
  17. engineer2100

    Poorly Performing Queries

    Just say CREATE INDEX <INDEX NAME> ON <TABLE>(COLUMN LIST); And call me Engi!!! - Engi
  18. engineer2100

    tracking functions

    I am afraid AFAIK there isn't such a feature that will tell you how often a particular function was used.
  19. engineer2100

    Cursor output to sys_refcursor

    Jon, You can create Temporary tables within Oracle and also tie their existence to either Transaaction or session. CREATE TEMPORARY TABLE... Just google this and you'll not be disappointed....
  20. engineer2100

    Cursor output to sys_refcursor

    Is the logic below necessary? if yes, then I am afraid you need to pass individual variables to the procedure (proddbs.search_stw@ocxd_gisd). If not see below for the modified procedure DECLARE l_site VARCHAR2(40); l_direction VARCHAR2(40); l_distance NUMBER(12, 4)...

Part and Inventory Search

Back
Top