ORA-01704 error form spatial data type (SDO_UTIL.FROM_WKTGEOMETRY)

I am trying to make a program (C# & ODP.NET)to do the task , get geometry data From sqlserver2008 database and INSERT INTO Oracle11 Spatial Database.
Because of using the Well-Known text (WKT) syntax , so I need to use "SDO_UTIL.FROM_WKTGEOMETRY('POLYGON ((56678400..." to insert geometry data to oracle. When the polygon text is longest than 4000 chr, I got the exception
[ORA-01704: string literal too long]
How can we solve this problem? It's urgent!
Hope to hear from you.
Fan

Try with bind variables:
oerr ora 1704
01704, 00000, "string literal too long"
// *Cause:  The string literal is longer than 4000 characters.
// *Action:  Use a string literal of at most 4000 characters.
//          Longer values may only be entered using bind variables.Please read http://www.oracle.com/technetwork/issue-archive/2005/05-sep/o55odpnet-101704.html.

Similar Messages

  • ORA-29855 - Error creating Spatial Index using a Stored Procedure

    Hi
    I am using Oracle 10gR2 database and I have written a stored procedure to create spatial index. But when i execute this function i get the following error message.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in R-tree: [mdrcrtscrt]
    ORA-13231: failed to create index table [MDRT_217C1$] during R-tree creation
    ORA-13249: Stmt-Execute Failure: CREATE TABLE FGDABZ40.MDRT_217C1$ (NODE_ID NUMBER, NODE_LEVEL NUMBER, INFO BLOB) LOB (INFO) STORE AS (CACHE) NOLOGGING PCTFREE 2
    ORA-29400: data cartridge error
    ORA-01031: insufficient privileges
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    ORA-06512: at line 1
    ORA-06512: at "FGDABZ40.PKG_PSSDBE_APPLICATION", line 298
    ORA-06512: at line 17
    The tables that i am passing are registered in metadata and I am able to create indexes directly in sql plus. But when i try to create using this stored procedure, it fails.
    it should be possible to create indexes using a generic function. Has any faced a similar problem?
    regards
    sam

    Hi,
    I am having a same error on Oracle 10gR2 database. When I execute the same statement in sqlplus, it works. But it gives this error when I call the procedure which has this create spatial index statement.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in R-tree: [mdrcrtscrt]
    ORA-13231: failed to create index table [MDRT_20CDA$] during R-tree creation
    ORA-13249: Stmt-Execute Failure: CREATE TABLE "SDOMGR".MDRT_20CDA$ (NODE_ID NUMBER, NODE_LEVEL NUMBER, INFO BLOB) LOB (INFO) STORE AS (CACHE) NOLOGGING PCTFREE 2
    ORA-29400: data cartridge error
    ORA-01031: i
    Any help will be appreciated.
    Thanks,
    Sri

  • "ORA-19554: error allocating device, device type: SBT_TAPE, device name: "

    Hi expert.
    why I can not delete obsolete?
    I have this error:
    "ORA-19554: error allocating device, device type: SBT_TAPE, device name: "
    but I haven't any tape. How I can remove this from my rman config?
    many thanks, as usual.
    cheers,
    Lain
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oraclesvi/TMP/backup_db_archive/cf_%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/oraclesvi/TMP/backup_db_archive/ora_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/SvilTMP/dbs/snapcf_DBTMP.f'; # default
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          1      28-MAY-10          /oraclesvi/TMP/flash_recovery_area/DBTMP/archivelog/2010_05_28/o1_mf_1_22_60086j50_.arc
    Archive Log          2      29-MAY-10          /oraclesvi/TMP/flash_recovery_area/DBTMP/archivelog/2010_05_29/o1_mf_1_23_6014bh9j_.arc
    Archive Log          3      30-MAY-10          /oraclesvi/TMP/flash_recovery_area/DBTMP/archivelog/2010_05_30/o1_mf_1_24_603o6gls_.arc
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/14/2010 14:43:17
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2

    Try
    CONFIGURE DEVICE TYPE 'SBT_TAPE' clear;
    Werner

  • ORA-19554: error allocating device, device type: SBT_TAPE

    Running HP DataProtector 6.0. Attempting to configure an Oracle 9i database for backup. Receive the following errors.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on DP_TEST channel at 07/08/2008 13:37:51
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Recovery Manager complete.
    After extensive troubleshooting HP Support reports the following.
    "Please contact Oracle and have them explain why RMAN refuses to load our library regardless of if the library is copied into the specific path or called from the softlink."
    We tried to run the following without success.
    RMAN> run {
    allocate channel 'sch1' type 'sbt_tape' parms'ENV=(SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so)';
    Thanks in advance for any help you can give,
    Mark

    Verify if the SHLIB_PATH environment variable includes the $ORACLE_HOME/lib path and verify the symbolic link between the libobk.so to the HP DP shared library file.
    ~ Madrid
    http://hrivera99.blogspot.com

  • ORA-19554: error allocating device, device type: TAPE, device name: ORA-270

    Hi everyone, hit errors below when doing rman duplicate database, anyone can assist?
    database mounted
    released channel: ORA_AUX_DISK_1
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=87 device type=DISK
    released channel: ORA_AUX_DISK_1
    restarting auxiliary database without server parameter file
    Errors restarting database
    RMAN-00600: internal error, arguments [6007] [] [] [] []
    RMAN-03009: failure of allocate command on ORA_AUX_TAPE_1 channel at 03/14/2013 15:51:21
    RMAN-10035: exception raised in RPC:
    ORA-19624: operation failed, retry possible
    ORA-19554: error allocating device, device type: TAPE, device name:
    ORA-27001: unsupported device type
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 235
    RMAN-10031: RPC Error: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/14/2013 15:51:21
    RMAN-05501: aborting duplication of target database
    RMAN-03009: failure of allocate command on ORA_AUX_TAPE_1 channel at 03/14/2013 15:51:21
    ORA-19554: error allocating device, device type: TAPE, device name:
    ORA-27001: unsupported device type

    Hi.
    Tried but kenot...
    This command will not work if if I execute in duplicate database?
    I am now trying duplicate the database from a server to remote server.
    using command below
    DUPLICATE DATABASE TO NEW_DB_NAME
    PFILE = PFILE_LOCATION
    BACKUP LOCATION '/DUMP';
    NOFILENAMECHECK;

  • Spatial Data Types in ASE

    Do you plan to support "Spatial Data Types" in ASE?

    Spatial datatypes are supported through a third-party Specialty Data Store module, in this case the Spatial Query Server from Boeing.  See Boeing Intelligence Systems Group (ISG)</title> <style type="text/css" media="scre…
    If that doesn't fit your needs, please describe in more detail what you are looking for.
    cheers,
    -bret

  • Replicat  : GGS ERROR    171  Unknown data type received 0x54 49 .

    I am trying to run an initial load as shown in the tutorial at http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_WinUX_ORA_to_WinUX_ORA.pdf and I am seeing this error in the REPLICAT process.
    I have tried using the SOURCEDEFS clause as well (Even though the source and Target structures are exactly similar), but I run into the same issue.
    ** Run Time Messages **
    *2011-04-14 12:02:15 GGS ERROR 171 Unknown data type received <0x54 49>.*
    The only other Indication that I see in the report file is the following Warning message
    *2011-04-14 12:02:15 GGS WARNING 201 Rounding up LOBWRITESIZE 32528 to be a multiple of LOB chunk size (16324).*
    LOBWRITESIZE = 32648 bytes.
    Here are the other details. If you need any more information, please let me know
    GoldenGate Delivery for Oracle
    Version v9.5.1.31 Build 003
    HP-UX 11.23 (optimized 64-bit), Oracle 10g on Jun 24 2008 13:43:23
    Copyright GoldenGate Software, Inc. 1995-2008
    Starting at 2011-04-14 12:02:09
    Database Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I'd appreciate any advice on fixing this issue.
    Thanks,
    Rajesh.

    Looks like the error is because we have ASM set up at our place.. and I did not pay enough attention to this part of the tutorial Guide..
    Note: When Oracle Automatic Storage Management (ASM) is in use, the TRANLOGOPTIONS ASMUSER and ASMPASSWORD must be set in the Extract parameter file. For more information refer to the GoldenGate for Windows & UNIX Administrator and Reference manuals.
    Posting the reply here so that It'd be useful for anyone running into the same issue later.
    Cheers!
    Rajesh.

  • Error While Creating Date type condition query

    Hi All,
    I am getting following error while creating a multiple condition query.
    ERROR:java.lang.IllegalArgumentException: Unexpected field type for D: java.lang.String
    I am pasting the scrap of the code for review below.
    pls note after removing the condition cond6; it works fine, and cond6 is for date type field.
    for(int j=1;j<7;j++){                          
    fd[j] =trd.getFieldDescriptor(arrayHeaderFieldNames[j]);
    BasisFieldType bft1 =  fd[j].getFieldType();
    if (bft1 == BasisFieldType.C) {
      filterOperator[j] = RelationalOperatorType.CONTAINS;       }
    else{
      filterOperator[j] = RelationalOperatorType.EQUALS;
    order[j] =queryFactory.createSortOrder(fd[j],true);
    cond1 =queryFactory.createCondition(fd[1], filterOperator[1], values[0]);
    cond2 =queryFactory.createCondition(fd[2], filterOperator[2], values[1]);
    cond3 =queryFactory.createCondition(fd[3], filterOperator[3], values[2]);
    cond4 =queryFactory.createCondition(fd[4], filterOperator[4], values[3]);
    cond5 =queryFactory.createCondition(fd[5], filterOperator[5], values[4]);
    cond6 =queryFactory.createCondition(fd[6], filterOperator[6], values[5]);
    Condition cond = queryFactory.createCondition(new Condition[]{cond1,cond2,cond3,cond4,cond5,cond6},LogicalOperatorType.AND);
    Please Help!
    Thanks n regards,
    Kapoorchand.

    Hi,
    well that problem is a long time back -. I only have in mind that the date I had to transfer to the quesry was in a "strange" format. Have a lock into the documentation for the date field - your date field is not recognised as a date field from the quesry engine and so this fails - but unfortunately I have no idea at the moment how I fixed it last time - how I converted my date field......
    Sorry, thast I can not give you the real point - but I will have a lock into the old code - hopefully I find it soon.
    Regards,
    Oliver

  • ORA-01704 error while running dbms_sql for a clob

    Hi,
    I'm running following code and getiing error ORA-01704: string literal too long
    declare
    cursor_name INTEGER;
    t1 clob;
    t2 clob;
    r number;
    begin
    select a1 into t1 from temp
    where n1 = 'test';
    t2 := 'insert into temp (a1,n1) values (''' || t1 || ''',''test12'')' ;
    cursor_name := dbms_sql.open_cursor;
    DBMS_SQL.PARSE(cursor_name, t2, DBMS_SQL.NATIVE);
    r := DBMS_SQL.EXECUTE(cursor_name);
    DBMS_SQL.CLOSE_CURSOR(cursor_name);
    dbms_output.put_line(r);
    end;
    clob t1 is 32598 butes long.
    in temp table a1 is a clob.
    Could anyone please tell me why the error and how to solve the problem.
    Thanks
    Tarun

    This is one of the many posts over here where the OP can not be bothered to include the four digit version number.
    I can never understand why the version number is left out other than out of rudeness, arrogance and utter laziness.
    Apparently the small lot here responding should be clairvoyant and/or remember all version numbers.
    I'm going to call for a boycot of people posting without version number!!!!
    As to the code:
    There is no reason why you are using dbms_sql here, you are misusing Oracle, and it should have been static sql.
    At least t2 should have been a bind variable, dbms_sql does support bind variables!
    As far as I know the command string should be a varchar2, not a clob, and if t2 is a bind variable there is no need for t1 to be a clob.
    Sybrand Bakker
    Senior Oracle DBA

  • In ECC 6 , I AM  GETTING ERROR WHILE DECLARING DATA TYPE OF BAPI

    HI,
    IN ECC 6 , i AM  GETTING ERROR" NO READ ACESS RETURN"
    EVENTHOUGH   I DECLARED  DATA TYPE   FOR EXAMPLE
    DATA: RETURN TYPE BAPIRET2.AND USING IN RFC.
    HOW TO CORRECT THE ERROR.
    pLZ HELP ME.
    REGARDS,
    RANI

    Hi Rani,
    Could you please post the piece of coding where the error comes from? Maybe we can help you then.
    Regards,
    John.

  • Error While creating Data type from a XSD

    Hi,
    I am trying to import a XSD into my Data type. I have changed the namespace in the XSD to match that of the target namespace. I am getting the following error.
    Global definition Element: http://ls.sbc.com/OMS/ProcessSalesOrderEFE004,   orderRequest in the schema to be edited will be ignored 
    Schema to be edited defines qualified element names (elementFormDefault = 'qualified')
    Could any help me out in this regard. I don't have much knowledge about XML and XSD.
    Regards,
    Ravikanth

    Hi Ravi,
    please check once again your XSD file.
    it should be like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, " targetNamespace="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, ">
         <xsd:complexType name="DTO_Data type">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   725b8b10c99e11dc8ff3001cc43a8a68
                   </xsd:appinfo>
    Please check the name of  data type u mentioned in XSD  while imporitng.
    regards
    mahesh..

  • Help with ORA 14400 error while inserting data

    Hi all,
    i am facing an ora 14400 error in the following scenario , please help.
    i have created a table using the syntax:
    CREATE TABLE temp_table
    GRPKEY NUMBER(20, 0) NOT NULL,
    UKEY NUMBER(10, 0),
    ANUM VARCHAR2(250 BYTE),
    APC VARCHAR2(2 BYTE),
    SID VARCHAR2(65 BYTE),
    RDATETIME VARCHAR2(19 BYTE),
    CKEY NUMBER(20, 0),
    AVER VARCHAR2(25 BYTE),
    CVER VARCHAR2(250 BYTE),
    TNAME VARCHAR2(50 BYTE),
    SCODE VARCHAR2(30 BYTE),
    PTYPE VARCHAR2(50 BYTE),
    FILENUMB NUMBER(10, 0),
    LINENUMB NUMBER(10, 0),
    ENTRY_CREATEDDATE DATE
    , CONSTRAINT temp_table_PK PRIMARY KEY (GRPKEY))
    PARTITION BY RANGE(ENTRY_CREATEDDATE)
    (PARTITION P0 VALUES LESS THAN(TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    when i try to insert data using :
    insert into temp_table values
    (1,null,null,null,null,null,null,null,null,null,null,null,null,null,'01-NOV-2010');
    i get the following error output:
    Error report:
    SQL Error: ORA-14400: inserted partition key does not map to any partition
    14400. 00000 - "inserted partition key does not map to any partition"
    *Cause:    An attempt was made to insert a record into, a Range or Composite
    Range object, with a concatenated partition key that is beyond
    the concatenated partition bound list of the last partition -OR-
    An attempt was made to insert a record into a List object with
    a partition key that did not match the literal values specified
    for any of the partitions.
    *Action:   Do not insert the key. Or, add a partition capable of accepting
    the key, Or add values matching the key to a partition specification

    Hi Chaitanya,
    Change your table script to
    CREATE TABLE temp_table
    GRPKEY NUMBER(20, 0) NOT NULL,
    UKEY NUMBER(10, 0),
    ANUM VARCHAR2(250 BYTE),
    APC VARCHAR2(2 BYTE),
    SID VARCHAR2(65 BYTE),
    RDATETIME VARCHAR2(19 BYTE),
    CKEY NUMBER(20, 0),
    AVER VARCHAR2(25 BYTE),
    CVER VARCHAR2(250 BYTE),
    TNAME VARCHAR2(50 BYTE),
    SCODE VARCHAR2(30 BYTE),
    PTYPE VARCHAR2(50 BYTE),
    FILENUMB NUMBER(10, 0),
    LINENUMB NUMBER(10, 0),
    ENTRY_CREATEDDATE DATE
    , CONSTRAINT temp_table_PK PRIMARY KEY (GRPKEY))
    PARTITION BY RANGE(ENTRY_CREATEDDATE)
    (PARTITION P0 VALUES LESS THAN(TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')),
    PARTITION P1 VALUES LESS THAN(MAXVALUE)
    insert into temp_table values
    (1,null,null,null,null,null,null,null,null,null,null,null,null,null,'01-NOV-2010');
    1 row insertedor refer question regarding "Date Partitioning a table"
    *009*
    Edited by: 009 on Nov 3, 2010 11:29 PM

  • Javascript Error in InputField Date Type

    Hi,
    We have migrated the Enterprise Portal Application EP5SP6 to NW2004s SP6.Everything works fine except one issue in a Manager Reports, Where we are using Date type InputField.
    Code used:
    <hbj:inputField
    id="otherdate1"
    type="DATE"
    showHelp="TRUE"
    size="10"
    maxlength="10"
    jsObjectNeeded="true"
    disabled="TRUE"
    >
    <%
    JSP-scriptlet-START----
    otherPeriodFrom=myContext.getParamIdForComponent(otherdate1);
    JSP-scriptlet-END----
    %>
    </hbj:inputField>
    Javascript Error : Line : 3958 code: 2 Error: 'Undefined' is null or not an object
    Above Error appears when the below option in IE is selected.And also, Error appears only when the user enters the date.Also, I cannot ask users to uncheck the settings in IE as most of the users doesn't have administrator access to their amchines
    Error doesn't seem to appear when user selects the date from DataPicker component irrespective whether the below option in IE is selected or not.
    IE Setting option :
    Display a Notification about Every Script Error
    I'm not able to find what could be the problem in EP 7.0 as it works perfectly in EP5.0.
    Any ideas would be appreciated !!
    Thanks,
    Jojo

    Sent an OSS message to SAP.SAP found the problem and fixed the issue and will be available in NW2004s SPS9.
    Jojo

  • ORA-01511:error in renaming data file & ORA-01516: nonexistent data file

    Hi all,
    DB version is 10.2.0.2 and Applications 12.0.6 on RHEL 4
    While creating data file mistakenly we created with '?' as follows:
    "/d01/CRP/db/apps_st/data/tx_?data53.dbf"
    After that we tried to rename those data file using below steps but we are geting error message as follows:
    1.SQL>ALTER TABLESPACE APPS_TS_TX_DATA OFFLINE NORMAL; at DB in OPEN stage
    2.$mv /d01/CRP/db/apps_st/data/tx_?data53.dbf /d01/CRP/db/apps_st/data/tx_data53.dbf
    3.ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf';
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01516: nonexistent log file, datafile, or tempfile
    "/d01/CRP/db/apps_st/data/tx_?data53.dbf"
    After that we tried to revert back by moving to original name usinf os commnds i.e tx_?data53.dbf and tried to open the database as follows but getting error message as follows:
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size 1264892 bytes
    Variable Size 440402692 bytes
    Database Buffers 620756992 bytes
    Redo Buffers 11317248 bytes
    Database mounted.
    SQL> recover database;
    Media recovery complete.
    SQL> alter database open ;
    alter database open
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Please help us t oresolve the Issue
    Edited by: 912734 on Feb 15, 2012 2:43 AM

    Errors in alert log file:
    ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'
    Wed Feb 15 15:38:58 2012
    ORA-1525 signalled during: ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'...
    Wed Feb 15 15:40:10 2012
    ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_ data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'
    Wed Feb 15 15:40:10 2012
    ORA-1525 signalled during: ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_ data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'...
    ALTER TABLESPACE APPS_TS_TX_DATA ONLINE
    Wed Feb 15 15:41:09 2012
    Errors in file /d01/CRP/db/tech_st/10.2.0/admin/CRP2_oraapps/bdump/crp2_dbw0_1605.trc:
    ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
    ORA-01110: data file 11: '/d01/CRP/db/apps_st/data/tx_
    data53.dbf'
    ORA-27037: unable to obtain file status

  • Replication - Error with real data type

    Hi Everybody,
    I have a replication problem on a certain SQL Server 2012 build 2100. First of all:
    - Tables are the same on Publisher and Subscriber (double-checked)
    The problem is 8152 - String or binary would be truncated. Since I know this error, I looked for the command (xact_seqno) and it shows:
    {CALL [sp_MSins_tbl2Replicate]
    ({7B914E3E-25ED-E411-BC82-005056A54F21}
    ,{BA54EA41-ECE1-4F4B-7A63-08D05A57DCC9}
    ,{51BEC1B8-F6D2-E411-BC82-005056A54F21}
    ,1
    ,NULL
    ,N'2015-04-27'
    ,{87766F58-A0C8-41E6-E7D4-08CFE45FE017}
    ,2
    ,2.81122997072606E-313
    ,N'2015-04-27 23:34:59.7600274'
    ,{87766F58-A0C8-41E6-E7D4-08CFE45FE017}
    ,NULL
    ,{0AB7C33E-0B3E-E211-A06F-005056A54F21},NULL,NULL,0,NULL,NULL)}
    My problem is the value "2.81122997072606E-313" since this field is a real field. I dont understand that. The Value is way to small and a SELECT in the Publisher-DB shows a "1". Does anybody has an idea?
    Thanks
    Dave

    Hi,
    first of all thanks for your help. Publisher-Table-Schema:
    [EV_GUID] [uniqueidentifier] ROWGUIDCOL  NOT NULL,
        [EV_PV_Profilvariable] [uniqueidentifier] NOT NULL,
        [EV_Empfaenger] [uniqueidentifier] NOT NULL,
        [EV_EmpfaengerTyp] [tinyint] NOT NULL,
        [EV_Gruppe] [uniqueidentifier] NULL,
        [EV_ErbrachtDatum] [date] NOT NULL,
        [EV_AN_Erbringer] [uniqueidentifier] NOT NULL,
        [EV_Zeitwert] [int] NOT NULL,
        [EV_Anteil] [real] NOT NULL,
        [EV_ErfasstZeitpunkt] [datetime2](7) NOT NULL,
        [EV_AN_Erfasser] [uniqueidentifier] NULL,
        [EV_SC_Statistikcode] [uniqueidentifier] NULL,
        [EV_OE_Auftraggeber] [uniqueidentifier] NOT NULL,
        [EV_KST_Kostenstelle] [uniqueidentifier] NULL,
        [EV_Bemerkung] [varchar](max) SPARSE  NULL,
        [EV_Flags] [int] NOT NULL,
        [EV_MN_Massnahme] [smallint] NULL,
        [EV_Fremdkey] [varchar](100) NULL
    Subscriber-Table-Schema:
    just the same....
    SELECT EV_Anteil FROM tbl2Replicate WHERE EV_GUID = '7B914E3E-25ED-E411-BC82-005056A54F21'
    returns "1". The reported value wont fit in a real-field or am I missing something? I tested this and it would fill in a "0" for such a tiny number. Therefore it cant be in the publisher database. Also tested with SELECT MIN(EV_Anteil)
    and returned "0.02040816" with another PK of course.
    Other Options in Transactional Replication:
    Replicate schema changes - True
    Copy objects all to false, except clustered index, unique key constraints, Collation and INSERT, UPDATE, DELETE stored procedures
    Convert data types = False
    Thanks
    Dave

Maybe you are looking for

  • Nvidia Optimus on a Lenovo Y580

    Greetings folk! I'm trying to get optimus workings on my Lenovo Y580 laptop. I had it working a few months ago, but I ended up having to format and reinstall reciently and now I can't seem to get it working with the latest version, I think I may be d

  • Conversion of spool to pdf format in landscape mode

    Hi All, I have a requirement where I need to print the output from a spool request in SAP to a pdf page . The page has to be in landscape format.  Is it possible to create a pdf page which is always in landscape format? I am using FM convert abapspoo

  • 10g Express Edition; Problem saving updates in Script Editor

    I'm running 10g Express Edition on Windows XP Media Center with SP3 with Internet Explorer 7. I start with 'Go to Database Home Page'. Then take the path Home>SQL>SQL Scripts>Script Editor; I've created a Script called HW. I make some changes to the

  • How do you turn on the do not track feature?

    According to an article in USA Today, Firefox has a "do not track" feature that keeps third parties for knowing what sites I visit. How do you turn this on?

  • Issues saving cpvc files in Cp8 - fatal error/hanging

    I experience issues when trying to save .cpvc files - sometimes it saves and other times: 1.  I either get a fatal error message 2. it just hangs at 40% saved and saying it's not responding Any ideas what could be causing this and, more importantly h