Long field type data transfer

hello
I want to copy one table data into another table having long data type but it gives
me error like
SQL> insert into temp select * from temp1;
insert into temp select * from temp1
ERROR at line 1:
ORA-00997: illegal use of LONG datatype
both of the tables have long type field but it gives error in log type data transfer
can somebody help me
thanks

LONG datatypes cannot be used for Insert with selects or CTAS.
If the maximum length of the long datatype column is less than or equal to 4000 then you can use
SQL> insert into temp select col1, col2, dbms_metadata_util.long2varchar(4000,'TABLE_NAME','COLUMN_NAME',rowid) Column_alias from temp1;
If the maximum length of the long column is greater than 4000 then you can use
SQL> insert into temp select col1, dbms_metadata_util.long2clob(40000,TABLE_NAME','COLUMN_NAME',rowid) Column_alias from temp1;
Regards
PantherHawk

Similar Messages

  • How can avoid mandatory fields in data transfer

    hai
    please respond me
    how can avoid mandatory fields in data transfer like bdc

    hi,
    u have to pass values for mandatory fields in bdc method, u have to prepare u r bdc data such a way that all the mandatory fields are filled, other wise it will give error

  • Date format in parameter field type date

    Post Author: Luciano Brandao
    CA Forum: Crystal Reports
    Hi I need show /input date format dd-mm-yyyy in paramters field type date when Crystal prompt parameter to user. I used Crystal 11 Can help-me ? thanks

    Post Author: Crystal Fire
    CA Forum: Crystal Reports
    Put this in the page header to show the date parameters chosen for the report. Make sure you change the select expert for the date field to = ?{date field}
    "All Posting Dates Between "+ ToText(Minimum({?date field}),"M/d/yyyy")" and "ToText(Maximum({?date field}),"M/d/yyyy")

  • Parameter Field Type Date

    Post Author: Pursuit
    CA Forum: Crystal Reports
    How can i change my Parameter Field Type "Date" so it requests the date as dd-mm-yyyy and not yyyy-mm-dd

    Hello,
    You can still accept the date as it is, but you can convert the date in the report level with the folowing formulas when you pass the date to data base.
    DayFormula: ToText(Day(Date(yyyy-mm-dd)),0) output you get day eg:  DD
    MonthFormula: ToText(Month(Date(yyyy-mm-dd)),0)  output you get eg: MM
    Year Formula: ToText(Year(Date(yyyy-mm-dd)),0) output you get eg: YYYY
    DashFormula: "-"
    Now combine all
    CompleteDateFrmula= DateValue(& & & & {Year Formula})
    You can pass this
    Hope this help!!!!
    Ashok

  • Activation of Objects with Type Data Transfer Process

    Hi Experts,
    I am stuck in a problem of activation of DTP. I loaded the data from the Datasource to PSA and there are about 200,000 reocrds.
    Now I wanted to take this load to DSO NEW table ..I have created a DTP and when I try to activate the DTP I get this Error
    Activation of Objects with Type Data Transfer Process
        Internal Activation (Data Transfer Process )
             Post Processing/Checking the Activation for Data Transfer Process DTP_49Z7OSAHFAR9O8335ED6
                  Error when activating Data Transfer Process DTP_49Z7OSAHFAR9O8335ED67X11C.
    I tried to activate the Data source but it still didnt help. Looked in SDN for some related stuff but most of them are talking about going for SP 11 ..we are already on
    *SAP_BW     700     SAPKW70014     *
    Your suggestion will be appreciated with maximum points
    Thanks

    Hello Experts,
    Could you'll please help me out with this ...I
    I deleted the DTP and created back again
    logged out of BW and logged back again
    Infact I found a SAP note 1086877 and i applied it ..but it still didint help
    Whie loading the Master Data from PSA to DTP ..it worked fine.
    While Loading the transactrion data I went to Tcode RSBATCH and in the drop down I selected the DTP activation and gave a 3 Back ground processes....Ever since that it started giving me problem
    Your help will be appreciated...my data loads are stalled ..i mean I cant move forward.
    Thanks

  • Oracle OLE DB provider truncates LONG field's data

    I am using Visual Basic 6, Oracle 8.1, and use ADO to connect to the Oracle database.
    I have a problem with OLE DB provider OraOLEDB.Oracle reading a LONG field (MEMO field in Access).
    When I tried to get the value of the LONG field, it truncates it to 100 characters.
    I do not have the problem using Microsoft Oracle OLE DB Provider MSDAORA.
    This is the Oracle table:
    CREATE TABLE tblA (
    tblA_KEY NUMBER(10) NOT NULL,
    tblA_MEMO LONG NULL
    This is the VB 6 code:
    Set rs = New ADODB.Recordset
    rs.Open ssql, adoConn, adOpenForwardOnly, adLockReadOnly
    sMemo = "" & rs.Fields("tblA_Memo") -->> sMemo contains only the first 100
    characters of tblA_Memo
    How can I fix this?
    Thank you.

    Thanks. I assume you are talking about 9.2 version of Oracle, right?
    While we are in the subject of LONG field. In Oracle 8.1, I can not do the following sql stt:
    select * from tblA where tblA_Memo like '%york%'
    It gives me the error "ORA-00932: inconsistent datatypes"
    Can I do this in Oracle 9.2 ?
    Thank you.

  • Reduced matmas message type data transfer to mdm

    Hello ,
    I have scenario where I have reduced matmas message type (Zervicematmas) and it is linked to matmas05.I want to transfer this data using mdm_clnt_extr.
    Uptill now my understanding is that mdm_clnt_extr can transfer data for standarad
    message type as(DEBMDM,MATMAS).
    if yes , pl suggest what config has to be done on ECC6.0.
    thanks in advance,
    Sharada

    Thanks for the help,
    As per your suggestion one can select sengment to be transfered at the time of creating a variant of Extraction.
    My scenario is that  I have to create a custome message type ZSERVICEMATMAS for transferring  data to MDM and standard MATMAS will be used to trnasfer data to other third party system.
    Now here MDM_CLNT_EXTR is able to give me idoc wrt MATMAS message type and MATMAS05 idoc type.
    I want MDM_CLNT_EXTR should create idoc for ZSERVICEMATMAS meesage type and MATMAS05 is idoc type.
    I have checked for exits is MATERIAL_extract FM where I can give this message type, but didnt got any clue.
    Pl can you suggest on this.
    thanks,
    Sharada

  • User-Defined Data Type (Data Transfer Objects) is null

    hi
    i try to access a nested complex datatype over blazeds. i always see that the second level of the  complex datatye is NULL but the other data's like String are ok.
    here an example:
    as you can see TT1 has a member TT2, and a String
    TT2 has a member TT3 and a string
    and TT3 has just a string.
    in the ActionScript the TT2 referenz in TT1 is always NULL.
    Java Code
    Java code:
    package clientreportingserver;
    public class TT1 {
        public String getT1s() {
            return t1s;
        public void setT1s(String t1s) {
            this.t1s = t1s;
        String t1s;
        public TT2 getTt2() {
             return tt2;
        public void setTt2(TT2 tt2) {
             this.tt2 = tt2;
        TT2 tt2;
    =================================================
    package clientreportingserver;
    public class TT2 {
        public String getT2s() {
            return t2s;
        public void setT2s(String t2s) {
            this.t2s = t2s;
        String t2s;
        public TT3 getTt3() {
             return tt3;
        public void setTt3(TT3 tt3) {
             this.tt3 = tt3;
        TT3 tt3;
    =================================================
    package clientreportingserver;
    public class TT3 {
         public String getT3s() {
            return t3s;
        public void setT3s(String t3s) {
            this.t3s = t3s;
        String  t3s;
    ActionScript DataType
    package clientreporting.model
    import mx.collections.ArrayCollection;
    [RemoteClass(alias="clientreportingserver.TT1")]
    [Bindable]
    public class TT1
        public var t1s:String;
        public var t2:TT2
    ====================================================================
    package clientreporting.model
    import mx.collections.ArrayCollection;
    [RemoteClass(alias="clientreportingserver.TT2")]
    [Bindable]
    public class TT2
        public var t2s:String;
        public var t2:TT3
    ===================================================================
    package clientreporting.model
    import mx.collections.ArrayCollection;
    [RemoteClass(alias="clientreportingapi.TT3")]
    [Bindable]
    public class TT3
        public var t3s:String;
    here the output from blazeds. for me it looks perfect, all data are transmitted
    BlazeDs output
    [BlazeDS]Deserializing AMF/HTTP request
    Version: 3
      (Message #0 targetURI=null, responseURI=/5)
        (Array #0)
          [0] = (Typed Object #0 'flex.messaging.messages.RemotingMessage')
            source = null
            operation = "getTT"
            destination = "exposedServiceWrapper"
            clientId = "E57066B1-170E-503A-D4EC-004166E95FC3"
            body = (Array #1)
            timeToLive = 0
            headers = (Object #2)
              DSEndpoint = "channel-amf"
              DSId = "E570490A-C218-4A29-4229-8CD6F29222FC"
            timestamp = 0
            messageId = "5FDB47AD-9066-DD95-4CD4-0CE0D3F6C337"
    [BlazeDS]Adapter 'java-object' called 'null.getTT(java.util.Arrays$ArrayList (Collection size:0)
    [BlazeDS]Result: 'clientreportingserver.TT1
      t1s = TT 1 String
      tt2 = clientreportingserver.TT2
        t2s = TT 2 String
        tt3 = clientreportingserver.TT3
          t3s = TT 3 String
    [BlazeDS]Serializing AMF/HTTP response
    Version: 3
      (Message #0 targetURI=/5/onResult, responseURI=)
        (Externalizable Object #0 'DSK')
          (Typed Object #1 'clientreportingserver.TT1')
            t1s = "TT 1 String"
            tt2 = (Typed Object #2 'clientreportingserver.TT2')
              t2s = "TT 2 String"
              tt3 = (Typed Object #3 'clientreportingserver.TT3')
                t3s = "TT 3 String"
    1.262936445958E12
    (Byte Array #4, Length 16)
    (Byte Array #5, Length 16)
    (Byte Array #6, Length 16)
    the last Alert (accessing t2) got always a null pointer, the fist Alert works fine and print out the string i expected to see
    call in ActionScript
        public function loadTT():void {
           _policyService.getTT(loadTTHandle);
        private function loadTTHandle(content:TT1):void {
           Alert.show("" + content.t1s);
           Alert.show("" + content.t2.t2s);
    is it possible to access a nested complex type? i only could find simple examples.
    thanks for your help joe

    I found the problem
    in the flashlog.txt i found :ReferenceError: Error #1056: Cannot create property AFoo on [...]
    this let me to this blog http://blog.comtaste.com/java/  ==>
    Automating  ActionScript 3 classes generation from Java Beans in a LiveCycle Data Services context
    it was a naming problem.

  • Inconsistency during recon with UDF fields with date type

    We have several fields type Date in the UDF definition. Birthdate, for example.
    We recon'd a bunch of users, and some users have their birthdate (and other dates, like start and end dates UDF) showing up at YYYY/MM/DD 00:00:00 in the database, while others show up as YYYY/MM/DD 01:00:00
    This obviously is bad. Has anyways seen this behavior before?
    Thanks.

    Hi Hiney,
    I am not sure what version of OIM you are, but I got errors like yours last year and it was resolved with an article (Oracle Metalink) ID 1146555.1. Please go there and let me know if you are facing the same issue that I got. And follow the solution there.
    I hope this helps.
    Thiago Leoncio Guimaraes

  • Help with DTP with Processing Mode No Data Transfer, Delta Status in Source

    Hi, I am trying to test a Cube to Cube Extraction where I do a full DTP Extraction for a specific account to get the data I need and then a DTP Delta Init by using Processing Mode "No Data Transfer, Delta Status in Source".  
    When I do the DTP Delta init using Processing Mode "No Data" this is done in Dialog mode, but is taking an extrodinarily long time to run as it looks like it is going back through all of the source infocube requests to somehow determine the delta marker.  The source infoCube does have a lot of requests, but I would think this would be a very quick process to set the marker.
    Any ideas why this dtp init delta with no data would take soooo long?

    Hi,  Thanks for the information, but I see in the documentation that this type of proces is run in dialog mode.  Could you point out where this process type would run in background only?   Can anyone tell me why this would run so long?
    No data transfer; delta status in source: fetched
    With this processing mode you execute a delta without transferring data.
    This is analogous to simulating the delta initialization with the InfoPackage.
    *In this case you execute the DTP directly in the dialog. *

  • How to Transfer Database Table Field to Data Type in XI

    Dear All,
    Dear All,
    I am working on scenario to transfer data(Database Table) from Non SAP System to SAP system through XI.
    While Defining "Data Type" in XI i want to create Data Type as of Database table in my(Oracle Database).There is any direct method to import Database Table field into "Data Type" in XI.
    thanks,
    RP

    Hi;
    Edit plus is a tool using which you can edit your file and make changes to it.
    You can download it from net ,just search for it on google.
    this will help you to get in the field names of the table by editing the file .
    Mudit

  • Field symbols not working in data transfer VOFM routine

    Hi,
    I have been trying to set a value using field symbols, however for some reasons its not working. I am using a field symbol in a data transfer routine and the value which I am trying to set is a standard field outside the VOFM routine code.
    I am trying to set a  field gla_subrc which is actually a changing parameter.
    The actual paramter is gn_subrc of type sy-subrc and within the form the name is gla_subrc. I need to set this changing parameter gla_subrc using the data transfer routine.
    Is there a specific rule that field symbols dont work for changing paramters within subroutine or is there a specific syntax.
    The syntax I am using is
    ASSIGN ('(SAPLV50S)gla_subrc')  to <fs>. 
    I also used the local program name instead of main program but still that does not work. Tried using the actual parameter as well.
    Can someone please help me in this.
    Thanks & Regards,
    Naresh.

    I need to stop outbound delivery creation against STO using vl10b transaction. The only way to stop creation is using data transfer delivery VOFM routine.
    If i give an error message MESSAGE E001, this will give a hard error which is not acceptable. To avoid this, i use a perform message statment with message id and certain parameters which can displayed in a log.
    However to make sure this message is displayed in log, I am clearing a work area having specific data needed for delivery creation.
    Because of this clear, my error message gets captured in log but along with this another fake message is displayed in log which caused by the clear message.
    The user gets confused as he now sees 2 messages, 1 which is correct and other 1 which is fake and that confuses him.
    Data transfer routine is not the best place to give messages in log but we have very few options. The only way the system can give 1 message is if i set gla_subrc to 1. This is a variable which will help the system understand that the delivery should not be created as there is something wrong because the value is 1. Hence it will stop the creation and instead display whatever message i had passed to the log.
    I need to somehow set this variable to 1 based on lot of analysis that has been done in the past.
    Please let me know if there is any way by which we can fix this.
    Thanks & Regards,
    Naresh.

  • Returned data from database field having data type CLOB

    hi..
    i hv table having CLOB field type ... having 12000 char length ... data is present in the field... but when i do select on that field it only returns the limited data from that field for any given row...
    pls let me know wuts may b the problem...
    cheeerrss..

    Are you running the select from SQL*Plus? If so check out the [SET LONG|http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12040.htm#sthref2800] parameter.
    HTH!

  • TDMS Data transfer Step : Long runtime for table GEOLOC and GEOOBJR

    Hi Forum,
    The data transfer for tables GEOLOC and GEOOBJR is taking too long (almost 3 days for 1.7 million records). There are no scrambling rules applied on this tables. Rather I am using TDMS for the first time so I am not using any scrambling rules to start with.
    Also there are 30 process which have gone in error. How to run those erreneous jobs again??
    Any help is greatly appreciated.
    Regards,
    Anup

    Thanks Harmeet,
    I changed the write type for those activities and re-executed them and they are successfully completed.
    Now the data transfer is complete but I see a difference in no of records for these two tables (Geoloc and Geoobjr).
    Can you please let me know what might be the reason?
    Regards,
    Anup

  • How to transfer trailing spaces in the source field type c

    Hello,
    I have to splitt a string key of 120 characters into two InfoObjects (CHAR). The problem is, that the trailing spaces are lost in the character Field.
    Has anybody an idea to avoid the lost?
    Thank you.
    Conversion Table for Source Field Type c
    The characters in the source field are inserted in the target field, left-aligned. Trailing spaces in the source field are not transferred. If the target field is longer than the number of characters transferred, it is filled with blank characters to the right. If the target field is shorter, the number is truncated from the right.

    Hi ,
    Create two Characteristic InfoObjects in BW With length 60 Char  and then in the Transfer Rules of this two InfoObjects write the Formula using Left() and right() function present in the Formula Builder .
    That is First infoObject Contains the Left 60 Char and next one Contains the right 60 Char.
    Regards,
    Vijay.

Maybe you are looking for

  • You are unable to log in to the File Vault user account "myaccount "...

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at

  • Database is not working properly

    Hi ; I created a DB, oracle 10g, when I try to connect to SQL : sqlplus /as sysdba I'm getting this explanation; SQL*Plus: Release 10.2.0.1.0 - Production Copyright (c) 1982, 2005, Oracle. All rights reserved. Usage 1: sqlplus -H | -V -H Displays the

  • Scheduled & Triggered Jobs

    I have a Visual Basic console application that runs other Visual Basic back-end applications on a scheduled and triggered basis. I have a list of scheduled and triggered entries in a database that this console application will read upon starting up.

  • Loaded latest version of itunes now can't find device for ipod to enable dragging tunes?

    Just loaded latest version of itunes but can no longer see ipod device in left column to enable dragging tunes?

  • Burning To Disk Encoding Error

    I keep getting encoding error message when burning to disk despite the fact that under Project Info all coding appears as "done". I created slideshow in Fotomagico. It has video in it but clips are .avi format. Anyone using Fotomagico to make DVD pro