SQL Script Job using UTL_Mail.send Fails

Hi everyone,
This is 10.2.0.4 on Windows
I have configured UTL_Mail and it works when I send mail via SQL Plus.
Now, I'm just trying to get my very simple SQL Script job to send an email.
This is all that's in the command box (I'm using the Database Control to create the job)
exec UTL_MAIL.send(sender => '[email protected]',
recipients => '[email protected]',
cc => '[email protected]',
bcc => '[email protected]',
subject => 'UTL_MAIL Test',
message => 'Job ULTRAPRD WHOLE BKUP Email on PNCLULTRAPRD has completed successfully');
Output Log
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jul 17 09:36:32 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> SQL> SQL> SQL> Connected.
SQL> SQL> BEGIN UTL_MAIL.send(sender => '[email protected]',; END;
ERROR at line 1:
ORA-06550: line 1, column 53:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
( - + case mod new not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
<an alternatively-q
SQL> SP2-0734: unknown command beginning "recipients..." - rest of line ignored.
SQL> SP2-0734: unknown command beginning "cc     ..." - rest of line ignored.
SQL> SP2-0734: unknown command beginning "bcc     ..." - rest of line ignored.
SQL> SP2-0734: unknown command beginning "subject ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SQL> SP2-0734: unknown command beginning "message ..."
Thanks for any ideas. john
Edited by: user629010 on Jul 17, 2009 5:11 PM
Edited by: user629010 on Jul 17, 2009 5:13 PM

Sure.
This simple job was created via Database Control Create Job option.
The 'Job Activity' form shows 'Succeeded' but I did not receive the email. But if sent via SQL Plus i do receive the email.
This is the SQL Script code: Type: SQL Script
BEGIN
UTL_MAIL.send(sender => '[email protected]',
recipients => '[email protected]',
cc => '[email protected]',
bcc => '[email protected]',
subject => 'UTL_MAIL Test',
message => 'Hi, this is an email from Oracle on server PNCLULTRAPRD!');
END;
The Output log shows:
Step: command step
Page Refreshed Jul 19, 2009 9:17:42 PM
Status Succeeded
Targets ultraprd
Started Jul 19, 2009 8:37:06 PM GMT-05:00
Ended Jul 19, 2009 8:37:08 PM GMT-05:00
Elapsed Time 2 seconds
Output Log
SQL*Plus: Release 10.2.0.4.0 - Production on Sun Jul 19 20:37:06 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> SQL> SQL> SQL> Connected.
SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 Disconnected from Oracle Database 10g Enterprise Edition Release
Thanks, John

Similar Messages

  • Utlrp.sql script job schedule from OEM

    Any users on how to create grid control job for recompiling object via below script:
    @?/rdbms/admin/utlrp.sql
    I tried few testing but all failing at
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    (creating job as SQL script)
    Thanks,

    Hi Users,
    Thanks for all responses.
    Thanks Absorbine, it was really funny l laughed on that.
    OrionNet, I am trying to run this on atleast 5 db instances and also not real expert in procedures.
    Basically I am trying to create OEM job to run utlrp.sql or UTL_RECOMP pacakages on 5 different db instances.
    Tried below:
    1. created job with utlrp.sql:
    @?.rdbms/admin/utlrp.sql;
    Error:
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    2. Created job with UTL_RECOMP:
    SQL Script:
    WHENEVER SQLERROR EXIT FAILURE;
    EXEC UTL_RECOMP.recomp_serial;
    Error:
    SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    cheers,
    Rapchik

  • Send mail to distribution list using UTL_MAIL.SEND

    Oracle 10.2.0.4.0
    Does UTL_MAIL.SEND support sending mail to a distribution list?. The doc says, the recipient mail-id should be separated by a comma. The distribution list has mail-id separated by a comma. I executed a test case sending a mail to a distribution list, I did not receive any error or exception. I did not receive the test mail as well!!.
    Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.
    Thanks

    Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.Oracle RDBMS does not know or care is email address is single recipient or list.
    It sends message to name provided.
    It is up to MTA to deliver any message it gets.
    Are you 100% certain that message got to MTA & was successfully processed by it?

  • ODP bug with generated SQL script when using DateTime

    With EF5, I'm getting some really weird SQL scripts when dealing with DateTime.
    THe follow script works fine.
    var a = db.MOTOR_POOL_RESERVATION
    .Where(o => o.DEPART_DT > new DateTime(2013, 1, 1))
    .Select(o => o.RESERVATION_ID)
    .ToList();
    SELECT "Extent1"."RESERVATION_ID" AS "RESERVATION_ID"
    FROM "MOTORPOOL"."MOTOR_POOL_RESERVATION" "Extent1"
    WHERE ("Extent1"."DEPART_DT" > TO_TIMESTAMP('2013-01-01 00:00:00.000', 'YYYY-MM-DD HH24:MI:SS.FF'))
    But as soon as I create DateTime with year, month or day values forming from a variable, then generated scripts become incorrect.
    var year = 2013;
    var month = 3;
    var dt = new DateTime(year, month, 1);
    var c = db.MOTOR_POOL_RESERVATION
    .Where(o => o.DEPART_DT > dt)
    .Select(o=>o.RESERVATION_ID)
    .ToList();
    see the date is treated a string.
    SELECT "Extent1"."RESERVATION_ID" AS "RESERVATION_ID"
    FROM "MOTORPOOL"."MOTOR_POOL_RESERVATION" "Extent1"
    WHERE ("Extent1"."DEPART_DT" > '2013-03-01 00:00:00')
    var b = db.MOTOR_POOL_RESERVATION
    .Where(o => o.DEPART_DT > new DateTime(year, month, 1))
    .Select(o => o.RESERVATION_ID)
    .ToList();
    same problem with this one.
    SELECT "Extent1"."RESERVATION_ID" AS "RESERVATION_ID"
    FROM "MOTORPOOL"."MOTOR_POOL_RESERVATION" "Extent1"
    WHERE ("Extent1"."DEPART_DT" > '2013-03-01 00:00:00')

    It turns out that the sql is valid since I'm using bind parameters.

  • Pl/sql DOM MakeDocument using a node fails

    I am new to xml and have a question. Below code fails with an error ORA-31183: Node type element cannot be converted to desired type. Question is why can't I make a document by passing in a node to makedocument function. If you see the last statement in below code I am calling xmldom.MakeDocument(node) . what I am trying to do is create a document for each detail child node so that I can use xmldom.getElementsByTagName to get the elements that I need. I think (?) xmldom.getElementsByTagName only takes a document as parameter. Please help
    DECLARE
    myparser DBMS_XMLPARSER.parser;
    indomdoc xmldom.DOMDocument;
    innode xmldom.DOMNode;
    nchild xmldom.DOMNode;
    ngrandchild xmldom.DOMNode;
    ngreatgrandchild xmldom.DOMNode;
    nworksetdoc xmldom.DOMDocument;
    BEGIN
    myParser := DBMS_XMLPARSER.newParser;
    DBMS_XMLPARSER.parse(myParser, 'FCSDIR/smallexport1.xml');
    indomdoc := DBMS_XMLPARSER.getDocument(myParser);
    nchild := xmldom.getFirstChild(xmldom.MakeNode(indomdoc));
    dbms_output.put_line(xmldom.getNodename(nchild));
    ngrandchild := xmldom.getFirstChild(nchild);
    dbms_output.put_line(xmldom.getNodename(ngrandchild));
    ngreatgrandchild := xmldom.getFirstChild(ngrandchild);
    dbms_output.put_line(xmldom.getNodename(ngreatgrandchild));
    nworksetdoc := xmldom.MakeDocument(ngreatgrandchild);
    END;
    /

    I posted an example showing how to build a tree in pl/sql using the xmlparser and xmldom packages.

  • Which SQL script to use for setting up default TestStand tables?

    Hello,
    I'm creating a small test application and would like to log test results to an SQL Server database. The Preparing to Implement Database Logging page mentions scripts that I can use to set up my database. In my folder, I found 3 table creation scripts:
    SQL Server Create Generic Insert Result Tables.sql
    SQL Server Create Generic Recordset Result Tables.sql
    SQL Server Create Stored Proc Result Tables.sql
    What are the differences between these, and which should I use?
    Thanks!
    Solved!
    Go to Solution.

    In the database options dialog --> Go to the schemas tab and click on each one of the options ( generic recordset,Generic INsert,etc).In the comments section you will find the difference.
    You can use either of them but ensure that the whatever tables script you have run on the DB same option is selected in the DB options.
    Hope this helps.

  • SQL Agent Job failing - not using credentials in the config file for Data source

    Hi
    We have an SSIS pkg, that is secheduled as SQL Agent job using proxy account. The pkg contanins data source for connecting different SQL servers and the proxy account do not have access to the external DBs. The data source credentials are stored in the Config
    file.
    Why the job is not using the credentials in the config file and try to use the proxy account and failing.
    Do the proxy account need access to all the external dbs in the pkg, and then what is the purpose of the config file.
    I am sorry, i am not SSIS person trying to understand. If any one can explain tha will be great!!
    Thank you!
    VR

    Please take a look at these URLs:
    Schedule a Package by using SQL Server Agent
    SSIS package does not run when called from a SQL Server Agent job step
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • Using &variables in a SQL Script scheduled job within OEM

    Hi...I've been searching through the forum looking for any examples of setting up a job within OEM, using the SQL Script job type, where I can basically use a WHERE clause that says 'where column_name = &variable_name' and somehow provide that at run time, as if I were in a SQL*Plus session and using a PROMPT and ACCEPT command. I thought there might be a way to emulate that situation by placing the value I'd like to qualify on within some placeholder in the Parameter section of the job. We have a few users who have limited access to OEM and need to run queries on GRANTS and ROLES for various users etc. I realize there are other ways to do this, however I'm wondering if OEM has a capability like this. Any info is appreciated! Tks!

    Looks like you're missing the schema name and you'll want to use QUOTENAME to add delimiters to the objects
    e.g. 
    DECLARE @DATABASE AS VARCHAR(50)
    DECLARE @SchemaName as SYSNAME;
    DECLARE @TABLE AS VARCHAR(50)
    DECLARE @QUERY AS VARCHAR(MAX)
    SELECT @DATABASE = '602'
    SELECT @SchemaName = 'dbo' --change as appropriate
    SELECT @TABLE = 'Items'
    SET @QUERY = 'SELECT TOP 10 * FROM ' + QUOTENAME(@DATABASE)+'.' + QUOTENAME(@SchemaName) + '.'+QUOTENAME(@TABLE)
    print @query
    EXEC( @QUERY)

  • How to Schedule Job using Database Control for SQLPLUS script?

    Hi All,
    I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
    ========================================================
    define OEM_FRIENDLY=1
    define OWB_BACKGROUND=0
    set serveroutput on
    set verify off
    whenever sqlerror exit failure;
    define REPOS_OWNER='&1.'
    define LOCATION_NAME='&2.'
    define TASK_TYPE='&3.'
    define TASK_NAME='&4.'
    define SYSTEM_PARAMS='&5.'
    define CUSTOM_PARAMS='&6.'
    alter session set current_schema = &REPOS_OWNER.;
    set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
    '&TASK_TYPE.',
    '&TASK_NAME.',
    '&CUSTOM_PARAMS.',
    '&SYSTEM_PARAMS.',
    &OEM_FRIENDLY.,
    &OWB_BACKGROUND.);
    end;
    exit :exec_return_code;
    ===========================================================
    Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
    Please provide brief steps.
    Thanks for your help in advance.
    - Mehul

    Let me explain to you about scheduler.
    You can schedule a pl/sql stored procedure TEST_S as follows...
    Begin
    dbms_scheduler.create_job(
    job_name=>'MY_JOB',
    Job_Type=>'STORED_PROCEDURE',
    job_action=>'TEST_S',
    start_date=>sysdate,
    repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
    end_date=>null');
    END;
    You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
    Example of converting a .sql script in .bat script...
    insert.sql
    insert into dept values(50,'IT','LONDON');
    exit
    insert.bat
    sqlplus scott/tiger @insert.sql
    Executing now...
    C:\Documents and Settings>insert.bat
    C:\Documents and Settings>sqlplus scott/tiger @insert.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    1 row created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings>
    So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
    Scheduling by database control...
    http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
    Scheduler
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
    PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package.

  • SQL script with host command job in Enterprise Manger Grid Control

    I use Enterprise Manger Grid Control 10.2.0.5 and need to create SQL script job on database instance target on unix/linux platform.
    I have problem with os command inside sqlplus script.
    For example for the simple command: SQL> host ls
    I get the message in output log: SQL> SQL> SQL> SQL> SQL> SQL> /bin/bash: ls: command not found
    Can anyone help me?
    Thank you.

    Hi,
    Make sure you have granted all necessary rights (log on as a batch job etc.) to the user used in the prefered credentials.
    Cheers,
    Kenneth

  • How to use parameters in oracle SQL script????

    Right now I am writing a SQL script to create a schema and build the objects of this schema....
    I use a .net winform program to run sqlplus to parse this sql script ...
    The problem is that the schema name and the tablespace's location and the sys password must be input by the user, so my SQL script should use these runtime input parameters instead of const parameters....
    So, how to use parameter in SQL script ...........
    Are there some example scripts in oracle home directory for me to refer to????

    Hi,
    UNISTD wrote:
    thanks .....
    what's the difference between variable , define, accept in sqlplus ???VARIABLE declares (but does not assign a value to) a bind variable. Unlike substitution variables, bind variables are passed to the back end to be compiled, and they can only be values in certain data types. You can not use a bind vaiable in place of an identifier, so to do something like
    CREATE USER  &1 ...a bind variable won't work.
    "DEFINE x = y" sets the substitution variable &x to have the value y. There is no user interaction (unless x or y happen to contain undefined substtiution variables).
    "DEFINE x" shiows the value of the substitution variable &x, or, if it is undefined, raises a SQL*Plus error. I use this feature below.
    ACCEPT sets a substitution variable with user interaction.
    And if the user miss some parameters in “sqlplus /nolog ssss.sql par1 par2 par5 par6”, how to use default value of the miss parameters??Don't you need a @ befiore the script name, e.g.
    sqlplus /nolog @ssss.sql par1 par2 par5 par6Sorry, I don't know of any good way to use default values.
    The foloowing works, but, as you can see, it's ugly.
    "DEFINE 1" display a message like
    DEFINE 1            = "par1" (CHAR)if &1 is defined; otherwise,it will display a SQL*Plus error message like
    SP2-035: symbol 1 is UNDEFINEDNotice that the former contains an '=' sign, but the latter does not.
    The best way I know to use default values is to run the DEFINE command, save the output to a filee, read the file, and see if it's an error message or not.
    So you can use a script like this:
    --     This is  DEFINE_DEFAULT.SQL
    SPOOL     got_define_txt.sql
    DEFINE     &dd_old
    SPOOL     OFF
    COLUMN     dd_new_col     NEW_VALUE     &dd_new
    WITH     got_define_txt     AS
         SELECT  q'[
              @got_define_txt
    ]'               AS define_txt
         FROM    dual
    SELECT     CASE
             WHEN  define_txt LIKE '%=%'
             THEN  REGEXP_REPLACE ( define_txt
                               , '.+"
    ([^"]*)
                         , '\1'
             ELSE  '&dd_default'
         END        AS dd_new_col
    FROM     got_define_txt
    {code}
    and start your real script, ssss.sql, something like this:
    {code}
    DEFINE          dd_new     = sv1
    DEFINE          dd_old     = 1
    DEFINE          dd_default     = FOO
    @DEFINE_DEFAULT
    DEFINE          dd_new     = sv2
    DEFINE          dd_old     = 2
    DEFINE          dd_default     = "Testing spaces in value"
    @DEFINE_DEFAULT
    {code}
    when this finishes running, the substitution variable &sv1 will either have the value you passed in &1 or, if you didn't pass anything, the default value you specified, that is FOO.
    Likewise, &sw2 will have the value you passed, or, if you didn't pass anything, the 23-character string 'Testing spaces in value'.
    Here's how it works:
    Define_default.sql puts the output of the "DEFINE x" command into a column, define_txt, in a query.  That query displays either the existing value of the substitution variable indicated by &dd_old or, if it is undefined, the default value you want to use, which is stored in the substitution variable &dd_default.  The substitution variable named in &dd_new is always set to something, but that something may be its existing value.
    Notice that the paramerters to define_default.sql must be passed as global varibales.
    Why didn't I just use arguments, so that we could simply say:
    {code}
    @DEFINE_DEFAULT  sv1  1  FOO
    {code}
    ?  Because that would set the substitution variables &1, &2 and &3, which are miost likely the very ones in which you're interested.
    I repeat: there must be a better way, but I'm sorry, I don't know what it is.
    I usually don't do the method above.  Instead, I always pass the required number of parameters, but I pass dummy or plce-holder values.
    For example, if I wanted to call ssss.sql, but use defulat vlaues for &1 and &3, then I would say something like:
    {code}
    @ssss  ?  par2  ?
    {code}
    and, inside ssss.sql, test to see if the values are the place holder '?', and, if so, replace them with some real default value.  The use has  to remember what the special place holder-value is, but does not need to know anything more, and only ssss.sql itself needs to change if the default values change.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • OEM12c Job - Run a SQL Script from a central location against multiple targets

    Hi All:
    I need to execute a SQL script that can be run as OEM Job against multiple targets from a single location so that the output csv files are all in that central location. My problem is that the sql script job documentation says "Make sure that the script file is installed in the appropriate location on all targets". Is anyone aware of a way I can do this so that the SQl script is executed from a location on my OMS console?
    Cheers

    Hi
    Create SQL job to run against on the server. Save those results (csv) file in local target. And crete one OS job, to collect all csv files into your OMS Console.
    Regards
    Krishnan

  • Used Columns in SQL script/query

    Hi,
    we really have many SQL scripts.
    Since we expect changes within the schema, we need to know the scripts which have to be reworked.
    Is there any tool available which identifies all columns refereced by a sql script (columns used in select-list, where-clause, order-by clause, ...) ?
    Axel.

    There is a function in TOAD (http://www.toadsoft.com/) Schema Browser you select the table that need to be changed then you select the tab "used by" and it will show the stored procedures that are using this TABLE (not columns). Also this option only display stored code in the database and not unnamed scripts.
    This is a script you can use:
    Select owner, object_type, object_name, object_id, status
    from sys.DBA_OBJECTS where object_id in (
    Select object_id
    from public_dependency
    connect by prior object_id = referenced_object_id
    start with referenced_object_id = (
    Select object_id from sys.DBA_OBJECTS
    where owner = 'OWNER'
    and object_name = 'TABLE_NAME'
    and object_type = 'TABLE' ))
    I hope this is useful to you.
    Message was edited by:
    Delfino N.

  • Starnge "sender" and "recipients" using UTL_MAIL

    i am using UTL_MAIL.SEND and send correctly the email to teh recipent
    but when i analize the header of the email, if i send to [email protected] from [email protected]
    i founf this :
    From: =?WE8MSWIN1252?Q?[email protected]?=
    To: =?WE8MSWIN1252?Q?[email protected]?=
    and there is a lot of probelm to read the message !!!
    noone Know Someting ??

    This is described in MetaLink bugs 3506588, 4344669, 4047618 for Oracle 10.1
    and is supposed to be fixed in 10.2

  • Passing variables to a SQL script within GC

    Does anyone know if it is possible to pass in a variable to a SQL script job within Grid Control? I don't see that I can but I wanted to ask a larger group before cloing the loop on this.
    For example, I have a few different databases which contain schemas which contain date-range daily partitioned tables. I have a single code block which normally accepts the table_owner as a variable then loops through to analyze the current day partition. I'd love for OEM to be able to have the job submitted to different database targets whilst passing in a different schema name.
    Thank you in advance!

    This can be done in two steps, but first create a table containing 1 field in all the target databases (something like table_owner) you want to analyze. Before running the analyze script change in all the to be analyzed databases the table_owner (as a job?). Then run the analyze script that contains a statement that first reads the table_owner and use this table_owner as the variable you want.
    Even more simple would be to use a database link from the to be analyzed db's to a central db so you only have to change the table_owner in one table.
    Eric

Maybe you are looking for

  • New MBP 15 can't work 8-9 hours

    Just bought a 15' MBP 2.4GHz online. Everything is excellent, except for the battery. It seems to only work for 4-5 hours without AC, not 8-9 hours like said on the website. The full charge capacity is 6899. I have no idea about these numbers, so ask

  • After 10.4.8 - Am I the only one with NEW problems??

    After years of experiencing glitch-free connection to the Internet via our cable provider and my AEBS and AX - (3 laptops and a G5 iMac) after the latest update, it seems the whole system imploded. As I've posted here previously, after this "update"

  • How to import catalog structure in other machines.

    Hi,     I have two queries.:-    1).   I have a Clothing Catalog on my machine which I created in ACC. How do I import this catalog structure in other machines as well.    2).  How to specify CatalogId in my project if I have multiple Catalogs in my

  • ASR1002 - For DNS it seems that NAT doesn't work correctly

    Hi Folks, For DNS it seems that NAT doesn't work correctly The ASR 1002 works as a NAT-Router. But for DNS it seems that NAT doesn't work correctly. All DNS packets with a frame size greater than 512byte are not processed (they donїt arrive at the DN

  • Behavior of query to blob service with prefix/delimiter parameters with 2009-09-19 REST API

    I'm having trouble properly accessing the blob storage service using raw HTTP requests.  So far, listing raw container contents has worked as expected. Using just a delimiter to simulate directories in the root of the container also works fine. Howev