Concate 3  column data in to one column.

I would like to concate 3 columns in to one column. all three column has datatype as LONG. Is any one knows how to concate long datatype column into one column?
Thanks in Advance

812294 wrote:
Is there any way to not use CLOB datatype? I am fetching data from three different tables.And what fetching from three different tables has to do with CLOB?
SQL> set serveroutput on
SQL> declare
  2      concat_result clob;
  3      tmp           long;
  4  begin
  5      select  text
  6        into  tmp
  7        from  dba_views
  8        where rownum = 1;
  9      concat_result := tmp;
10      select  data_default
11        into  tmp
12        from  dba_tab_columns
13        where data_default is not null
14          and rownum = 1;
15      concat_result := concat_result || tmp;
16      select  search_condition
17        into  tmp
18        from  dba_constraints
19        where search_condition is not null
20          and rownum = 1;
21      concat_result := concat_result || tmp;
22      dbms_output.put_line(concat_result);
23  end;
24  /
select
"LIB_IDX","LIB_NAME","VENDOR_NAME","PROTOCOL_NUM","VERSION_NUM","PATH_NAME","MAP
_FILE","FILE_CFGID","MAP_ELEM","ELEM_CFGID","MAP_SYNC" from v$map_library0 OBJ#
IS NOT NULL
PL/SQL procedure successfully completed.
SQL> SY.

