Error -ORA-01483: invalid length for DATE or NUMBER bind variable

In discoverer plus, attempt to save a discoverer workbook into the database fails with the error:
ORA-01483 invalid length for DATE or NUMBER bind variable
The same workbook can be safely saved in "My Computer".
Any idea why and what is the solution.

Why: not quite sure, probably the code is validating the workbook when it saves it to the db and you've got an error in the sql. What happens when you run the workbook that you saved to the file system? Does it show the same error when run?
Solution: Can you post the sql in the workbook? In the meantime try the following: Replace any to_char statements around dates with to_date statements instead. For example:
Replace:
where to_char(mydate, 'dd-mon-yyyy') = '05-apr-2009'
With:
where mydate = to_date('05-APR-2009','DD-MON-YYYY')

Similar Messages

  • Error ORA-02248 invalid option for ALTER SESSION

    Hi All,
    I'm using windows vista.I have installed oracle database 11g.Now, SQL Developer is working fine in this.I gave the sid as orcl and gave my username and password in sqldeveloper and it works.
    But the host string is not working in forms and sql plus.How do i know which host string i should give??I came to know that the tnsnames.ora which is present in the oracle home directory should be copied to forms directory also.I did that too but still forms,reprorts and sql plus are not working.I get two errors namely ORA-02248 invalid option for ALTER SESSION and TNS could not resolve service name .Pls suggest how to proceed.Thanks in advance....
    Regards,
    Gowtham

    Unfortunately you forgot to mention forms/reports version. Currently only one Developer Suite version is certified on Vista running 11g,don't ignore software/hardware requirements.
    It's 10.1.2.0.2 and that package requires additionally patch 6153263.
    Werner

  • How to resolve error ORA-29491: invalid table for chunking?

    Hello,
    I'm trying to implement DBMS_PARALLEL_EXECUTE to speed up a huge update I need to do. I'm stuck on a problem with the table I'm using to test my procedure. Here's a simple test that produces the same error. As best I can tell, the table I'm declaring here is missing some kind of requirement that lets DBMS_PARALLEL_EXECUTE make use of it, but the docs and searching for the error code haven't turned up any useful discussions. Please help.
    drop table owner.why_cant_i_hold;
    create table owner.why_cant_i_hold (
    things VARCHAR2 (64),
    amount INT,
    CONSTRAINT why_cant_i_pk PRIMARY KEY (things)
    insert into why_cant_i_hold values ('limes', 8);
    insert into why_cant_i_hold values ('lemons', 8);
    insert into why_cant_i_hold values ('watermelons', 5);
    insert into why_cant_i_hold values ('cats', 4);
    insert into why_cant_i_hold values ('teacups',10);
    insert into why_cant_i_hold values ('mugs', 5);
    insert into why_cant_i_hold values ('eggs', 15);
    insert into why_cant_i_hold values ('jobs', 3);
    commit;
    -- got tasks?
    COLUMN task_name FORMAT A10
    SELECT task_name,
    status
    FROM user_parallel_execute_tasks;
    --exec DBMS_PARALLEL_EXECUTE.CREATE_TASK('holding');
    exec DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID('holding', 'ODDEV03', 'why_cant_i_hold', true, 3);
    It seems like a really simple case here. The output is all successful until
    "Error starting at line 25 in command:
    exec DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID('holding', 'owner', 'why_cant_i_hold', true, 3);
    Error report:
    ORA-29491: invalid table for chunking
    ORA-06512: at "SYS.DBMS_PARALLEL_EXECUTE", line 27
    ORA-06512: at "SYS.DBMS_PARALLEL_EXECUTE", line 121
    ORA-06512: at line 1"

    Oh. This was an easy one, table names are never really lower-case. Changing the value in my chunking call fixed the simple test:
    exec DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID('holding', 'ODDEV03', 'WHY_CANT_I_HOLD', true, 3);
    It doesn't help with why my more complicated test case isn't working, but I have details to check before I ask again.
    EDIT: lesson learned... 'invalid table' doesn't mean the database can find the table you are talking about at all. I hope that's a help.
    Edited by: user519442 on Nov 16, 2011 12:33 PM

  • Deployment Error ORA-02248: invalid option for ALTER SESSION

    While trying to deploy application on oc4j standalone 10.1.2, I receive the following error:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    Any ideas?

    Hello,
    Which kind of application are you deploying?
    What the application is doing with the database during deployment? (what j2ee components are you using that could access the DB during deployment)
    Regards
    Tugdual Grall

  • ORA-1459 INVALID LENGTH FOR VARIABLE CHARACTER STR

    HI Guys,
    Developers in my team are facing this problem.
    I thought this error is not related to database. IS it?\
    Can you please provide me with any details on this error.
    Thanks
    Vijay

    You can find all errors online at http://tahiti.oracle.com
    So far, you have exclusively been asking questions for which you can and refuse to look up the answer in the online documentation.
    I hereby ask you formally to stop asking doc questions, and to consult documentation before posting anything.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-03217: invalid option for alter of TEMPORARY TABLESPACE

    Hi all
    I have a database with 300 Users approximantely.
    Suddenly I was reported about slowly connection and looked to my database. And I saw that Temporary tablespace with name MUVTEMP is 0% used and in it there is no .dbf file
    Then I do ls on my data files directory and saw there MUVTEMP01.dbf!
    But it's not using it. Then I want to add another .dbf file. It created this file physically but not joined it to my temporary tablespace.
    Then I did it with Oracle EM, clicked on "Show SQL" and there was written
    ALTER TABLESPACE "MUVTEMP"
    ADD
    DATAFILE '/home/oracle/OraHome1/oradata/linux/test.dbf' SIZE
    5M
    I run it from EM it gave this error
    ORA-03217: invalid option for alter of TEMPORARY TABLESPACE
    Then I run this SQL in sqlplus
    ALTER TABLESPACE "MUVTEMP"
    ADD
    TEMPFILE '/home/oracle/OraHome1/oradata/linux/test.dbf' SIZE
    5M
    it created file physically, but I can't see this file as temporary tablespace's file. It's not using....
    Where is my mistake???
    Thanks...

    Hi,
    try this query:
    select s.sid || ',' || s.serial# sid, s.username, u.tablespace, substr(a.sql_text, 1, (instr(a.sql_text, ' ')-1)) sql_text,
      round(((u.blocks*p.value)/1024/1024),2) size_mb
    from v$sort_usage u, v$session s, v$sqlarea a, v$parameter p
    where s.saddr = u.session_addr
      and a.address (+) = s.sql_address
      and a.hash_value (+) = s.sql_hash_value
      and p.name = 'db_block_size'
    group by s.sid || ',' || s.serial#, s.username, substr(a.sql_text, 1, (instr(a.sql_text, ' ')-1)), u.tablespace, round(((u.blocks*p.value)/1024/1024),2);

  • ORA-20015: Invalid tablespace for table

    I have a table partioned by range and have done interval partitioning on a date column.
    when i apply the lifecycle definition on this table i get the following error ORA-20015: Invalid tablespace for table .
    Also in the list of candidate tables,it shows Table Partioning Not Available.
    Any help on this

    any resolution so far?

  • Form6i connecting to DB11g, ORA-02248: invalid option for ALTER SESSION

    when i am try to connect forms6 to database 11G then receiving this error:
    ORA-02248: invalid option for ALTER SESSION ,
    any one can help.
    Regard
    MK

    I believe Forms 6i issues this:
    ALTER SESSION SET REMOTE_DEPENDENCIES_MODE = SIGNATURE
    See if it is valid in Oracle 11.
    If that is not the problem, run your form with trace on, and view the SQL statements passed. From my notes, trace is :
    In C:\Orant\Net80\admin\SQLNET.ORA, set:
    trace_level_client = 16
    then run the form. File produced is named in:
    trace_directory_client = C:\ORANT\NET80\TRACE
    trace_file_client = C:\ORANT\NET80\TRACE\cli.trc
    Please report back what you find.

  • ORA-00932: inconsistent datatypes: expected DATE got NUMBER at OCI call OCIStmtExecute in OBIEE 11g

    Hi Friends,
    I am getting this error : ORA-00932: inconsistent datatypes: expected DATE got NUMBER at OCI call OCIStmtExecute when I am trying to put the filter condition on the date column.
    "Dim-Time"."Day" <= cast(MAX("Dim-Time"."Day") as date)  and "Dim-Time"."Day" >= TIMESTAMPADD(SQL_TSI_MONTH, -1,cast(MAX("Dim-Time"."Day") as date).
    I have casted the max date but though I am getting the above error. I am thinking max(date) is creating the problem.
    Please suggest your on opinion this.
    Thanks.

    Not sure why you need cast in your statement if at all it is required then you need to do as below
    cast("Dim-Time"."Day"  as date)<= cast(MAX("Dim-Time"."Day") as date)  and cast("Dim-Time"."Day"  as date) >= TIMESTAMPADD(SQL_TSI_MONTH, -1,cast(MAX("Dim-Time"."Day") as date).
    ~ http://cool-bi.com

  • Dashboard refresh - ORA-24373 invalid length specified for statement

    Post Author: Reesy
    CA Forum: Performance Management and Dashboards
    I am getting the following error message in the log file "ORA-24373: invalid length specified for statement" when trying to refresh a metric via dashboard manager. The metric has been successfully refreshed previously. The only change that I am aware of is that more data has been added to the underlying database (Oracle 10g).
    There are a number of different filters on the metric - some work ok - some give the above error.
    Can anyone help?
    Cheers

    IWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
    ATABLEALIASWOULDPROBABLYHELPTOO.

  • Error During Installation: ORA-02180: invalid option for CREATE TABLESPACE

    Hi all,
    This is our enviroment,
    Windows 2000 Service Pack 4
    We are installing SAP R/3 Enterprise 4.7 Ext. 200 SR1
    First we installed:
    Oracle: 9.2
    Patch: 9.2.0.7
    SAP Central Instance
    Now we are installing the DB Instance, but it gives this error:
    INFO 2007-11-22 16:58:20
    Working directory changed to C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\NUC\DB.
    ERROR 2007-11-22 16:58:21
    CJS-00084  SQL statement or script failed.DIAGNOSIS: Error message: ORA-02180: invalid option for CREATE TABLESPACE
    We are in the step 19 of 34
    Create Tablespaces
    Please some tips.
    Regards,
    Erick

    Hi! Thanks a lot for the reply.
    This is our <b>ora_sql_results.log</b>
    ================================================================================
    2007-11-23, 07:31:09 SAPINST ORACLE start logging for
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 9.2.0.7.0 - Production on Fri Nov 23 07:31:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected.
    OPEN
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SAPINST: End of output of SQL executing program D:\oracle\TVD\920/bin/sqlplus.
    2007-11-23, 07:31:10 SAPINST ORACLE stop logging
    ================================================================================
    2007-11-23, 07:31:10 SAPINST ORACLE start logging for
    connect  /  as sysdba ;
    CREATE TABLESPACE PSAP@SCHEMAID@ DATAFILE 'E:\oracle\TVD\sapdata4\psap@schemaid@_1\psap@[email protected]' SIZE 2000M  REUSE  AUTOEXTEND  ON NEXT 20M MAXSIZE 10000M  LOGGING ONLINE PERMANENT  EXTENT MANAGEMENT  LOCAL  AUTOALLOCATE  SEGMENT SPACE MANAGEMENT AUTO ;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 9.2.0.7.0 - Production on Fri Nov 23 07:31:10 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected.
    CREATE TABLESPACE PSAP@SCHEMAID@ DATAFILE 'E:\oracle\TVD\sapdata4\psap@schemaid@_1\psap@[email protected]' SIZE 2000M  REUSE  AUTOEXTEND     ON NEXT 20M MAXSIZE 10000M  LOGGING ONLINE PERMANENT  EXTENT MANAGEMENT  LOCAL     AUTOALLOCATE  SEGMENT SPACE MANAGEMENT AUTO
    ERROR at line 1:
    ORA-02180: invalid option for CREATE TABLESPACE
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SAPINST: End of output of SQL executing program D:\oracle\TVD\920/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2007-11-23, 07:31:10 SAPINST ORACLE stop logging
    And this is <b>our alert_SID.log</b>
    Dump file d:\oracle\tvd\saptrace\background\alert_tvd.log
    Thu Nov 22 16:27:45 2007
    ORACLE V9.2.0.7.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Thu Nov 22 16:27:45 2007
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.7.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      shared_pool_size         = 251658240
      sga_max_size             = 546906620
      shared_pool_reserved_size= 24363663
      enqueue_resources        = 8000
      control_files            = E:\oracle\TVD\origlogA\cntrl\cntrlTVD.dbf, E:\oracle\TVD\sapdata1\system_1\cntrl\cntrlTVD.dbf, D:\oracle\TVD\saparch\cntrl\cntrlTVD.dbf
      db_block_size            = 8192
      db_cache_size            = 251658240
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = D:\oracle\TVD\oraarch\TVDarch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      db_files                 = 254
      fast_start_mttr_target   = 900
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 4000
      transaction_auditing     = FALSE
      undo_management          = AUTO
      undo_tablespace          = PSAPUNDO
      undo_retention           = 43200
      remote_os_authent        = TRUE
      hash_join_enabled        = FALSE
      background_dump_dest     = D:\oracle\TVD\saptrace\background
      user_dump_dest           = D:\oracle\TVD\saptrace\usertrace
      core_dump_dest           = D:\oracle\TVD\saptrace\background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = TVD
      open_cursors             = 800
      pga_aggregate_target     = 324848844
      workarea_size_policy     = AUTO
      statistics_level         = typical
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Thu Nov 22 16:27:48 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC1 started with pid=9
    Thu Nov 22 16:27:48 2007
    ARC0: Archival started
    Thu Nov 22 16:27:48 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Nov 22 16:27:48 2007
    ARC1: Archival started
    Thu Nov 22 16:27:48 2007
    ARC0: Becoming the 'no FAL' ARCH
    Thu Nov 22 16:27:48 2007
    ARC1: Becoming the heartbeat ARCH
    Thu Nov 22 16:27:48 2007
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Thu Nov 22 16:27:48 2007
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Thu Nov 22 16:27:49 2007
    alter database mount exclusive
    Thu Nov 22 16:27:49 2007
    ORA-00202: controlfile: 'E:\oracle\TVD\origlogA\cntrl\cntrlTVD.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Thu Nov 22 16:27:50 2007
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 1
    Instance terminated by USER, pid = 1768
    Thu Nov 22 16:28:05 2007
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.7.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      shared_pool_size         = 251658240
      sga_max_size             = 546906620
      shared_pool_reserved_size= 24363663
      enqueue_resources        = 8000
      control_files            = E:\oracle\TVD\origlogA\cntrl\cntrlTVD.dbf, E:\oracle\TVD\sapdata1\system_1\cntrl\cntrlTVD.dbf, D:\oracle\TVD\saparch\cntrl\cntrlTVD.dbf
      db_block_size            = 8192
      db_cache_size            = 251658240
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = D:\oracle\TVD\oraarch\TVDarch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      db_files                 = 254
      fast_start_mttr_target   = 900
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 4000
      transaction_auditing     = FALSE
      undo_management          = AUTO
      undo_tablespace          = PSAPUNDO
      undo_retention           = 43200
      remote_os_authent        = TRUE
      hash_join_enabled        = FALSE
      background_dump_dest     = D:\oracle\TVD\saptrace\background
      user_dump_dest           = D:\oracle\TVD\saptrace\usertrace
      core_dump_dest           = D:\oracle\TVD\saptrace\background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = TVD
      open_cursors             = 800
      pga_aggregate_target     = 324848844
      workarea_size_policy     = AUTO
      statistics_level         = typical
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Thu Nov 22 16:28:08 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC0: Archival started
    ARC1 started with pid=9
    Thu Nov 22 16:28:08 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Nov 22 16:28:08 2007
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Thu Nov 22 16:28:09 2007
    ARC1: Archival started
    Thu Nov 22 16:28:09 2007
    ARC1: Becoming the heartbeat ARCH
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Thu Nov 22 16:28:11 2007
    CREATE DATABASE TVD CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET WE8DEC NATIONAL CHARACTER SET UTF8 DATAFILE 'E:\oracle\TVD\sapdata1\system_1\system.data1' SIZE 550M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE 'E:\oracle\TVD\sapdata3\temp_1\temp.data1' SIZE 540M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE 'E:\oracle\TVD\sapdata2\undo_1\undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('E:
    oracle/TVD/origlogA/log_g11m1.dbf',
    'D:
    oracle/TVD/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,
    GROUP 2 ('E:
    oracle/TVD/origlogB/log_g12m1.dbf',
    'D:
    oracle/TVD/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,
    GROUP 3 ('E:
    oracle/TVD/origlogA/log_g13m1.dbf',
    'D:
    oracle/TVD/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,
    GROUP 4 ('E:
    oracle/TVD/origlogB/log_g14m1.dbf',
    'D:
    oracle/TVD/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSE
    Thu Nov 22 16:28:12 2007
    Database mounted in Exclusive Mode.
    Thu Nov 22 16:28:29 2007
    Successful mount of redo thread 1, with mount id 1434613531
    Assigning activation ID 1434613531 (0x5582771b)
    Thread 1 opened at log sequence 1
    Thu Nov 22 16:28:30 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:28:31 2007
      Current log# 1 seq# 1 mem# 0: E:\ORACLE\TVD\ORIGLOGA\LOG_G11M1.DBF
      Current log# 1 seq# 1 mem# 1: D:\ORACLE\TVD\MIRRLOGA\LOG_G11M2.DBF
    Successful open of redo thread 1
    Thu Nov 22 16:28:31 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:28:31 2007
    SMON: enabling cache recovery
    Thu Nov 22 16:28:32 2007
    WARNING: Default passwords for SYS and SYSTEM will be used.
             Please change the passwords.
    Thu Nov 22 16:28:32 2007
    create tablespace SYSTEM datafile  'E:\oracle\TVD\sapdata1\system_1\system.data1' SIZE 550M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
      EXTENT MANAGEMENT LOCAL online
    Thu Nov 22 16:28:51 2007
    Completed: create tablespace SYSTEM datafile  'E:\oracle\TVD\
    Thu Nov 22 16:28:51 2007
    create rollback segment SYSTEM tablespace SYSTEM
      storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    Thu Nov 22 16:29:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:29:10 2007
    CREATE UNDO TABLESPACE PSAPUNDO DATAFILE  'E:\oracle\TVD\sapdata2\undo_1\undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    Thu Nov 22 16:29:35 2007
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE PSAPUNDO DATAFILE  'E:\orac
    Thu Nov 22 16:29:36 2007
    CREATE TEMPORARY TABLESPACE PSAPTEMP TEMPFILE  'E:\oracle\TVD\sapdata3\temp_1\temp.data1' SIZE 540M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    Completed: CREATE TEMPORARY TABLESPACE PSAPTEMP TEMPFILE  'E:
    Thu Nov 22 16:29:36 2007
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE PSAPTEMP
    Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE PSAPTE
    Thu Nov 22 16:29:39 2007
    SMON: enabling tx recovery
    Thu Nov 22 16:29:39 2007
    Beginning local checkpoint up to RBA [0x1.538b.10], SCN: 0x0000.000019d9
    Completed checkpoint up to RBA [0x1.538b.10], SCN: 0x0000.000019d9
    kwqplbsc: open notifier exception err 604
    replication_dependency_tracking turned off (no async multimaster replication found)
    Completed: CREATE DATABASE TVD CONTROLFILE REUSE  MAXLOGFILES
    Thu Nov 22 16:30:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:31:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:31:28 2007
    Beginning log switch checkpoint up to RBA [0x2.2.10], SCN: 0x0000.00006489
    Thread 1 advanced to log sequence 2
    Thu Nov 22 16:31:28 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:31:29 2007
      Current log# 2 seq# 2 mem# 0: E:\ORACLE\TVD\ORIGLOGB\LOG_G12M1.DBF
      Current log# 2 seq# 2 mem# 1: D:\ORACLE\TVD\MIRRLOGB\LOG_G12M2.DBF
    Thu Nov 22 16:32:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:33:08 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:33:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:33:16 2007
    Completed checkpoint up to RBA [0x2.2.10], SCN: 0x0000.00006489
    Thu Nov 22 16:33:26 2007
    Beginning log switch checkpoint up to RBA [0x3.2.10], SCN: 0x0000.00009227
    Thread 1 advanced to log sequence 3
    Thu Nov 22 16:33:26 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:33:26 2007
      Current log# 3 seq# 3 mem# 0: E:\ORACLE\TVD\ORIGLOGA\LOG_G13M1.DBF
      Current log# 3 seq# 3 mem# 1: D:\ORACLE\TVD\MIRRLOGA\LOG_G13M2.DBF
    Thu Nov 22 16:34:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:35:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:35:19 2007
    Completed checkpoint up to RBA [0x3.2.10], SCN: 0x0000.00009227
    Thu Nov 22 16:35:28 2007
    Beginning log switch checkpoint up to RBA [0x4.2.10], SCN: 0x0000.0000b0ac
    Thread 1 advanced to log sequence 4
      Current log# 4 seq# 4 mem# 0: E:\ORACLE\TVD\ORIGLOGB\LOG_G14M1.DBF
    Thu Nov 22 16:35:28 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:35:28 2007
      Current log# 4 seq# 4 mem# 1: D:\ORACLE\TVD\MIRRLOGB\LOG_G14M2.DBF
    Thu Nov 22 16:36:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:37:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:38:08 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:38:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:38:51 2007
    Completed checkpoint up to RBA [0x4.2.10], SCN: 0x0000.0000b0ac
    Thu Nov 22 16:38:59 2007
    Beginning log switch checkpoint up to RBA [0x5.2.10], SCN: 0x0000.0000e12b
    Thread 1 advanced to log sequence 5
    Thu Nov 22 16:38:59 2007
      Current log# 1 seq# 5 mem# 0: E:\ORACLE\TVD\ORIGLOGA\LOG_G11M1.DBF
      Current log# 1 seq# 5 mem# 1: D:\ORACLE\TVD\MIRRLOGA\LOG_G11M2.DBF
    Thu Nov 22 16:39:00 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:39:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:40:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:41:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:41:09 2007
    Completed checkpoint up to RBA [0x5.2.10], SCN: 0x0000.0000e12b
    Thu Nov 22 16:41:18 2007
    Beginning log switch checkpoint up to RBA [0x6.2.10], SCN: 0x0000.0000ee94
    Thread 1 advanced to log sequence 6
      Current log# 2 seq# 6 mem# 0: E:\ORACLE\TVD\ORIGLOGB\LOG_G12M1.DBF
      Current log# 2 seq# 6 mem# 1: D:\ORACLE\TVD\MIRRLOGB\LOG_G12M2.DBF
    Thu Nov 22 16:41:18 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:42:08 2007
    Fri Nov 23 07:38:10 2007
    ARC1: Media recovery disabled
    Regards,
    Erick

  • "ORA-02248: invalid option for ALTER SESSION" -- Urgent request

    Hi All,
    We use Discoverer 3.1.36.06 and are in middle of a 3i to 10g upgrade for Discoverer for a data warehouse setup. Our databases where upgraded to 10g from 9i and now we get the error message saying:
    "ORA-02248: invalid option for ALTER SESSION"
    I got some very helpful info abt the prob from the link below.
    Discoverer 3i Issue with 10.2.0.3 - ORA-02248
    We are mid way through the 3i to 10g upgrade and just need a quick fix for the next 2-3 weeks while the upgrade is finished.
    Does any one know if changing the NLS language and applying the post longon trigger on Database id's would help in resolving this connection issue temporarily.
    Any advice is deeply appreciated.
    Thanks.
    Edited by: Paul S on Dec 15, 2008 3:01 PM Corrected the link

    Hi,
    There are two types of trigger you can use: database triggers and discoverer triggers. You probably want to use a database trigger.
    If you are using an APPS mode EUL (ie. logging using Applications username/passwords) then you will be logging in as the APPS database user and the syntax is:
    create or replace trigger APPS.disco_logon_trigger after logon ON APPS.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    If it is a database EUL and the database user is gl_inq then the syntax would be
    create or replace trigger gl_inq.disco_logon_trigger after logon ON gl_inq.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    Rod West

  • Sql error ORA-00900: invalid SQL statement

    Hi All
    I am new to sql and i try to solve this issue i have here.
    where i run this query (1) i get this message : ORA-00900: invalid SQL statement
    Query : 1
    WITH t1
    AS (SELECT CID ,
    TYPE,
    TO_CHAR (
    TO_DATE ('00:00:00', 'HH24:MI:SS')
    + (lg_end_time - lg_start_time),
    'HH24:MI:SS') call_time,
    ROW_NUMBER ()
    OVER (PARTITION BY CID ORDER BY CID NULLS FIRST)
    AS call_id1
    FROM test_1
    SELECT SUM (call_time)
    FROM t1;
    output:
    i get error: ORA-01722: invalid number
    table structure:
    select * form test_1;
    CID            TYPE                      LG_END_TIME               LG_START_TIME
    1508643     Dispatching     2012/12/03 14:05     2012/12/03 14:02
    1508643     Treatment     2012/12/03 14:00      2012/12/03 14:00
    1508643     Initiation     2012/12/03 14:00     2012/12/03 14:00
    1508662     Dispatching     2012/12/03 14:18     2012/12/03 14:16
    1508662     Initiation     2012/12/03 14:01     2012/12/03 14:01
    1508662     Treatment     2012/12/03 14:02      2012/12/03 14:01
    1508643     Dispatching     2012/12/03 14:02     2012/12/03 14:00
    1508662     Dispatching     2012/12/03 14:16     2012/12/03 14:02
    thanks for all your help

    Hi All
    thanks for helping and giving your support. but the at this time question remains unanswered.
    with t1
    as (
    SELECT CID ,
                    TYPE,
                    TO_CHAR (
                         TO_DATE ('00:00:00', 'HH24:MI:SS')
                       + (lg_end_time - lg_start_time),
                       'HH24:MI:SS') call_time,
                    ROW_NUMBER ()
                       OVER (PARTITION BY CID ORDER BY CID NULLS FIRST)
                       AS call_id1
               FROM test_1
               select * from t1Output:
    CID             TYPE           CALL_TIME     CALL_ID1
    1508643     Dispatching     0:02:06     1
    1508643     Initiation     0:00:00     2
    1508643     Treatment     0:00:39     3
    1508643     Dispatching     0:02:50     4
    1508662     Treatment     0:01:03     1
    1508662     Initiation     0:00:00     2
    1508662     Dispatching     0:13:17     3
    1508662     Dispatching     0:02:43     4Desired results would be :
    group by CID and total time (summed) by each CID
    and it will also look like:
    CID             TYPE        CALL_TIME     CALL_ID1   total_time
    1508643     Dispatching     0:02:06     1
    1508643     Initiation     0:00:00     2
    1508643     Treatment     0:00:39     3
    1508643     Dispatching     0:02:50     4            
                                                                    0:05:35 
    1508662     Treatment     0:01:03     1
    1508662     Initiation     0:00:00     2
    1508662     Dispatching     0:13:17     3
    1508662     Dispatching     0:02:43     4      
                                                                    0:17:03
    Create table :
    CREATE TABLE TEST_1
    ( CID            NUMBER                         NOT NULL,
      TYPE           VARCHAR2(20 BYTE)              NOT NULL,
      LG_END_TIME    DATE                           NOT NULL,
      LG_START_TIME  DATE                           NOT NULL
    Insert statement:
        insert  into   test_1 VALUES (1508643,Dispatching,03-DEC-12,03-DEC-12);
        insert  into   test_1 VALUES (1508643,Treatment,03-DEC-12,03-DEC-12);
        insert  into  test_1 VALUES (1508643,Initiation,03-DEC-12,03-DEC-12);
        insert  into   test_1 VALUES (1508662,Dispatching,03-DEC-12,03-DEC-12);
        insert  into   test_1 VALUES (1508662,Initiation,03-DEC-12,03-DEC-12);
        insert  into   test_1 VALUES (1508662,Treatment,03-DEC-12,03-DEC-12);
        insert  into   test_1 VALUES (1508643,Dispatching,03-DEC-12,03-DEC-12);
        insert  into   test_1 VALUES (1508662,Dispatching,03-DEC-12,03-DEC-12);Edited by: 855161 on Jan 7, 2013 8:37 AM
    Edited by: 855161 on Jan 7, 2013 9:15 AM
    Edited by: 855161 on Jan 7, 2013 1:00 PM

  • Error: ORA-01722: invalid number performing List of Values query.

    when i created a cascading select list, For the first time it worked properly then little later
    it is giving this error.
    Error: ORA-01722: invalid number performing List of Values query: "select distinct cl_name d, cl_no r from Kclient where gr_no = :P1_GRNO order by 1
    could any one please solve the problem?
    2. when i run the application. in all the items edit button is automatically seen
    including in the login screen.
    could any one identify what is the error and give me a solution.

    Is this better?
    select DISTINCT FIRST_NAME||' '||LAST_NAME display_value
          , ROW_ID return_value
      from "PSA_RESOURCE_MANAGER"
    where PSA_RESOURCE_MANAGER.ACTIVE_FLAG='Y'
       AND :P117_REPORTING_MANAGER = PSA_RESOURCE_MANAGER.REPORTING_MANAGER
       AND :P117_REPORTING_MANAGER <> -1 order by 1or
    select DISTINCT FIRST_NAME||' '||LAST_NAME display_value
          , ROW_ID return_value
      from "PSA_RESOURCE_MANAGER"
    where PSA_RESOURCE_MANAGER.ACTIVE_FLAG='Y'
       AND :P117_REPORTING_MANAGER = PSA_RESOURCE_MANAGER.REPORTING_MANAGER
       AND :P117_REPORTING_MANAGER != '-1' order by 1Is ROW_ID a column in your table by the way? If not, you should use ROWID (without the underscore)

  • IR: ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier

    Hi everyone,
    has anyone else had this error which has been driving me round the bend during the last three days?
    I have an interactive report which used to work fine.
    Now it happens (when the page loads/a filter is en- or disabled) that - from time to time, but unpredictable - I receive
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    The report is based on a table function.
    I will try to set up a testcase and post the link here, but so far I haven't managed to force the error to occur.
    But maybe someone else has already bumped into this kind of error? I would be grateful for any hints!
    Best regards,
    Sabine
    Application Express 4.1.0.00.32
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

    Hi Jari,
    I changed the type definition (the return type of the table function) and extended the select list in the source of the IR.
    I do not use 'select *' but reference every column explicitly. So APEX easked me whether to add the new column.
    I also tried deleting in recreating the region, but no luck.
    Any more ideas?
    Best regards,
    Sabine

Maybe you are looking for