Delete blob column in source and rename schema using rule

Hi
I have blob column in source table, which i am deleting while capturing through rule based tranformation and also renaming the schema through the same rule.
SET SERVEROUTPUT ON
DECLARE
v_dml_rule VARCHAR2(80);
v_ddl_rule VARCHAR2(80);
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_RULES(
table_name => 'ENGINE.ACTIVATIONS',
streams_type => 'CAPTURE',
streams_name => 'CAPTURE_TO_&destsid',
queue_name => '&source_strmadmin_user..&sourcesid._TO_&destsid',
include_dml => true,
include_ddl => false,
include_tagged_lcr => false,
source_database => 'MMSTG.DEMOWORLD.COM',
dml_rule_name => v_dml_rule,
ddl_rule_name => v_ddl_rule,
and_condition => ':lcr.get_command_type() != ''DELETE''',
inclusion_rule => true);
DBMS_STREAMS_ADM.DELETE_COLUMN(
rule_name => v_dml_rule,
table_name => 'ENGINE.ACTIVATIOINS',
column_name => 'INSTANCE_DATA',
value_type => '*',
step_number => 0,
operation => 'ADD');
DBMS_STREAMS_ADM.RENAME_SCHEMA(
rule_name => v_dml_rule,
from_schema_name => 'ENGINE',
to_schema_name => 'ENGINE_WEST',
step_number => 0,
operation => 'ADD');
DBMS_OUTPUT.PUT_LINE('Capture DML Rule for ENGINE.ACTIVATIOINS => ' || v_dml_rule);
END;
I use step_number 0 for both rename schema and delete column. Some how, delete column transformation is not firing and it replicates the blob column with some bytes instead of zero bytes.
How do we execute this both rule based transformation with correct step_number to fire both transformations. Please do let me know..
Thanks
Bala

In what version?
Step 0 is the default so that is not the issue.
Can you also post the DDL for your table and the results of the following query:
SELECT *
FROM dba_streams_unsupported
WHERE owner = <schema owner>
AND table_name = <your table name>;

