Retrieves the CLOB data when you use the keyword DISTINCT to the other columns

I have a question about how to recover the CLOB data.

The requirement is something that there are about 20 + columns I need to recover around 5 tables joined in the select statement.
Since the result set after that join will also duplicate values, I need to use the distinct keyword to filter the result set.
But there is in the columns of 20 + 2 columns to CLOB data I need to recover.

Whenever I have use SEPARATE, I'm ORA-00932: inconsistent data types: expected - received the CLOB error.

I know that this DISTINCT keyword cannot be used for CLOB data types.

So can anyone here help me with any work around / another way to get the CLOB value in the QUERY SELECT.

So please help me out in the present.

Hello
This forum is for problems using SQL * Developer. If the problem only occurs if you are using SQL * Developer then please give us the SQL code that you are running.
If it happens in SQLPLUS then, it would be preferable to raise it in the SQL Forum-

Forum: SQL and PL/SQL

SQL and PL/SQL

This forum is for problems using SQL * Developer.

Kind regards
Mike

Tags: Database

Similar Questions

  • Used QUICK to collect files from the XP machine. Now cannot locate the data when you use Easy Transfer on Win 7 machine to restore settings

    I had XP SP3 on my computer and used the files and Settings Transfer Wizard to collect the data.  Recorded on another partition, formatted and installed Win 7 Pro.  Now, when you use Easy Transfer to restore data it tells me that it cannot find all the data.

    Any ideas?  Thank you!

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    See you soon

    Mick Murphy - Microsoft partner

  • I use data when you use my appletv?

    I use data using the AppleTv?

    Yes.

  • When you use the plan of photography can I be connected to the internet all the time? Data are always deducted when using Photoshop or Lightroom?

    When you use the plan of photography can I be connected to the internet all the time? Data are always deducted when using Photoshop or Lightroom?

    You should not have a permanent internet connection.  You should only be connected when the software must check whether the subscription is still valid.

  • If the data is empty when you use to_date(?,'yyyy/mm/dd') insert a file into db

    online form insert the? is user input, if the user entered the following works find, but if the input file is empty insert get an error, how to handle
    If the data is empty when you use to_date(?,'yyyy/mm/dd')
    Thank you

    Be more specific.

    You try to insert this in a column that is defined as not null?

    If so, you can choose a default value for the value that you want to use if the user leaves the field to the white screen.

    Or, better yet, use the validation of the front to prevent them from going into an empty space (or perhaps failed it there).

    However, if you still want to do it in the DB:

    Insert into table1 (non_null_date_col)
    values (to_date (nvl (?, '' 2199/12/31), "dd/mm/yyyy"));

  • Is there a way to simplify the addition of data in the worksheet when you use a .csv instead of a .xlsx?

    I changed one of the newbies ActiveX toolkits provided by Joe_H to enter a number in a spreadsheet by using the following code 'save to existing Spreadsheet.vi.  However, since it was designed for a .xlsx, it uses an entry for the index of the sheet (that I set to 1 when you use my .csv file).  Currently, the program works, but I was wondering if there is a way to remove the index sheet part.  I tried to just delete, but I could not find how connections for refnums etc. should then work out.  Thanks for any advice, even if it's just to say that nothing major should be done.

    I don't think that there is a much easier way to do what you want then the code you provided.

  • ORA-00902 error invalid data type when you use CAST in the PL/SQL Package

    I'm getting ORA - 00902 Datatype not valid error when you use cast in getEmpValues (see code below) method in the package I created.
    I don't know what is the cause of the error. Any help would be appreciated



    CREATE OR REPLACE PACKAGE TEST. TEST_PKG AS

    ARRAY TYPE MyTableType IS NUMBER;
    TYPE REF_CURSOR IS REF CURSOR;

    FUNCTION str2tbl (p_str IN VARCHAR2)
    RETURN myTableType;

    PROCEDURE getContactValues (p_ParameterString IN VARCHAR2, p_Cursor1 to REF_CURSOR);

    END TEST_PKG;



    CREATE OR REPLACE PACKAGE BODY TEST. TEST_PKG AS

    FUNCTION str2tbl (p_str IN VARCHAR2)
    RETURN myTableType
    AS
    l_str LONG default p_str | ',';
    l_n NUMBER;
    myTableType l_data: = myTabletype();

    BEGIN
    LOOP

    l_n: = INSTR (l_str, ",");
    WHEN the OUTPUT (nvl(l_n,0) = 0);
    l_data.extend;
    l_data (l_data.count): = ltrim (rtrim (substr(l_str,1,l_n-1)));
    l_str: = substr (l_str, l_n + 1);
    END LOOP;
    L_data return;
    END;

    /*
    p_ParameterString is a string of the form 3, 6, 8, 9'
    */

    PROCEDURE getEmpValues (p_ParameterString IN VARCHAR2, p_Cursor1 to REF_CURSOR)
    AS


    BEGIN


    OPEN FOR P_Cursor1

    SELECT *.
    FROM EMP

    WHERE EMP_ID IN (SELECT *)
    OF THE (SELECT CAST (TEST.) (TEST_PKG.str2tbl (p_ParameterString) as myTableType) double)

    );
    END getEmpValues;

    END TEST_PKG;

    ARRAY TYPE MyTableType IS NUMBER;

    This type must be created outside of the package as a SQL type if it must be used in a select statement.

  • When you use Roland FC300 footswitch to control the transport, all the USB keyboard midi notes do not reach the logic. No help available on this?

    When you use Roland FC300 footswitch to control transport LOGIC, all midi keyboard USB (UMA25s) notes do not reach the logic.

    They are visible using MIDI Monitor s/w so reach the OS X - but do not make SENSE.

    I tried the function of the environment of the logic and the double check OS X Midi Setup but no difference statistically.

    I would appreciate any help on how to proceed.

    Thank you

    Paddy

    I do not understand your post. Your use the FC300 to control logic - how is it connected?   Is it plugged into the keyboard via middle or did you connect to logic directly via a midi interface?  (sense are the keyboard and the FC300 connected independently.

    When you say midi notes reached illogical (those transmitted by the FC300 or those via the USB keyboard do you mean?).

    First thing to do is to circumvent the control surfaces to exclude...

    Then, the control screen the custom value and see if data midi reached logical... If his hitting the midi monitor 99.9% sure it is hitting logic.

  • Why the last OS update cost me gigabytes of data when you are connected directly to my computer and ISP via Itunes February 29, 2016

    Why the last OS update cost me gigabytes of data when you are connected directly to my computer and ISP via Itunes.  29 February 2016

    While it is connected to ITunes via my Dell system, I was informed of the latest OS update for my IPhone 6.  I decided that the direct connection to the internet would be the fastest way to download and install the software.  During the process I started to have some warning of our AT & T account that I approach the limit of our data plan, then in quick succession, only warnings, said I've reached the limit and then passed in the data, limit charges.  At the time it was done, I had accumulated more than 2 gigabytes of additional data charges.

    Until that point, I was very pleased with the device and confident in the ability to use Wifi and data.  Due to this incident, I became very suspicious of the camera and the huge potential for data overcharges. It is extremely disconcerting as it happened while it is directly connected to the internet using my computer at home.

    Please note that, in the episode my ISP and the computer is remained connected to the WEB with no sign of connectivity issues.

    Someone at - he had a similar experience and understand what went wrong?

    Thanks for your support,

    Jerry

    JerrolK wrote:

    Why the last OS update cost me gigabytes of data when you are connected directly to my computer and ISP via Itunes.  29 February 2016

    While it is connected to ITunes via my Dell system, I was informed of the latest OS update for my IPhone 6.  I decided that the direct connection to the internet would be the fastest way to download and install the software.

    You have chosen the option of direct download, you have received a message of warning from AT & T about it yet.

    He did what you asked it to do.

  • Satellite L300 - 29 X just crashes when you use some of the programs installed

    I bought a Toshiba L300 29 X for my daughter (30 years) help in its work of the University.
    Since we took this home and installed the OS it is questions. At first, I thought it was to do with Vista and so I bought the upgrade to Windows 7 and installed, but the same issues are there it just freezes when you use some of the programs installed.

    I tried restoring factory several times with Vista and still once I even made restoration to the first State to install W7 disk then updated from the web and then she still uses it for his United work and it freezes.

    There is nothing wrong with his work United as when using my laptop or even its partners a there aren't any issues or problems.
    Programs are in Office 2007 and it is the same copy I have in my laptop and they are both up-to-date.

    Its mobile partners is lower than its own specification and has less RAM so that to have only a single processor.
    I tried to install the W7 as a 32-bit and a 64 bit OS, and whenever there is any change in the problems with programs

    Can someone out there suggest a possible cause or same difficulty for am I at the end of my knowledge on this issue and my daughter is about to throw the thing out the window.

    Hello

    I think that the described issue could be related to a hardware problem, given that the laptop should not have problems running the Microsoft Office applications.

    In many cases, the s for laptop system could freeze due to a higher temperature.
    My girlfriend repeatedly asked for help because the laptop froze too.

    But the problem was linked to a higher temperature because cooling fans were clogged and cooling fans might not work correctly. She used the laptop sitting on the couch and there was not a lot of free space around the laptop to ensure good air circulation

    I want to say is that there are several reasons for such behavior annoying cell phone I think it would be wise to check the hardware first
    This should be done by the technician of the ASP.

  • Loop Finder crash after upgrading to El Capitan.  'Finder close unexpectedly when you use the plug-in finder' - the message really is in Norwegian, so it may be different for the English operating system.

    'Finder close unexpectedly when you use the plug-in finder' - the message really is in Norwegian, so it may be different for the English.  The e is a compatibility issue with dropbox or Google drive in El Capitan?  Those are the plug-ins only that I could find.  Thank you very much.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • When you use the NI-CAN Transmit sample receive the same Harbor; can a virtual CAN channel (RCA or 257) be used?

    I work for a company that produces and transforms electric parts. We strive to get in remission at nine of the ECU, experiences, Instrument clusters etc. I'm trying to learn how to use LabVIEW to write commands and read the data on the CAN bus. I have downloaded the NI-CAN driver. I am currently 'play' with the same reception Port.VI show in the basic frame of the finder example API folder OR. I am not able to send the number in the data to write the table that it be read by the ncReadNet Mult .vi. When I put the parameter to 'Pending entries reading' the ncGetAttr.vi returns a 0 to indicate that there are no frames to read. As a result, the Mult.vi ncReadNet does not run.

    I don't have any connected equipment, I use the virtual CAN channel CAN256. Is this the reason why I can't get data frames in my queue for the Mult.vi ncReadNet to read?

    When you use the NI-CAN Transmit sample receive the same Harbor; can a virtual CAN channel (RCA or 257) be used?

    CAN carry 256 and 257 are connected to eachother through software.  When you write about 256, you can read the data on 257 and vice versa.  I think the example you mention is a writing and reading on the same port, but what you want is to probably to make a copy of this VI, in order to run two at once, where it opens 256 and the other opens 257.  Then, when you write one that you will see on the other.  I think you might be able to use the test panel CAN too read an and use the example of the other.

  • RunState.Sequence.Main vs RunState.SequenceFile? When you use the deployed software?

    RunState.Sequence.Main vs RunState.SequenceFile?  When you use the deployed software?

    Can someone explain to me why when I use something like->

    RunState.SequenceFile.Data.Seq ["Test Seq"]. Hand ["Test not"]. Result.Status

    the status will never be updated if I am set up for LabVIEW Run - Time Engine (but will work for the development of the system).

    Also why->

    RunState.Sequence.Main ["step Test"]. Result.Status

    Update for LabVIEW Run - Time Engine and development?

    I solved my problem with RunState.Sequence.Main ["step Test"]. Result.Status but I'm still curious why the reverse does not work?  Can someone give me please a validation test?

    Thank you very much!

    RunState.SequenceFile.Data.Seq contains the copy of time change sequences. These copies are not at all when running. At run time, a separate copy is made (and is accessible from RunState.Sequence) and only this copy of runtime is updated. These runtime copies are made for several reasons such as the following:

    (1) to ensure that changes to the sequence the runtime, do not affect the original version of the time edit of the file (you don't want to change the status to be an editing tool in the right sequence file?).

    (2) to support recursion, recursive calls in the same sequence have their own copy of the sequence so that State for a call is not crushed by one recursively calls the same sequence.

    There are probably other reasons as well, but these are probably the biggest.

    -Doug

  • When you use a left and right axis, how to choose what issed axis for the value of y GetGraphCursor?

    I use a graph with a left and right axis (2 data sets).  I try to use a slider to select a point in time (x) and the values of y in the two sets of data.  I can't understand how the control, the value that is returned for the value is when you use the GetGraphCursor call.

    GetGraphCursor (panelHandle, PANEL_GRAPH, yourCursorNumber, & x & y)

    Using SetCursorAttribute with the attribute ATTR_CURSOR_YAXIS must be what you are looking for. The online help for this attribute explains wery well:

    Description: Used to change the y-axis which is associated with the bar graph.
    When a graphics cursor is created, the Y axis with which it is associated is determined by the value of ATTR_ACTIVE_YAXIS.  Subsequently, the association can be changed using ATTR_CURSOR_YAXIS.
    The y-axis associate serves as reference for the coordinates of the cursor position in calls to SetGraphCursor and GetGraphCursor.

  • When you use the Windows XP Mode integration, it fails; maintains a new attempt and finally I have to cancel

    When you use the Windows XP Mode integration, it fails; continues to try again and finally I cancel it. The same newspaper for Virtual PC on the host computer has the following error message: Windows XP Mode integration error 'failed to connect in place inside the "Windows XP Mode" VM on channel 0 on the... named pipe endpoint XP, TCP port 3389 with the 0x8007274c error mode. This error occurs every time, but I don't know why he is successful a few times and sometimes fails. This question was in another post and mentioned the removal and resettlement components of integration, which I've tried, but it did not help. I also checked that I have the latest version of the integration components (v. 14.1.7600.16403). I have a separate instance of Virtual PC that I brought over my old XP machine and it was never a problem with integration. The problem with the image in XP Mode occurs also, regardless of whether or not the other Virtual PC image runs. Only the image of the XP Mode has this problem. I suspect it's perhaps a conflict of TCP port in the named pipe, but if so, I don't know how to solve. Thanks in advance to anyone who might be able to offer advice.

    Thanks for the reply. I tried to reinstall the integration features in the past, but the problem has come back at a later date. A few days after I posted this request for assistance, I needed to log out of Windows 7, so I hibernated the XP Mode image. Then, I opened a session in Windows 7 and thought I'd give it a try once again, and it worked this time! I did nothing special. So hopefully that will happen in the future, just as it went and on the past few months. Enjoyed your attempt to offer advice, however!

Maybe you are looking for

  • Pavilion 500 - 310a: email address is not valid

    I just changed my password on my Google account and now Im says that my email address is not valid.  I tried system recovery, but he keeps asking a different password, so it became a happy go autour.  What I am doing wrong. (in the colloquial please)

  • HP Deskjet 3000: Prints but no ink on paper

    Have had problems with connectivity since the upgrade to Windows 10. Have not used printer in a few months. This am I able to restore connectivity and downloaded the new software. Now the printer 'prints' but nothing is on paper. Checked ink supply-s

  • Xp sp3 defrag not full get pop up box indicating some files could not be fragmented please check report 61%.

    I first deleted temporary files & cookies with ccleaner and then did a check disk error checking both box, which worked well. I use IE8, finally I have 1 drive analysed, defragmentation took 20 minutes to make, and then box pops up saying some files

  • Help with flash player

    I had a 64 GB flash drive, first, I plug it, it opens, I put the files on what I wanted to, stop them all except the new flash to see that they were there, and they were. The next time I plug the flash, it is said it is not formatted, it needs to be

  • Authorization of overtime

    Hi gurus,I have a question for you according to your knowledge/experience in HRMS.We analyze the client process to implement OTL, the customer has already put in place on the payroll and HRMS on EBS R 12.1.3.Customer wishes to calculate the compensat