Online Redefinition of Binary XML column not possible?

DB version 11.2.0.1 x64 (still working on upgrading to 11.2.0.3)
create table redef_test (
        id number(19,0) not null,
        xml XMLType,
        primary key (id)
    XMLTYPE COLUMN "XML" STORE AS CLOB;
table REDEF_TEST created.
exec dbms_redefinition.can_redef_table( 'USER', 'redef_test' );
anonymous block completed
drop table redef_test;
create table redef_test (
        id number(19,0) not null,
        xml XMLType,
        primary key (id)
    XMLTYPE COLUMN "XML" STORE AS BINARY XML;
table REDEF_TEST dropped.
table REDEF_TEST created.
exec dbms_redefinition.can_redef_table( 'USER', 'redef_test' );
Error starting at line 1 in command:
exec dbms_redefinition.can_redef_table( 'USER', 'redef_test' )
Error report:
ORA-12090: Kan de tabel "USER"."REDEF_TEST" online niet opnieuw definiëren.
ORA-06512: in "SYS.DBMS_REDEFINITION", regel 139
ORA-06512: in "SYS.DBMS_REDEFINITION", regel 1782
ORA-06512: in regel 1
12090. 00000 -  "cannot online redefine table \"%s\".\"%s\""
*Cause:    An attempt was made to online redefine a table that is either a
           clustered table, AQ table, temporary table, IOT overflow table
           or table with FGA/RLS enabled.
*Action:   Do not attempt to online redefine a table that is  a
           clustered table, AQ table, temporary table, IOT overflow table
           or table with FGA/RLS enabled.Also came across ORA-42040 on the internet while searching for a solution:
ORA-42040     cannot online redefine table "string"."string" with column of binary XML type
Cause:     Do not attempt to online redefine a table with a column of binary XML type.
Action:     An attempt was made to redefine a table with a column of binary XML type.
Why this limitation to binary xml? I was under the impression that binary xml was put forward by oracle as the 'format of the future'; yet an important feature as online redefinition cannot be used anymore it seems.
My reason for this question: I have a table that should have been partitioned (based on a virtual column derived from an xpath in the xml column) but isn't at this moment. I'm trying to use online redefinition to partition the existing table, but all the suggested ways of doing this don't seem to work.
Another thing i tried was a 'CTAS', but those seem to have problems with virtual columns.
CREATE TABLE d_new (
    id,
    xml,
    PRIMARY KEY (id)
XMLTYPE COLUMN xml STORE AS SECUREFILE BINARY XML
VIRTUAL COLUMNS
    timestamp AS (TO_TIMESTAMP(extractvalue(xml,'/e:d/c:dHeader/c:creationTime',
        'xmlns:e="http://www.example.com/myproject/schema/e/nl"
         xmlns:c="http://www.example.com/myunidoc/schema/common"'),'YYYY-MM-DD"T"HH24:MI:SS'))
PARTITION BY RANGE (timestamp)
    PARTITION p2010_09 VALUES LESS THAN (TO_DATE('1-10-2010','DD-MM-YYYY')),
    PARTITION p2012_05 VALUES LESS THAN (TO_DATE('1-6-2012','DD-MM-YYYY')),
    PARTITION px VALUES LESS THAN (MAXVALUE)
as
select id,xml from d_table;
Error at Command Line:40 Column:19
Error report:
SQL Error: ORA-54014: De resultatentabel van een CTAS-bewerking bevat een of meer virtuele kolommen.

I would have tested it myself but my current version (11.2.0.3) has a bug regarding virtual columns...
One thing you can try is :
1) Create your new empty partitioned table (D_NEW) with only one partition
2) Perform an ALTER TABLE EXCHANGE PARTITION between old and new tables
3) Drop old table
4) SPLIT PARTITIONs on the new table

Similar Messages

  • XML Updating not possible after Copy Paste

    Hi all
    I have a problem with updating large financial tables. The tables are generated from Excel into XML, then placed via JavaScript on ID pages. I can get up to 10 tables some containing 100 rows by 8 cols data.
    All formating is done by the combination of Tags, Styles and Scripts.
    Should the people that generate the financial tables in the first place update the Excel file, we re run the process and the layout tables in ID update no problem.
    Now come the layout artists and copy paste the table they need onto the layout where additional background stories and images combine into the final layout.
    The XML tree of the data they copy also copies into the layoutfile. All good so far.
    Now an update via Excel arrives and I need to update the final layout file.
    But the link is no longer in the Links palette. As soon as I do the copy paste it is gone.
    How do I update the relevant subset of XML on the final layout file, from the complete XML dataset given to me.
    Any ideas where I went wrong?
    Romano

    I do not think is possible to copy links between documents.
    I think the only way to create a link is to Import XML and Create Link.
    Therefore, you should try to adopt a workflow that does not result in copy and pasting the XML to a new document:
    Several choices present themselves:
    1. Adjust your script to import the XML into the final layout file directly.
    2. After you have copy-and-pasted the XML, open the structure pane, select the XML root, and re-import the XML file by hand, creating a link.
    3. Cut and paste the final layout into the layout with the link.
    4. Pages (panel) > Move Pages the pages from the final layout into the layout with the linked XML content, and then move the linked XML around in that layout onto the pages where it matters
    Good luck!

  • Online redefinition timestamp to date column. Impossible ?

    Hi ,
    I'm trying to online redefine timestamp column to date column (cut off fractional seconds) but looks like this is
    impossible at least in 9.2 EE DB.
    SQL> desc t
    Name                                                                                      Null?    Type
    ID                                                                                        NOT NULL NUMBER
    DATA                                                                                               TIMESTAMP(6)
    SQL> desc t_interim
    Name                                                                                      Null?    Type
    ID                                                                                        NOT NULL NUMBER
    DATA                                                                                               DATE
    declare
    l_colmap varchar2(512);
    begin
    l_colmap := 'id , data cast(data as date)';
    dbms_redefinition.start_redef_table(user, 'T' , 'T_INTERIM', l_colmap);
    end;
    declare
    ERROR at line 1:
    ORA-00923: FROM keyword not found where expected
    ORA-06512: at "SYS.DBMS_REDEFINITION", line 8
    ORA-06512: at "SYS.DBMS_REDEFINITION", line 146
    ORA-06512: at line 5Regards.
    Greg

    SQL> select to_timestamp_tz('2011-03-10T13:55:00.000-06:00','YYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM') from dual
      2  /
    TO_TIMESTAMP_TZ('2011-03-10T13:55:00.000-06:00','YYYY-MM-DD"T"HH24:MI:SS.FF
    10-MAR-11 01.55.00.000000000 PM -06:00
    SQL>  SY.

  • Online Service Request  Currently, the online processing of your repair is not possible. Please contact Apple Technical Support, for more information.

    hey guys,
    I had a repair service on 14.12 when ordered today then the message with the iPhone (around 12:00 clock) came back it was my fault that the iPhone does not
    work anymore now I wanted tonight again a repair service request with the cost then I for the repair cost on my acquiring and now I can not why?
    what can i do now?
    Thanks in advance

    Well I would have thought the sensible thing was to do as the message says and contact Apple Tech support
    Why would other users on this User to User forum have any idea

  • Binary XML lightest-weight transform?

    Database 11.2.0.2.
    I have a set of small XML documents stored in a schema-based binary XML column (pubdate, author, language, title, etc.).
    I'm using the XML, combined with a bit of longer (blob-based) text to generate a text index using a user_datastore.
    I have a requirement to (a) change the names of one or two XML tags (to help the indexer disambiguate between two elements, for example), and to change the case of one or two elements (to make the language all uppercase, for example).
    What's the most efficient way to make these types of changes -- hopefully within PL/SQL, since that is what the current datastore procedure uses.
    The procedure currently looks like:
    create or replace procedure GenerateText(pRID in ROWID, pTextClob IN OUT NOCOPY CLOB) as
    begin
        for x in (select docid, XMLSerialize(CONTENT docxml as clob) as xmldata
                  from docs where rowid = pRID)
        loop
            dbms_lob.copy(pTextClob, x.xmldata, DBMS_LOB.LOBMAXSIZE);
            for y in (select doctext from doc_components where docid = x.docid and length(doctext) > 0)
             loop
              dbms_lob.append(pTextClob, y.doctext);
             end loop;
        end loop;
      end GenerateText;XMLTRANSFORM looks like the appropriate method, but it's not something I've used before. If it's the best way, do you have any suggestions on a quick primer on how to build the appropriate XSLT?

    #1. We need to see the code that is being used to invoke the stylesheet.
    #2. We need to see the document that is being transformed...
    It's most likely a bug in 9g which has been fixed in 11g...

  • Find size of table with XMLTYPE column STORE AS BINARY XML

    Hi,
    I have a table with structure as:
    CREATE TABLE XML_TABLE_1
    ID NUMBER NOT NULL,
    SOURCE VARCHAR2(255 CHAR) NOT NULL,
    XML_TEXT SYS.XMLTYPE,
    CREATION_DATE TIMESTAMP(6) NOT NULL
    XMLTYPE XML_TEXT STORE AS BINARY XML (
    TABLESPACE Tablespace1_LOB
    DISABLE STORAGE IN ROW
    CHUNK 16384
    RETENTION
    CACHE READS
    NOLOGGING)
    ALLOW NONSCHEMA
    DISALLOW ANYSCHEMA
    TABLESPACE Tablespace2_DATA
    - So HOW do I find the total size occupied by this table. Does BINARY storage work as LOB storage. i.e. I need to consider USER_LOBS as well for this.
    OR foll. will work
    select segment_name as tablename, sum(bytes/ (1024 * 1024 * 1024 )) as tablesize_in_GB
    From dba_segments
    where segment_name = 'XML_TABLE_1'
    and OWNER = 'SCHEMANAME'
    group by segment_name ;
    - Also if I am copying it to another table of same structure as:
    Insert /*+ append */ into XML_TABLE_2 Select * from XML_TABLE_1.
    Then how much space in ROllbackSegment do I need. Is it equal to the size of the table XML_TABLE_1?
    Thanks..

    I think foll query calculates it right while including the LOB storage as:
    SELECT SUM(bytes)/1024/1024/1024 gb
    FROM dba_segments
    WHERE (owner = 'SCHEMA_NAME' and
    segment_name = 'TABLE_NAME')
    OR (owner, segment_name) IN (
    SELECT owner, segment_name
    FROM dba_lobs
    WHERE owner = 'SCHEMA_NAME'
    AND table_name = 'TABLE_NAME')
    It's 80 GB for our Table with XMLType Column.
    But for the second point:
    Do we need 80GB of UNDO/ROLLBACK Segment for performing:
    Insert /*+ append */ into TableName1 Select * from TableName;
    Thanks..

  • Cannot display complete document in binary XML XMLType column

    I've been trying to get a query to work that will display the complete XML document stored in a column of XMLType, binary XML storage.
    <b/>
    I"m using Toad 10.6.1.3.
    <b/>
    I'm running Oracle client:
    {code}Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production{code}
    <b/>
    The table is defined:
    {code}CREATE TABLE AUDITED_EVENT_XML_MIN (
    AUDITED_EVENT_XML_PK_ID NUMBER(10) PRIMARY KEY,
    /* The time the audit record was created. */
    CREATED_TIME TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL,
    /* Well-formed XML message */
    XML_EVENT_CONTENT XMLType
    XMLTYPE COLUMN "XML_EVENT_CONTENT" STORE AS BINARY XML;
    {code}
    <b/>
    The XML has no namespace. The SQL that I tried is:
    {code}select e.xml_event_content.extract('/') from AUDITED_EVENT_XML e;{code}
    <b/>
    I also tried a simpler approach.
    {code}select * from AUDITED_EVENT_XML e;{code}
    <b/>
    and got this error:
    {code}ORA-21500: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]{code}
    <b/>
    I'm a newbie; I'm sure there is a simple way to do this; but I can't find it in the Oracle XML DB Developers Guide.
    It would also be helpful to know how to do this for documents that have a declared namespace (without a xsd schema)...
    Thanks in advance...
    Edited by: flyeagle5683 on Sep 4, 2012 3:18 PM

    When ran from the Command window in PL/SQL Developer
    Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
    SQL>
    SQL> CREATE TABLE AUDITED_EVENT_XML_MIN (
      2      AUDITED_EVENT_XML_PK_ID NUMBER(10) PRIMARY KEY,
      3      /* The time the audit record was created. */
      4      CREATED_TIME TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL,
      5      /* Well-formed XML message */
      6      XML_EVENT_CONTENT XMLType
      7      )
      8      XMLTYPE COLUMN "XML_EVENT_CONTENT" STORE AS BINARY XML;
    Table created
    SQL> insert into audited_event_xml_min values (1, systimestamp, xmltype('<root><child1>Val1</child1></root>'));
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> select * from AUDITED_EVENT_XML_MIN e;
    AUDITED_EVENT_XML_PK_ID CREATED_TIME                                      XML_EVENT_CONTENT
                          1 05-SEP-12 09.24.36.546435 AM                      <root>
                                                                                <child1>Val1</child1>
                                                                              </root>
    SQL> select e.xml_event_content.extract('/') from AUDITED_EVENT_XML_MIN e;
    E.XML_EVENT_CONTENT.EXTRACT('/
    <root>
      <child1>Val1</child1>
    </root>
    SQL> I also ran the two SELECT statements from SQL*Plus, (11.2.0.3 32-bit Instant Client) and received the exact same results.
    I'm guessing your version of Toad (or something between it and the DB) does not like XMLType data types being returned.
    Try
    select e.xml_event_content.extract('/').getStringVal() from AUDITED_EVENT_XML_MIN e;or .getClobVal() if the XML is large and see what happens.

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

  • Still not possible (4.0 EA3) to copy displayed column headings from ref cursor output.

    Hi,
    I've created an enhancement request to allow displayed column headings from ref_cursor output to be copied.
    This is still not possible (4.0 EA3)
    The ref cursor data can be copied, but not the headings..
    See July 2012 discussion of problem in comments at
    http://www.thatjeffsmith.com/archive/2011/12/sql-developer-tip-viewing-refcursor-output/

    Hi,
    I think you're out of luck... except if you're on 11g where you can use DBMS_SQL.TO_CURSOR_NUMBER to convert the REF CURSOR to a DBMS_SQL cursor, and then benefit from the DBMS_SQL package to get column details.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sql.htm#CHDJDGDG

  • Xml is not generating the selected column

    Hi experts,
    I have selected the 3 column in my slect statement with 3 bind variable . But when I save my datamodel and generate the xml , My xml is not showing the selected three column...please find the blow query.
    Select BAL_ATT.TRANSACTIONAL_AMOUNT_WD0,
    BAL_ATT.FUNCTIONAL_AMOUNT_WD0 ,
    SIGNOFF.CODE_COMBINATION_ID,
    RT.ROLE_NAME
    from
    MLC_BAL_ATTRIBUTE_T BAL_ATT /* A_MLC_BAL_ATTRIBUTE */ ,
    MLC_USER_T US/* A_MLC_USERS */ ,
    MLC_BAL_SEGMENT_T BAL_SEG/* A_MLC_BAL_SEGMENT */ ,
    MLC_SIGNOFF_T SIGNOFF /* A_MLC_SIGNOFF */ ,
    MLC_LEDGER_ROLE_HIERARCHY_T RHT,
    MLC_ROLE_T RT , MLC_LEDGER_T Leg,
    MLC_LEDGER_COMPONENT_T LC
    where ( SIGNOFF.CODE_COMBINATION_ID = BAL_ATT.CODE_COMBINATION_ID
    and SIGNOFF.CODE_COMBINATION_ID = BAL_SEG.CODE_COMBINATION_ID
    and SIGNOFF.MONTH_END_DATE = BAL_ATT.MONTH_END_DATE
    and RHT.LEDGER_ID= SIGNOFF.LEDGER_ID
    and RHT.LEDGER_COMPONENT_ID=SIGNOFF.LEDGER_COMPONENT_ID
    and RT.ROLE_ID=RHT.ROLE_ID
    and LC.LEDGER_ID=SIGNOFF.LEDGER_ID
    and LC.LEDGER_ID=LEG.LEDGER_ID
    and (US.USER_ID =SIGNOFF .ROLE4_USER_ID or
    US.USER_ID =SIGNOFF .ROLE3_USER_ID
    or US.USER_ID =SIGNOFF .ROLE1_USER_ID
    or US.USER_ID =SIGNOFF .ROLE2_USER_ID
    or US.USER_ID =SIGNOFF .ROLE5_USER_ID)
    and LEG.LEDGER_NAME IN (:LEG)
    and RT.ROLE_NAME IN(:ROLE)
    and LC.LEDGER_COMPONENT_NAME IN(:LEG_COMP)
    and (SIGNOFF.ROLE1_STATUS is null or SIGNOFF.ROLE2_STATUS is null or SIGNOFF.ROLE3_STATUS is null or SIGNOFF.ROLE4_STATUS is null or SIGNOFF.ROLE5_STATUS is null))
    Let me know If I need to do some configuration.
    I need to generate the xml and then need to import it my rtf template...

    Hi RavindraKshirsagar,
    We have a problem like you faced. Our requirement is that, we need to generate dynamically the PERSON element in our javabean.
    <xs:element name='SERVICE_REQUESTER'>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref='ORGANIZATION' />
                        <xs:element ref='PERSON' maxOccurs='unbounded' />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>For this maxOccurs, as JAXB is not generating any Setter Method. As we need to get data dynamically from external application. If you could help us in handling this case dynamically, it will be well and good.
    Please send us the script / code asap.

  • Editable column in ECM(compensation) not possible,but what happens in EHP4?

    Hi all,
    I've been reading in the forum that it's not possible to create an editable custom column in the ECM Compensation and of course I haven't been able to get it.
    But, I'm working in MSS 6.0 EHP2, does anyone know if it is going to be possible to do this in EHP4?? I know that the funcionality of ECM in EHP4 has been increase a lot.
    Any news about it??
    Thanks,
          Juanjo

    I am a little confused because this is an editable region called "head" that makes changes to the footer.  I don't think i will be able to explain WHY this is so for a while, but at least i will be able to see what is wrong and give the solution.
    You are embedding a stylesheet in the editable region called 'head'.  That stylesheet sets the style for the element called "footer" by specifying the background image to be used.  It's quite straightforward.
    What was really freaky:  entering the url for the background image in the style sheet as "/path/to/your/image.jpg".  Lordy i didn't think that could be the literal thing i was supposed to enter!     
    It's not.  You were supposed to alter that to match the path from your site's root to the desired image.
    Where did you find this gem of information?
    It's just basic CSS, really.

  • Xml data type is not supported in distributed queries. Remote object 'OPENROWSET' has xml column(s).

    Hi,
    Can anyone help me out please.
    I have written one stored Procedure to create a views using Openrowset(openquery) but for tables which contains xml data types throwing error while executing the SP. Error
    " Xml data type is not supported in distributed queries. Remote object 'OPENROWSET' has xml column(s)."
    Please refer the Stored Procedure & error message below.
    USE [Ice]
    GO
    /****** Object:  StoredProcedure [dbo].[Pr_DBAccess]    Script Date: 08/14/2014 16:08:20 ******/
    SET
    ANSI_NULLS ON
    GO
    SET
    QUOTED_IDENTIFIER ON
    GO
    ALTER
    PROCEDURE [dbo].[ Pr_DBAccess](@SERVERTYPE
    NVARCHAR(50),@SERVERNAME
    NVARCHAR(100),@DATABASENAME
    NVARCHAR(100),@SCHEMANAME
    NVARCHAR(100),@TABLENAME
    NVARCHAR(100),@USERNAME
    NVARCHAR(100),@PASSWORD
    NVARCHAR(100))
    AS
    BEGIN
    DECLARE @openquery
    NVARCHAR(4000),
    @ETL_CONFIG_IDN
    NVARCHAR(100);
     IF @SERVERTYPE='SQL'
     BEGIN
    SET @openquery= 
    'CREATE VIEW '+@TABLENAME+
    ' WITH ENCRYPTION AS SELECT * FROM OPENROWSET(''SQLNCLI'',''SERVER='+@SERVERNAME+';TRUSTED_CONNECTION=YES;'',''SELECT * FROM '+@DATABASENAME+'.'+@SCHEMANAME+'.'+@TABLENAME+''')'
    SELECT @openquery
    END
    EXECUTE
    sp_executesql @openquery
    END
    ----While running the SP manually below error occured

    HI ,
    1. You cannot use a table or view that contains xml or clr type as 4-part name in your query
    2. You need to cast the column to either nvarchar(max) or varbinary(max) or other appropriate type to use
    3. If you have a table that has xml type for example then you need to create a view that contains all columns other than xml and query it instead. Or you can issue a pass-through query using OPEN QUERY with the appropriate columns only.
    Here is a work around:
    SELECT
          Cast(a.XML_Data as XML) as XML_Data
    FROM
          OPENQUERY([LINKED SERVER NAME HERE],'
              SELECT
                Cast(XML_Data as Varchar) as XML_Data
             FROM
                [DATABASE NAME].[SCHEMA].[TABLE NAME]'
    ) a
    Basically, the data is queried on the remote server, converts the XML data to a varchar, sends the data to the requesting server and then reconverts it back to XML.
    You can take help from below link;
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c6e0f4da-821f-4ba2-9b01-c141744076ef/xml-data-type-not-supported-in-distributed-queries?forum=transactsql
    Thanks

  • I would like to express my Adobe Muse years subscription. Through the site this is unfortunately not possible to arrange that through my accounbeheer online. I is getting by referred to the customer support.

    I would like to express my Adobe Muse years subscription.
    Through the site this is unfortunately not possible to arrange that through my accounbeheer online. I is getting by referred to the customer support.
    Is it only possible to arrange this via chat to or by calling to look for?

    You can join support team via chat or Phone :
    https://helpx.adobe.com/contact.html?step=MUSE
    Thanks,
    Sanjit

  • Restart not possible (Xml message)

    Hi All,
    I am facing the following error in SXMB_MONI , restart is not possible & unable to check the payload.
    can any one please let me know what is the cause for it & how to resolve it.
    INTEGRATION_SERVER_PIP  - -
    Sender Component     
    urn:wssprocessorWsd/wssprocessorVi/document -
    sender name space     
    wssprocessorVi_Document----
    Sender Interface                         
    "Current Status"----
    >Version     
    Synchronous----
    >Type
    BE -
    >QOS          
    PROXY----
    Outbound Proxy
    & The Receiver components are Blank.
    Message Status is System Error RESTART NOT POSSIBLE(RED colour Round Button)

    Have you configured Receiver Determination with the appropriate target system and interfaces?  Looks like your target system is down or connectivity errror...
    Go to SXMB_MONI and pick that message and navigate pipeline steps and see where it fails.. Also the steps it fails you check the payload or response mesg and you will see the details of error.
    Also go to RWB and check your communication channel monitoring  area. See any help you get.
    Also go to RWB and go to message monitoring. See the inbound side of the interface and see what is the reason for the error.. Sometime if the receiver comm channel or target system has issue you mesg stop.
    Check SMQ1 and SMQ2 and see any locks for those mesgs. If so remove locks and activate again.

  • Change of Adobe Creative Cloud subscription not possible online. The annually subscription is in its last month. How can I preceed?

    See title

    Hi Rajshree,
    Thank you very much for your supply.
    I did not mention anything about a Email. I wrote about my subscription of creative cloud. I know it should be possible to cancel the subscription in the last month, but unfortunately it is not possible on my account. I only get a popup message that told me to contact the support. I want to either downgrade the subscription to lightroom and photoshop only, or if it has to be, to cancel it and then reopen the new one. But as I wrote I simply do not have that possibility on my account.
    Regards
    Roger

Maybe you are looking for

  • Setting Font Color and Bold Property in ALV Grid

    I have a requirement to set the font in particular ALV Cells  in red color. Also this font (text) has to be set to Bold. I know how to set cell coloring in ALV Grid, but have no idea regarding how to set font color. Could please give me an idea/code

  • Opened support case, they keep closing, problem not solved and they won't respond

    I opened a support case with adobe for thier digital editions program and they would answer once and close the case without seeing if the answer worked. I reopened the case again when the fix didn't work and gave them more info, including text of the

  • How to Post BAPI_GOODSMVT_CREATE with profit segment?

    Kindly advise how we can post profit segment with BAPI_GOODSMVT_CREATE? Thank you.

  • Parallel Accounting

    HI, I have done the configurations for Non- leading ledgers and parallel accounting but when I post entry the entry posted in the non- leading ledger is not displayed in the entry. Kindly advise me what are the configurations to be done for parrallel

  • Coloumn Graph with Business Graphics

    Hi 1) I am using WebDynpro business graphics stacked column graph, in that i need to show Label values. I am getting my Label value but and on the top of the columns i am getting 0 number. I want to remove the 0 number. I set the Defaultseries format