Storing large text in the variable

Dear Friends,
I am trying to create a dynamic "SELECT" statement, which I would like to store in a variable that can store large text. The "AND" Condition of the "SELECT" statement is being generated by a cursor. Since the size of the text is completely dynamic depending on the cursor records so it can exceeds 32k limit.
We are using 8.1.7.4 enterprise edition.
I need guidence in this regard that how can this problem could be resolved using best practices.
Best Regards,
Shah

It depends on what you are trying to do with the
SELECT statement that is built.
If you need to store it in a PL/SQL variable all at
once, a CLOB is not the answer, as it (like
VARCHAR2's) have a limit of 32767 characters...
Since when?
SQL> ed
Wrote file afiedt.buf
  1  declare
  2    v_clob clob;
  3  begin
  4    v_clob := rpad('piece of query',32767,',');
  5    v_clob := v_clob||rpad('piece of query',32767,',');
  6    v_clob := v_clob||rpad('piece of query',32767,',');
  7    v_clob := v_clob||rpad('piece of query',32767,',');
  8    v_clob := v_clob||rpad('piece of query',32767,',');
  9    dbms_output.put_line(dbms_lob.getlength(v_clob));
10* end;
SQL> /
163835
PL/SQL procedure successfully completed.
SQL>I think the maximum size for a CLOB in version 9 and below is 4Gb and from 10g onwards it's something stupid like 128 Terrabytes depending on your database configuration (block sizes etc).
If CLOB had the same limit as VARCHAR2 then there would be no point in having it.
Please don't misinform people.

Similar Messages

  • Enabling Key and text for the Variable Selection screen

    I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?

    Hi,
    Did you try to log out and log in again into BEx?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Key instead of text in the variable sclection screen

    Hello Experts,
    please clarify my doubt.
    My user wants to see the key instead of text in variable selection screen (in portal) for material.
    Is it possible to do this?
    Regards
    Prathap.

    Hello!
    I think in the menu there is a point like infoprovider specific properties (or similar) in rsa1. Here you can decide what value is shown. Try this, but I'm not sure that this also work in portal.
    Best regards,
    Peter

  • Possible to have large text in 4k with Mac pro?

    Hello, I have a need to view details with my photo editing tasks, so I'm considering a 4k monitor at the moment. However, I've been told that if I actually run the resolution at 4k, the rest of the OS will be extremely small text.
    Is there a way to have large text in the OS, but able to view all the details of my photo in 4k with a 2014 Mac Pro?

    from the article linked by kaz-k:
    --New 4K display settings in OS X 10.9.3. | Source: KhaosT via Twitter

  • How do you write (large) texts in an iPhoto book?

    I am making an Iphoto book and want some of the pages to be dedicated to large texts. The only problem is that when I press the text box and start writing, I can't actually see what I am writing. Then if I click away I can see the text I have written. If I click the box again, and start writing again (without being able to see anything written), I write from the beginning, not from where I finished the previous writing. Plus, I can't delete the text if I make a mistake.

    If the test library worked at it should with the book text then you need to repair your original library. Try the following:
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - Run Option #4, Rebuild Database, followed by Option #1 if needed.

  • Forms: How to add large text without getting wrapped

    hi Waveset/Sun IDM folks,
    I need to add a large text to the form via a Field at the bottom of the Form. So using Title and SubTitle form properties is not an option.
    When I use Label/Text/TextArea type of Fiels, I see that the text is getting wrapped as if it is a label for a text box or text area or Radio.
    I do not have an option of using Title and SubTitle properties of the Form as the text appears at the middle and bottom of the page. What options do I have?
    My form has :
    SectionHead:
    FirstName: <Text>
    LastName: <Tex>
    Address: <Text Area>
    Contract(Section Head)
    <Large text needs to go here>

    ok, nevermind, Using FieldType-Panel and adding Label fields in it worked out fine for me. Issue closed.

  • Text for Exit Variable Values

    Hi
    We are populating the variable with the exit function module and I am using this variable as an user restriction of values. When my user opens the input box to select the values of this variable, there not able to see the attributes that are there for that characteristic as well as description of the master data values. The only thing that they are seeing is the key values that are populated by the exit. Can you please let me know what is the reason for this behavior and we are using web excel interface and using BW 3.5 version
    Thanks,
    Raj.

    Hi Guys
    I have solved this. I had to select the Planning level in the variable component to populate the text in the variable of type exit.
    Thanks,
    Raj.

  • Discoverer Plus - How to include variable text in the Title

    Hi,
    I need to include a variable text in the report like the user information or another information i woul like to obtain from a query that is not the standars date,time,... oracle discoverer plus improves us.
    I tried with calculations associates to a parameters, but is not possible.
    I hope i explained correctly.
    Thanks,

    This can be done by creating a parameter, then a calculation, then a condition. Then under "Edit Header" or Page Setup, choose "Header" or "Footer"as needed and choose to insert the Parameter.
    Step by step Example instruction:
    1-Create a parameter as follows:
    --Item = NONE
    --Name = "Workbook run by" (This will appear in the heading or title when workbook run)
    --Prompt = "Please enter UserID in all capital letters"
    --Description and Default value left blank
    2-Create a Calculation
    --In New Calculation choose "Function" then choose the function "USER" from Database. (This is all that the calculation will need.)
    --Name Calculation  = i.e.: "DB_USERID" 
    3-Create a condition as follows:
    --Name = Request_UserID
    --Item = DB_USERID
    Condition = IN
    Value = Choose parameter: Workbook run by
    -Double click on worksheet title, choose Insert, then choose Parameter (This can be done the same way under Page Setup for Header and Footer
    -The calculation will create an extra column which I put at the top as a Page Item
    -This will force the user to enter the UserID they are logged in to Discoverer with.
    -This is case sensative. Therefore, since all Databe IDs are stored on the Database in all-caps, then the user will have to enter in all caps as well.
    Thanks,
    Sutirtha

  • How to populate values to the variables in standard text

    Hi friends,
    I have maintained a standard text in So10 like this invoice number&vbeln&.
    Inside a function module i want to read this text and populate the value to the variable &vbeln&.How to achive this.
    Rgds.

    Thanks Simon but i didn't understand your answer but i will tell you the problem that i want to solve with foreach or iterator
    i have a view that have employeeId and employeeName and ManagerID
    create table employeesView
            EmployeeId           Number,
            EmployeeName      varchar2(100),
            ManagerId             Number
        }i want to make a foreach or Iterator to make
    every Employees with the same manager id to be in the same <af:panelGroupLayout>
    i mean
      <af:foreach or af:Iterator >
           <af:panelGroupLayout >
                   <af:commandButton id="cb1" text="All Employees With Manager Id 1" />
           </af:panelGroupLayout >
           <af:panelGroupLayout >
                   <af:commandButton id="cb1" text="All Employees With Manager Id 2" />
           </af:panelGroupLayout >
           <af:panelGroupLayout >
                   <af:commandButton id="cb1" text="All Employees With Manager Id 3" />
           </af:panelGroupLayout >
      </af:foreach or af:Iterator >How can i do this

  • How can I convert the variable expression stored as string back to variable expression

    How can I convert the variable expression stored as string back to variable expression?
    I am storing the expression enterd in the TSExpresssionEditControl as simple string and want to convert back to expression since I want to get the data type of that expression.

    pritam,
    I'm not sure what you're trying to do exactly. If you are trying to get the value of a variable and you only have the name of value in a string, then you can use Evaluate() to get its value. If you want the data type, my advise is to use the GetPropertyObject() API method and just pass in the loop up string. Then you'll have a handle to the data object and then proceed from there.
    Regards,
    Song D
    Application Engineer
    National Instrument
    Regards,
    Song Du
    Systems Software
    National Instruments R&D

  • How do I delete a large text message I sent that glitches the message app?

    I just recently sent a REALLY large text message to my friend, but I don't think she actually got it. Since I sent this really big text I can't open the app for messages. Well, I can but it is frozen in the convo I sent the text in and after about 3 seconds the app closes back to the home screen. In the few seconds that I can keep the app open I tried to press the back button (on the upper left hand corner), to delete the convo so that is gets rid of the message. But, like I said before, it is frozen so it won't go anywhere. Also, while the app is open for a few seconds I tried holding the large text to delete it, but again the app is frozen so will do absolutely nothing. I really don't know how to to delete the convo or message to get the app working again. Please tell me if there is any other way to get the app working again. I have thought of resetting me phone, but that would be my last resort. I have a ton of valuable information I have to keep. Thank you!

    Reset the Device using this method:  Hold the home button + the lock button for about 10-12 seconds until the Apple logo appears.  You will not lose any data or current settings.

  • How do change the text color in the variable screen ?

    Hi Experts ,
    I would like to know about , How do change the text color in the variable screen ?
    Using web templates (Analytical) can get the output. It has the variable screen contains 6 fields (Company code, Country , Region , COB, Plant and Purchasing Group). I want to make RED color text on Plant. Please help me .
    Thank you ,
    Prasad.

    Hi,
    I am looking for nearly the same. What I have found is that it seems to manipulate the SAP theme that is used in standard when template is executed in the portal. Just display the source code of the HTML and there you will see the included SAP theme (normally SAP_TRADESHOW). Then you have to go to the SAP portal and change this stuff. But for that you have to know where to find it and what impact this change has.
    I am not pretty sure if this is the right way. But as I want to change the standard layout of a whole template to a customer specific layout I think there is no other way in BI7.0.
    Regards,
    Peter

  • Text info  in the variable selection screen

    Hello
      I want to show some text info together with variable selection screen. Is it possible in WAD ? How to do it?
    Help please.
    Thanks.

    Rani,
    Basically its not suggestable by SAP that to modify the variable screen, since that has been directly delivered by SAP Object... If you still wants to modify the variable screen then your F4 will not work ijn the variable screen... Usually dont go and modify your variable screen..
    Rgds,
    Gattu

  • How can I do a multiple record data merge, but specify that a specific text frame with variable data only merges on the first record?

    I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
    I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
    Is it possible?
    I thought that perhaps if I place the text frame that must merge once on the master page, it would work.  But you are not allowed to place variable text on the master and on the document page.
    I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
    Thanks,
    Suzanne

    Suzanne,
    If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
    I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
    That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
    It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
    I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
    Mike

  • When using large text my lines overpal, how can I increase the line spacing?

    When using large text my lines overpal, how can I increase the line spacing?

    Press 'Ctrl + Enter' after the numbered item to insert blank space below it. If you press 'Enter', the next line will start with the next number. As long as you want to type lines without a numbering, press 'Ctrl + Enter' and type the line.

Maybe you are looking for

  • Abap select query problem

    This report will take delivery document number and delivery date from user and fetches details from delivery table and fetches corresponding sales order details and billing details  and displays sales order details with ALV list. << Please only post

  • Leading spaces in excel file from ALV

    Hi Guys, once I export a record from ALV to excel. Some values I think all values that are TYPE I. How can I remove this leading spaces. Ex: '                                                      100' something like that.. so if you dont expand the c

  • Adding a button to a shreapoint page

    Hi, Is it possible to add a button to a sharepoint page, on click of which I want some emails to go to some people and a field gets updated in a list. How can I create such a button. Also do we have to use a workflow and attached it to button click e

  • HT201274 how do I erase all content & settings without a passcode ?

    how do I erase all content & settings without a passcode ?

  • Transforming xml data to cross tab in rtf template

    Hi everyone, Here is my requirement, I need the following output -------------------------------------------Date Territory-------District------Office---1/3/2011----1/10/2011---1/17/2011------Grand Total(Header row) Central ----------Chicago---Buffalo