Similar Messages

  • When I import a text file(comma separated )into a numbers spread sheet all the data goes into one column. Why does the text not go into separate columns based on the commas.

    When I import a text file(comma separated) into a numbers spreadsheet all the data goes into one column instead of individual columns based on the comma separators.  Excel allows you to do this during the import..  Is there a way to accomplish this in numbers without opening it in Excel and the importing into Numbers.

    Your user info says iPad. This is the OS X Numbers forum. Assuming you are using OS X… Be sure the file is named with a .csv suffix.
    (I don't have an iPad, so I don't know the iOS answer.)

  • Merge/Concat Multiple Columns in a Flat-File wthin ODI

    Hi,
    I was wondering if there is a quick way to merge/concat multiple columns in a Flat-File from within ODI, a functionality kinda similar to Essbase load rule files for join/split columns etc.
    Please let me know.
    Thanks

    Looks like the CONCAT function works only with Memory Engine. Could someone please confirm this? If this is true, I guess applying the patch is the only resolution.
    Thanks

  • Filter data on any one of the field in Hirarchical ALV?

    Hi,
    Can any one tell me if I am using Hirarchical ALV for outputting the data, and I have to filter out the output  data on any one of the column in the Hirarchical ALV, Is it possible ?
    Can we filter out the data on the basis of field which is not the key field in the Hirarchical ALV?
    Mrunal

    Try using IT_FILTER...SLIS_T_FILTER_ALV...I guess...
    santhosh

  • Customer master data updation from one system to another system

    HI  Experts,
    I have an issue with customer master data updation from one system to another system. And here only one field is not updating properly from one system to another system. and we found this is through idoc , but we don't find field in any segment.
    and the field is called ADDR1_DATA-HOME_CITY.
    and this will displayed as different city in address column.
    but as per the notes given in help , it is by program , form through only passing. but not able to trace and as per my analysis ADRC table , ADRNR  had this field HOME CITY.
    And this is for some customers updating wrong one from one system to another system , and for some customers field itself not updating in address column.
    please can you suggest any one. here are screenshot for your reference.

    that is not enough, it was enough in times before 40b release, but this was in the  last century
    Please read OSS note 384462 - Master data and addresses
    it explains what you have to do for ALE

  • How to use multiple Spry Data Sets in one page

    I'm using two spry data sets in one page. When I add the first spry data set to my page everything runs OK, When I add the second spry data set to the page the first data set stops working. Does anyone know what the problem is?
    This is how I have my data sets listed.
    var ds1 = new Spry.Data.HTMLDataSet("/accounts/tower/list.php", "list");
    var ds2 = new Spry.Data.HTMLDataSet("/accounts/tower/numvisits.php", "chart");
    Thanks, let me know if you need more information.

    Good News!
    There is nothing wrong with what you have shown.
    Bad news!
    The problem could be in that part that you have not shown.
    Gramps

  • How to send data from 4 different data sources to one ODS

    Hello Gurus,
    There is a transaction called KSB1 in R/3.
    It has data related to cost center , cost element, G/L .
    In BI, i need to transfer the data from these Data sources to one ODS.
    Can any body give me some idea.
    Points will be awarded for any kind of response .
    Thanks .
    Anu

    Hi Rupa..
    In your requirement some data sources (Cost centre, Cost element) are master data sources.
    They are available as info Objects in BI (Content).
    So there is no need to create ODS on these.
    But the general scenario for creating ODS from multiple data sources in case of Transaction documents
    Like :
    PO header, PO line items...
    For this the Pre-requisite is to have common fields between these data sources (eg PONo).
    Hope this gives idea for u....
    Cheers...
    Varma

  • HT201269 Is there a way to download/port the missing data/SMS to one iPhone without overwriting the new SMS on the newer iPhone?

    SMS Transferring/downloading/backup : Is there a way to download/port the missing data/SMS to one iPhone without overwriting the new SMS on the newer iPhone? Here is my dilemma. My iPhone quit working and I couldn’t get it fixed as quickly as I needed to. I bought a used iPhone and started using it normally and downloaded the backup from itunes/icloud. There was a large gap in data where the first iPhone didn’t backup when I thought it had. I have SMS data on both phonesnow and  I need them for a court hearing. I have since had the other iPhone repaired and working perfectly. Will downloading a backup wipe out the newer SMS data? I am nervous because I can’t lose the information or my case mey be compromised. Any “Real Help” including programs that work to accomplish this would be very helpful. Thank You in advance…

    No, direct access to manipulating the phone's filesystem is not permitted for 3rd party apps in the iOS.  It can't be done without hacking the phone, which you certainly don't want to do.  The messages can be combined and viewed on your computer, but not on a single phone.

  • Set a PO delivery date to deliver one day ahead of demand without GR Proc.

    Any thoughts to enable the system to generate a planned PO delivery date say a day before the actual demand date without "locking" the material up as is the case with the GR processing setting.  With the GR processsing value to 1 day MRP will in fact have the material delivered a day ahead of time, but MRP will show the material is not available until the next day which causes some confusion when the planners need to move production up a day.  We'd like the GR date to be one day before demand but MRP show the material is available on the delivery date.

    Hi There
    Del date in SAP is when the goods will arrive at your premises,, and GR date date of GR ( GR pocessing time- 1 day, Del Date+1 day),, means that when the material will be available actullay for the production,, it is a STD,,
    You can manipulate the  RLT (Replenishment lead time= Purchasing processing timePlanned del timeGR processing time) as you wish to get,,
    Thanks
    Senthil

  • Data Migration from one division to another division

    Hi,
    I am in service industry project where unbiiled/unearned/revenue accounts gets hit through SD.
    Now due to restructuring one division is splitting into 3 division.So we need to migrate the data from that one division into new 3 division for which we have a identifier.
    The actual problem is different reconcilliation accoount is mapped to each division.So how to move the open items of old division in to 3 new division means unbilled/unearned rev.
    Thanks in Advance
    Regards,
    Satya

    hi
    pass a manual JV.

  • Why has my iPad 2 suddenly started to use all my data allowance in one night?

    My ipad 2 used up my January 1gb data allowance in one night while I slept and my ipad wasn't being used. When I contacted my provider as a gesture of goodwill reinstated my 1gb.  I was extremely careful with my usage.  I only surfed the net using my Cellular Data and used a WiFi connection for any downloads.  I had used about 450mb up until the 21st of this month and then suddenly I had completely used the rest of my allowance in one day.  I do not watch you tube, Facebook, Twitter or use any social media.  Very frustrating as the previous 8mths of using my ipad I had never gone over my data allowance.  It seems to have started when I have been using WiFi in one location and then back to Cellular at home.  I am fortunate that my provider slows the connection and makes it impossible to use, therefore I don't get charged extra fees. 

    The iPad always uses wifi first when available. If not available, it switches to cellular, if cellular is turned On. You must be losing wifi connection. To keep from using your data plan, turn cellular Off, except when you need it.
     Cheers, Tom

  • Space allocation on 11g R2 on multiple data files in one tablespace

    hello
    if the following is explained in Oracle 11g R2 documentation please send a pointer. I cant find it myself right now.
    my question is about space allocation (during inserts and during table data load) in one table space containing multiple data files.
    suppose i have Oracle 11g R2 database and I am using OMF and Oracle ASM on Oracle Linux 64-bit.
    I have one ASM disk group called ASMDATA with 50 ASM disks in it.
    I have one tablespace called APPL_DATA with 50 data files on it, each file = 20 GB (equal size), to contain one 1 TB table calll MY_FACT_TABLE.
    During Import Data Pump or during application doing SQL Inserts how will Oracle allocate space for the table?
    Will it fill up one data file completely and then start allocating from second file and so on, sequentially moving from file to file?
    And when all files are full, which file will it try to autoextend (if they all allow autoextend) ?
    Or will Oracle use some sort of proportional fill like MS SQL Server does i.e. allocate one extent from data file 1, next extent from data file 2,.... and then wrap around again? In other words it will keep all files equally allocated as much as possible so at any point in time they will have approximately the same amount of data in them (assuming same initial size ?
    Or some other way?
    thanks.

    On 10.2.0.4, regular data files, autoallocate, 8K blocks, I've noticed some unexpected things. I have an old, probably obsolete habit of making my datafiles 2G fixed, except for the last, which I make 200M autoextend max 2G. So what I see happening in normal operations is, the other files fill up in a round-robin fashion, then the last file starts to grow. So it is obvious to me at that time to extend the file to 2G, make it noautoexented, and add another file. My schemata tend to be in the 50G range, with 1 or 2 thousand tables. When I impdp, I notice it sorts them by size, importing the largest first. I never paid too much attention to the smaller tables, since LMT algorithms seem good enough to simply not worry about it.
    I just looked (with dbconsole tablespace map) at a much smaller schema I imported not long ago, where the biggest table was 20M in 36 extents, second was 8M in 23 extents, and so on, total around 200M. I had made 2 data files, the first 2G and the second 200M autoextend. Looking at the impdp log, I see it isn't real strong about sorting by size, especially under 5M. So where did the 20M table it imported first end up? At the end of the auotextend file, with lots of free space below a few tables there. The 2G file seems to have a couple thousand blocks used, then 8K blocks free, 5K blocks used, 56K blocks free, 19K blocks used, 148K free (with a few tables scattered in the middle of there), 4K blocks used, the rest free. Looking at an 8G similar schema, looks like the largest files got spread across the middle of the files, then the second largest next to it, and so forth, which is more what I expected.
    I'm still not going to worry about it. Data distribution within the tables is something that might be important, where blocks on the disk are, not so much. I think that's why the docs are kind of ambiguous about the algorithm, it can change, and isn't all that important, unless you run into bugs.

  • Accessing two data sources in one method

    I wanted to access two connection pools in one EJB project. I manage to create two connection pools in weblogic server and I successfully wrote the lookup code. I wanted to call these two data sources in one method. But it only gives result from one data source connection. other is null. Im getting following message also
    Connection has already been created in this tx context for pool named jdbc_informix_pool. Illegal attempt to create connection from another pool: JDBC_informix_webdata
    "jdbc_informix_pool" and "JDBC_informix_webdata" is the names of my connection pools. the two data sources works perfectly when they are accessed separately. but whenever im tryng to call two data sources in one method it retrive data from only one data source and gives me above message.
    anyone know how to fix it.?
    thnx
    sameera

    hi...
    thnx man.. it worked. But there is another problem. I cant close my data source connection. whenever im tryng to close it, it says
    Result set already closed
    i manage to run my program without closing the data source connection. but after a while it says
    No resources currently available in pool JDBC_informix_webdata to allocate to applications, please increase the size of the pool and retry
    i can increase the size of the pool and run my program. but i guess if I close the data source connection this will be resolved. But how can I close my data source connection. I tried finally clause. but it gives me the result set already closed message
    how can i do it.?
    thnx
    sameera
    Edited by: Sameera on Jun 18, 2009 8:35 PM
    Edited by: Sameera on Jun 18, 2009 8:40 PM

  • Can I have two Data Files in One control file of sql*loader tool

    hi,
    Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
    And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
    Thanks
    Ram

    Yes. You can specify two datafiles in one control file and can load using sql loader.
    I give you the sample control file.
    Load DATA
    INFILE 'TEST1.CSV'
    INFILE 'TEST2.CSV'
    TRUNCATE
    INTO TABLE TEST_P
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (COL_1,
    COL_2,
    COL_n)
    Hope It will help you.
    -Karthik

  • Master data records with one key

    Hello All,
    I have scenario that I need to load the master data records with one key.
    For ex--
    Cluster            Dcode               version
    5000                 DC1                  2008
    5000                 DC1                  2008
    5001                  DC1                  2009
    Could you please let me know possible ways.
    Thanks

    In your case if Cluster is the key then the underlying attributes data will be overwritten when the same cluster key comes.
    as per you example data finally it loads only two records in to the target, since first two records key is same.
    Hope this helps.
    Veerendra.

Maybe you are looking for

  • How do i transfer information from one mac to another

    i have tried using migration assistant but dont want to tranfer all my files is there another way ?

  • Consolidating into One Album

    While using cover flow....the artist and the album must be the same for it to show as one album, but i have albums where there are multiple artists or with .... ft. a person....is there ne way to consolidate these albums without changing the artists

  • Newbie -- need advice

    Hi I have been trying to figure out on my own (getting confused in the process) what the best settings, discs, etc.. to use for a project I am about to begin for my sons school. Not only do I need to create this to be projected at school, but I also

  • Flash dynamic text links

    I've created a dynamic (scrolling) text field in Flash MX 2004 Pro. The text contains links to webpages. The links work in the published Flash SWF but not when I place the SWF in Director. Please help? Lars

  • Filme in IMovie importieren

    Hallo, ich möchte meine Filme ( m2ts und MOD ) in IMovie importieren. Diese Daten habe ich von meiner Camera vor meiner Mac Zeit ausgelesen. Leider ließt Imovie diese Datein nicht ein. Wie bekomme ich diese in bester Qualität in Movie? Welches Format