Similar Messages

  • Is it possible to have source and target schema in the same DB instance ?

    Hi All,
    I'm using Oracle 11gR1.
    I have switched source locations from other server to the one with OWB.
    During deploy I get VLD-3064 and I can't deploy mapping because of many 'table or view does not exist' warnings.
    Is it possible to have source and target schemas in the same instance ??
    How to do it ?
    Regards,
    Martin

    Hi Jörg,
    Thanks for your help and quick answer.
    I'd like to clarify a little your answer :
    1. Are the any special privilages I need to set ? Currently I have only 'RESOURCE' and 'CONNECT' (I think I didn't have to add any other privs when that schema was located on other instance...)
    2. Also VLD-3064 states that : 'Owning and referenced location of this connector are on the same database instance. Unless explicitly referenced in configuration settings no generated code will use the dataabase link resulting from deployment of this connector'. Does it mean I have to put something in configuration ?
    Thanks,
    Martin

  • Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.

    I am using VS 2012 and BizTalk 2013 and attempting to deploy an application to BizTalk when I get these errors:
    Error 47
    at Microsoft.BizTalk.Deployment.Assembly.BtsMap.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsArtifactCollection.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsAssembly.Save(String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    0 0
    Error 49
    Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present. Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    Error 46
    Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    I also tried to Import a MSI file from our test environment to see if that would work...got the same errors.  After spending hours (not kidding) looking for an answer, all I could find is that a hotfix would work.  So, I got the hotfix from Microsoft
    Support and applied it then rebooted.  Still getting the same errors.  I'm absolutely at a stand still.  Interesting that I got this application to deploy yesterday and then the next time I deployed it I started getting these errors.  I'm
    ready to pull my hair out!
    Is there an answer for this out there somewhere?  Any help would be appreciated.
    Thanks,
    Dave

    Hi Dave,
    Which hotfix have you applied? I don't think a hotfix of this issue is available for BizTalk 2013 yet. You should create a
    support ticket with Microsoft to get a solution.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Connecting the source and target schemas to ODI

    Hi ,
    I have recently started learning ODI tool for data integration. I need to use this tool as a part of Deal Management product related work.
    I have gone thru the documentation available in OTN for ODI. they were describing everything using the demo environment.
    problem:
    Can any one please tell me how to connect source schema and target schema to the ODI ...?
    Both the source and target schema are in the Oracle database of the loaclhost.

    Hi,
    Right Click ur Dataserver , In the bottom u will have option insert physical schema.
    Click that u will have window opened........
    In the Definition Tab:
    Specify ur Schema name and Work schema .......u r going to use .
    Enable the default option also....
    In Context Tab:
    Specify ur context Name and Type in the Name u want to have for ur logical Schema, it autmatically creates the logical schema ...for u.
    and click ok .
    hope it helps u.....
    Thanks
    AK

  • I purchased (and have now deleted Aperture from my computer and want to use only iPhoto.  How do I delete Aperture albums but keep the pics in iPhoto?

    I purchased (and have now deleted) Aperture from my computer and want to use only iPhoto.  (Aperture was simply too much program for me.)  How do I delete Aperture albums but keep the pics in iPhoto?  Please accept my apologies in advance if this is a dumber than dumb question.  I simply want all vestiges of Aperture to go away with losing all my albums.  Any help would be appreciated!

    Aperture added  a second view to your library.
    You now have an additional section in your Source list , called events. But this section lists exactly the same events that you are seeing in the "Events" view. Don't delete anything from there, or you will delete your photos. But you can press the "Hide" button to collaps that section. But someday you may want to use this list. It makes it very easy to move photos between events.

  • Create a data source and database tables using WSAD

    Hi, guys:
    the following is from a tutorial:
    http://www-106.ibm.com/developerworks/websphere/techjournal/0306_wosnick/wosnick.html
    "To create the data source and Cloudscape database tables automatically, right click on the HelloWorldServer in the Servers view, and select the Create tables and data sources menu item. A dialog will then display showing that the data source and database tables were created successfully (Figure 5)."
    I am using WSAD 5.0 trial version. I cannot find Create tables and data sources menu item if I right click on the HelloWorldServer in the Servers view. I am wondering if this is because trial version does not have this feature?
    regards

    This question is a little off topic but you may get a reply. Please note this forum is about Sun's J2EE SDK and its related technologies. You may have better luck posting your question to an IBM specific resource.

  • Black Screen (source and preview) when using GPU acceleration (CUDA) [NVidia GTX 780M]

    Hi guys!
    I am running Adobe Premiere Pro CS6 on Windows 7 (Ult) on a machine equipped with NVidia GTX 780M (4 GB VRAM) graphics card. The source and the preview monitors are both black if I select GPU accelerated rendering. There is a yellow bar above the timeline clips, I can hear the sound tracks, but there is no image. If I choose the Software Only rendering (CPU) then I do see the image as well, but the real-time playback and rendering times are awful!
    At first, the application would not allow me to use the GPU acceleration using NVidia’s CUDA processing. Once I entered my video card name in the “cuda_supported_cards.txt” file in the Adobe Premiere Pro CS6 folder I was able to choose between Mercury Playback Engine Software Only and Mercury Playback Engine GPU Acceleration CUDA.
    I tried downgrading the video card driver to the previous stable version and reinstall Pr – no go. How do I make Adobe Premiere Pro CS6 work with my NVidia GTX 780M video card?
    Your insight is appreciated!
    P.S. I used to work on a different machine equipped with NVidia GTX 670M card (which is also missing from the officially supported Pr CS6 cards list) and I never had any issues of this nature with that laptop.

    Hi there,
    As stated before, I had the same problem. Apparantly the solution for me was to check the Nvidia settings. My setup has both an onboard GPU and a Nvidia GPU (on purpose specifically for video editing and gaming). Normally the system should switch to Nvidia automatically. However, the Nvidia settings for Premiere where set to favor the onboard GPU. After changing this. everything works fine again!
    kind regards. Bart

  • Deleting BLOB columns doesn't return free space

    After building a file upload/download app in HTMLDB, I found that the space doesn't seem to get released again after deleting a row from the upload table. Is there any specific purge procedure I must run, or any call to the DBMS_LOB package in order to get the space back?
    I didn't find anything useful in the documentation (any documentation, not the HTMLDB docs ;-)).
    Thanks in advance and a happy new year to everyone,
    Holger

    Hello Joel,
    thanks for your reply. It's a custom table with following layout:
    FILENAME VARCHAR2(4000),
    DESCRIPTION VARCHAR2(4000),
    ID NUMBER NOT NULL,
    BLOB_CONTENT BLOB,
    MIME_TYPE VARCHAR2(4000),
    UPLOAD_DATE DATE
    When I check the "Detaile Tablespace Utilization Report" in HTMLDB, I don't see a decrease of used space though a record with a large file has been deleted.
    I followed the howto to create an upload/download application in HTMLDB and then added a page to be able to delete records...
    Holger

  • HT204053 My apple id and icloud account merge together, i want to delete my icloud account because of some problems in name but i cann't delete my icloud account also and  rename also can you give me suitable answer on my email address

    My apple id and icloud account merge together, i want to delete my icloud account because of some problems on name so i want to change name or delete my icloud account .
    <Subject Edited by Host>

    You can't delete an iCloud account.
    Once it is attached to an AppleID it is attached forever.
    You can edit the name on your iCloud account or setup an email alias if you made a mistake with the email address.

  • How to determine the Xcelsius Theme and Colour scheme used in a dashboard

    I would like to know what colour scheme and xcelsius Theme has been used in creating a given dashboard.  Kindly share this information
    Thanks

    Hi,
    Xcelisus Thems cannot be used in professional dashboards.If you are doing any dashboard's for your internal team ,It would be ok..
    But the best pratice is to create ur own colors,all along the dashboard..
    Regards,
    satish.p

  • How to get oracle 9i blob column into an itab  in sap using Native SQL

    Hi ,
    We are using SAP ECC 5.0  and we need to coonect to an oracle database ver 9i rel2.
    We need to get the data stored in a blob(pdf/jpeg) into an itab and later
    use it for futher processing.
    I am familiar with using native SQL and I wrote a stored procedure in the non sap oracle database to send the blob info into an internal table in sap.
    But the information is in hex format and the long raw of SAP does not handle this very well.
    Plz see my code below.
    data: itab_insp_drawing like zpicture_cluster(which is of type lraw - 7902 )
          occurs 100 with header line.
    EXEC SQL.
        EXECUTE PROCEDURE
           proc_get_insp_drawings  (
                   IN  :itab-aq_id,
                   IN  :itab-section_id,
                   IN  :t_in_position,
                   out :itab_insp_drawing-picture,
                   OUT :t_blob_length,
                   out :t_out_position,
                   OUT :t_status  )
       ENDEXEC.
      append itab_insp_drawing.
      while t_out_position < t_blob_length.
       EXEC SQL.
        EXECUTE PROCEDURE
           proc_get_insp_drawings  (
                   IN  :itab-aq_id,
                   IN  :itab-section_id,
                   IN  :t_in_position,
                   out :itab_insp_drawing-picture,
                   OUT :t_blob_length,
                   out :t_out_position,
                   OUT :t_status  )
       ENDEXEC.
       append itab_insp_drawing.
       endwhile.
    Any ideas of how to handle blobs from non sap oracle table. I need this blob into an itab in sap.
    Help appreciated.
    Thanks
    Mala

    Please refer the example in this link which deals with Oracle date format.
    You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
    Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]

  • Register xmltype column from one table as schema using DBMS_registerschema

    I am attempting to do the following:
    BEGIN
    DBMS_XMLSCHEMA.registerSchema
    (SCHEMAURL => 'CCD.xsd',
    SCHEMADOC => xdbURIType(select SANDBOX.XHOLDER.SYS_NC_ROWINFO$ from SANDBOX.XHOLDER).getClob()
    END;
    But it doesn't like having a select statement where it does not expect one. I cannot find anything at all on doing what I am trying to do. Anyone with any ideas?
    Thanks TONS!

    Which schema are you working with. The one you pointed to appears to be self contained
    <!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Bob Dolin (HL7 CDA TC) -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" xmlns:sch="http://www.ascc.net/xml/schematron" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
         <xs:annotation>
              <xs:documentation>            $Id: Vocabulary.xml,v 1.1 2005/08/25 11:33:46 mcraig Exp $            RoseTree XML to Schema: $Id: VocabXMLtoXSD.xsl,v 1.6 2005/05/24 00:14:18 lmckenzi Exp $        </xs:documentation>
         </xs:annotation>
         <xs:simpleType name="Classes">
              <xs:restriction base="cs"/>
         </xs:simpleType>
         <xs:annotation>
              <xs:documentation>The following types are used internally in data types</xs:documentation>
         </xs:annotation>
         <xs:simpleType name="AddressPartType">
    </xs:schema>

  • Problem Loading Word documents in BLOB columns

    Hi
    I tried loading the documents in the BLOB column, then indexing and then text serach, but the query does not work or guess that the document does not get loaded
    The table structure is
    table: Content
    feilds
    id number (10) pk
    author varchar2(30)
    doc_name varchar2(60)
    document BLOB default empty_blob()
    loaded data with SQL loader and the file details are below
    the load1.ctl file
    LOAD DATA
    INFILE 'd:\intermedia\data1.dat'
    INTO TABLE contents
    APPEND
    FIELDS TERMINATED BY ','
    (id SEQUENCE (MAX,1),
    author ,
    doc_name
    LOBFILE (CONSTANT 'c:\nandeep\jun_news.doc') TERMINATED BY EOF)
    data1.dat contents is as follows
    nandeep,june news,c:\nandeep\jun_news.doc,
    Any reason why it does not work or what could be the alternative
    -nandeep
    null

    Your are in the wrong Forum. Documents cannot be loaded in iFS using SQL*LOADER

  • One problem with constraints missing in source and target database....

    DB Gurus,
    In my database I am going to export and import data using datapump but dont specify CONTENT clause.
    so when I start working on my application, I came to know there are some constraints are missing. now how to check what are the constraints are missing from Source database and how to create those missing constraints on Target database?
    Suggest me if you have any idea.

    Create a database link between source and target schema.
    Use all_/dba_/_user_constraints to generate the difference using MINUS operator.
    something like this:
    select owner,constraint_name,constraint_type from dba_constraints@source
    MINUS
    select owner,constraint_name,constraint_type from dba_constraints

  • How to get MIME type of BLOB column.

    Hi,
    I have created OS directory folder(C:\Audio) in my c drive and having list of audio files in different format, Also I have created one table to store the audio files with Blob column.
    So, i need to know the MIME type of the BLOB column during the run time.

    Saroj Nayak wrote:
    I have created OS directory folder(C:\Audio) in my c drive and having list of audio files in different format, Also I have created one table to store the audio files with Blob column.
    So, i need to know the MIME type of the BLOB column during the run As recommended in the About BLOB Support in Forms and Reports documentation, use additional columns to store file metadata like the MIME type.

Maybe you are looking for

  • I just updated my itunes and now it won't open.

    I've been having multiple problems with my computer, every time it asks me to update I do. But when i updated my itunes about a week ago while it was re importing all my files it closes and says : The application iTunes quit unexpectedly. The problem

  • Missing LIFNR and NAME1 when display G/L line items (FBL3N)

    Hi Guys, When displaying line items of a GR/IR account with transaction FBL3N, vendor number (LIFNR) and vendor name (NAME1) are shown in good receipt documents. But not in invoice verification documents. Do y' know why? Rgrds

  • DreamColor Monitor from PC via VGA: Color-Space & Settings?

    Context: Premiere CC on a WIndows 7 laptop with an external DreamColor monitor connected via VGA port (for convenience rather than bit depth). What color space is appropriate in the DreamColor settings, i.e. what is the VGA likely to be supplying?  

  • ITunes setup won't launch

    Can anyone help? I keep clicking on the setup fro iTunes 7, but it won't go at all. Any help is greatly appreciated

  • Calling this simple servlet from command line -- ERRORS!

    Below is my servlet. I call from command line via: java BatchServlet and I get: Exception in thread "main" java.lang.NoClassDefFoundError: BatchServlet IS there a reason for this import java.io.IOException; import javax.servlet.*; import javax.servle