To load text into clob,long.
I am able to load data into clob,long.but it is not taking more than 4000 bytes.but i want to insert 10MB or more data.HOW?
It is giving error ORA-01704:
string literal too long
Cause: A quoted string specified as a constant was too long.
Action: Quoted strings may not contain more than 2000 characters.
what it means? and tell me How can I insert more text ie upto 1GB.
thanking you.......
reddy.
null
does that
trace("Image Name=" +e.currentTarget.title)
trace what you want to display? if yes, add a textfield and assign its text property to e.currentTarget.title in your overScrollerItem listener function.
Similar Messages
-
PJC to input formatted text into a long/clob field
Hi,
Is there a PJC that can be used to stored formatted text into a LONG/CLOB column in the database (Something similar to the Message field while posting a new thread in this forum). I am using Oracle Forms 10G (9.0.4)
I would also like to print this formatted text using Oracle Reports 10G (9.0.4).
Thx in Advance
Best Rgds
RamdasHello<br><br>
Have a look at this new forum, and particulary this article that shows how to create an editable styled text area.<br><br>
Francois -
Error while loading data into clob data type.
Hi,
I have created interface to load data from oracle table into oracle table.In target table we have attribute with clob data type. while loading data into clob field ODI gave below error. I use odi 10.1.3.6.0
java.lang.NumberFormatException: For input string: "4294967295"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
Let me know if anyone come across and resolved this kind of issue.
Thanks much,
Nishit GajjarMr. Gajjar,
You didnt mention what KMs you are using ?
have a read of
Re: Facing issues while using BLOB
and
Load BLOB column in Oracle to Image column in MS SQL Server
Try again.
And can you please mark the Correct/Helpful points to the answers too.
Edited by: actdi on Jan 10, 2012 10:45 AM -
How load text into dynamic text boxes from external file?
hi all,
my animation is very simple - a background image and 2 text boxes. one of the textboxes shows a large word, which crossfades to another word, with a total of about 12 words (showing one at a time in different text boxes fading in & out in the same spot).
i need a way to have the text be imported dynamically via xml or json (xml preferred). this article is a good start, but i noticed he's putting all of the text into one box - i need separate strings put into separate boxes from the xml.
Chris Gannon - Loading XML via AJAX into Adobe Edge
he uses
var outputField = $(this.lookupSelector(“xmlOutput”));
for his text box. what would be the best way to revise this code to include all my individual strings to be loaded into my individual text boxes? thinking an array might work, but my js skills are limited.
any other suggestions or tutorials you could point me to would be appreciated.
thanks!!thanks joel_pau !
this is helpful in seeing how the array is created, but after giving it a go I became a little confused.
i wound up trying it again based on the example i linked out to previously, but it's not adding the text from my xml file when previewing.
here's the code i'm using in edge animate on my stage. something must be wrong somewhere. let me know if you have any suggestions on this.
// insert code to be run when the composition is fully loaded here
// here i'm assigning a variable to each one of my textboxes at they're named in my edge animate comp
var outputField1 = $(this.lookupSelector("helps2"));
var outputField2 = $(this.lookupSelector("communicate"));
var outputField3 = $(this.lookupSelector("experience"));
var outputField4 = $(this.lookupSelector("interact"));
var outputField5 = $(this.lookupSelector("understand"));
var outputField6 = $(this.lookupSelector("overcome"));
var outputField7 = $(this.lookupSelector("flourish"));
var outputField8 = $(this.lookupSelector("collab"));
var outputField9 = $(this.lookupSelector("trust"));
var outputField10 = $(this.lookupSelector("grow"));
var outputField11 = $(this.lookupSelector("engage"));
var outputField12 = $(this.lookupSelector("survive"));
var outputField13 = $(this.lookupSelector("thrive"));
var outputField14 = $(this.lookupSelector("evolve"));
var outputField15 = $(this.lookupSelector("connect"));
var outputField16 = $(this.lookupSelector("achieve"));
$.ajax({
type: "GET",
url: "myxmlfile.xml",
dataType: "xml",
success: function(xml) {
//here i'm trying to load the the text in my xml file into my textboxes in edge animate. 'txt1, txt2, txt3' are the tags in my xml file
outputField1 = $(xml).find('txt1').text();
outputField2 = $(xml).find('txt2').text();
outputField3 = $(xml).find('txt3').text();
outputField4 = $(xml).find('txt4').text();
outputField5 = $(xml).find('txt5').text();
outputField6 = $(xml).find('txt6').text();
outputField7 = $(xml).find('txt7').text();
outputField8 = $(xml).find('txt8').text();
outputField9 = $(xml).find('txt9').text();
outputField10 = $(xml).find('txt10').text();
outputField11 = $(xml).find('txt11').text();
outputField12 = $(xml).find('txt12').text();
outputField13 = $(xml).find('txt13').text();
outputField14 = $(xml).find('txt14').text();
outputField15 = $(xml).find('txt15').text();
outputField16 = $(xml).find('txt16').text();
but nothing happens on preview. my textboxes still contain the original text that lives in my comp. -
Hello Everyone,
I wonder if anyone could help?
I have a SWF with multiple dynamic text fields. I want to
load in the contents of ONE text file into the five or so fields at
the touch of a button. Can anyone advise on how to set up a XML or
TXT file and the Action Script to allow this to happen?
Any advice or pointers in the right direction would be
greatly appreciated.
Darren.Couple of quick questions... For the Textfields:
a)Do you have the textfields already on stage (in other words
your "5 or so" comment in your first post is fixed to the number of
textfields you put on stage). If so, what the names of the
textfields and in what scope (e.g. main timeline or inside a clip
called "textHolder" etc.
b)Or do you want them created dynamically by code? If they
are to be created dynamically by code, are they to be placed in
fixed (scattered) locations or is there a pattern - e.g. are evenly
spaced? If the positions are fixed and do not fall into pattern...
then what are they (in sequence) or if they are in a layout pattern
please describe it. -
[JS][CS3] Loading text into memory
Hi.
Am am trying to access an external txt file which holds data for my script. I have looked at the famous "FindChangeByList" and tried to work from there. However, I am not going to need input from the user for the txt file location, it will always be the same:
myFilePath="/Mailer Support/savers.txt";//always going to be there
myFile = File(myFilePath);
myData = myFile.open("r", undefined,undefined);
myLine = myFile.readln(); //I know I need loops for this, but there is text on the first line of the TXT file
myText = myFile.read();
alert (myLine);//Blank!!
myText = myFile.read();
alert (myText);//Blank also
Can someone help with this please.
I know I had a PDF file that detailed the way to call and work with files, but I cannot find it. Does someone know the name of it?
Cheers
RoyYour code works just fine for me. I'd suggest adding
myStatus = myFile.open("r", undefined,undefined);
if (myStatus == false) { alert ("Unable to open that file"); exit(0); }
to check if it actually exists (open returns a state flag, rather than 'data'). A quick experiment shows that JS doesn't care if a non-existant file is opened for reading (other than just about any other programming language I could care to name!), and indeed "reads" blank lines if it doesn't exist.
By the way, you used this line twice:
myText = myFile.read();
-- overwriting "myText" the second time. Since the first "read" already read up to the end of the file, the second time around the variable is emptied. -
Dynamically loading text into SWF
I'm building a flash web site and here are a couple parts of
the site the client is going to want to update regularly. Is there
a simple way that I can have an external file (XML?) that a client
can edit to update parts of the site without having to re-export
the swf or involve me, without getting into any real heavy
scripting?
Anything you can do to get me pointed in the right direction
would be greatly appreciated.
Thanks in advance.Couple of quick questions... For the Textfields:
a)Do you have the textfields already on stage (in other words
your "5 or so" comment in your first post is fixed to the number of
textfields you put on stage). If so, what the names of the
textfields and in what scope (e.g. main timeline or inside a clip
called "textHolder" etc.
b)Or do you want them created dynamically by code? If they
are to be created dynamically by code, are they to be placed in
fixed (scattered) locations or is there a pattern - e.g. are evenly
spaced? If the positions are fixed and do not fall into pattern...
then what are they (in sequence) or if they are in a layout pattern
please describe it. -
Loading Images into LONG RAW column using SQL or PL/SQL
Hi!
I am trying to load images into a LONG RAW column. Can anybody tell me how to do this using SQL or PL/SQL. I do not want to use Forms to do this. And, I have a limitation using BLOBs.
Thanks in Advance,
Kotesh.You wrote that you cannot use a java class to insert a picture. We are working on a school project and HAVE to use java as a client and Oracle 7 as a server.
Can you tell us how this is to be done?
Thank you in advance,
Bart van der Heijden -
Master data load: texts are not loaded
Hi friends,
Trying to load BW Hierarchy(0COSTCENTER) to BPC dimension(P_CC).
Loadedd master data & text data using package "Import master data from BI infoobject"(/CPMB/IMPORT_IOBJ_MASTER), but EVdescription (texts) are not uploaded ino BPC dimension (P_CC).
Because of above error, when i try to load hierarchy(0costcenter), sytem throwoing one more error(JScrpit evaluation error).
Now i want to load texts into P_CC. ours is bpc 75nw sp10.
Found 2 notes, but these are related to older support packges
1462732 u2013 DM: text node descriptions canu2019t be imported.
1531601 - Incident 737084 / 2010 / text nodes aren't loaded
Transformation file:
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = TAB
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=-1
ROUNDAMOUNT=
*MAPPING
ID=ID
CURRENCY=0OBJ_CURR
*CONVERSION
DM package run:
Infoobject: 0COSTCENTER
set selection: Attributes Controlling area = SP00
Hierarhcy: import text node(yes), selected hierarchy, version(empty),memberid(SP001170),level(not filled)
language: English, medium description,
attiribute list: currency(0OBJ_CURRENCY),controlling area
fileter by attributes or hierarhies option selection,
Mode: Update
Format: internal
Dimension: P_cc
package ended with error
Failed to write text of master data; check the error message
checked BPC dim, only member ID & currency is updated, but not evdescription.
Can you please share valuable inputs.
thanks,
nareshresolved problem.
Packages given bpc7.5 nw sp10 are is exactly working.
Mapping section:
ID=0CO_AREA+ID
CURRENCY=0OBJ_CURRENCY
becoz base members are automatically added with controlling area in BW hierarchy on 0costcenter.
Followed method given in how to guide. -
Issue while manually entering texts into 0DOCTYPE info object
Hello Guyz
I have a peculiar problem while loading texts into 0DOCTYPE. In R/3 the 0DOCTYPE table looks like:
0DOCTYPE (bsart) 0DOC_CAT(bstyp) Texts
AB A Request for GP bid
AN A RFQ
FO B Framework requisn.
FO F Framework order
LP L Scheduling agreement
LPA L Scheduling agreement
From the above values, we can clearly notice that 0DOC_CAT is a compounding char to 0DOCTYPE and maybe (vice versa). But we dont have this on the BW side, and the 0DOCTYPE has been used in many cubes DSOs and t/f rules. Now, when I have to load text, I need to turn that on and this throws an error that I cant do it now, because these IOs have been used in all these data providers.
Is there any other way I can do this? Having 0DOC_CAT as an attribute of 0DOCTYPE does not help because that only affects the attribute table, and not the text table.
Please advise.Hi,
If you do not want to disturb the existing cubes / DSO containing 0DOCTYPE then probably you can create a new InfoObject like ZDOCTYPE with the required compunding key. Load the Master data text to this infoobject from the existing Text DatsSource.
Use this Z infoobject in the Cube or DSO for which you want to display text in the Report.
This will lead to a bit of redundancy but it allows you to go ahead without changing existing objects.
Regards,
Amrita -
HELP! How to insert long delimited text into a table
Friends,
I have an Oracle table with a long field containing comma delimited text.
Table Def:
QUOTE_LINES
(quote_no VARCHAR2(20),
quote_data LONG)
Example data from quote_data field:
A='750 Gallon',B='1250',C='300HP',D='Transmission',E=TRUE,F='Top Mount',G='Full Height',H='Full Height'
Note: There are no <CR> in the data.
I want to create a trigger on the table that loads the data into a separate table like this:
quote_no VARCHAR2(20),
line_type VARCHAR2(50),
line_value VARCHAR2(30)
Any suggestions?
LarryHello
Really, if at all possible you should look at converting the long column to a clob. This will get rid of lots of limitations and you will be able to treat the column just like a varchar2.
Anyway, if you cannot change from a long for the mean time, you could use the following, as long as the length of the text in your long column doesn't exceed 32k (which by all accounts is pretty large!):
SQL> create table dt_test_long (id number, big_text long);
Table created.
SQL> create or replace procedure dt_test_proc(an_id in dt_test_long.id%type)
2 IS
3
4 lv_LongVal VARCHAR2(32767);
5
6 BEGIN
7
8 SELECT
9 big_text
10 INTO
11 lv_LongVal
12 FROM
13 dt_test_long
14 WHERE
15 id = an_id;
16
17 dbms_output.put_line(lv_LongVal);
18
19 --do whatever you want with the value here
20
21 END;
22 /
Procedure created.
SQL> create or replace trigger dt_test_long_trg before insert on dt_test_long
2 for each row
3
4 begin
5
6 dt_test_proc(:NEW.id);
7 end;
8 /
Trigger created.
SQL> set serveroutput on
SQL> insert into dt_test_long values(1, 'Some text, some more text etc....');
Some text, some more text etc....THT
David -
Hi Guys,
I have to bring long text (7000 characters long) from table STXL into BI. I went through the discussions on the forum without much help. One option is to split the text into multiple infoobjects and joining them in analyzer. This option is not practically possible for me because of the text length.
I enhanced an existing datasource with a new filed and tried to populate the field from the text field in STXL table. The challenge now is to bring the field into BI. Someone mentioned in the forum that we can write couple of function modules (READ_TEXT and GUI_DOWNLOAD) to extract the text into BI as a file and write another program in BI and load the text into documents of infoobject. Is this the only option available?
Can you please send some sample code on ECC and BI for this purpose? Also, If I want to display the document in excel analyzer, will it be available as a separate column in the report?
Please help.
Thanks in advance.Hi,
This type of requirement was there in my previous project which was achieved using FM. Follwoing doc might be useful for you in writing FM:-
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33?quicklink=index&overridelayout=true
Regards,
Prakash -
Select LONG column into CLOB variable
Hi all,
I am trying retrieve the data present in a LONG column into a CLOB variable.
However I am getting an error, pls let me know how I can resolve it.
DECLARE
v_text CLOB;
BEGIN
SELECT TO_LOB(trigger_body)
INTO v_text
FROM
user_triggers
WHERE
ROWNUM <= 1;
END;
ERROR at line 8:
ORA-06550: line 8, column 20:
PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got LONG
ORA-06550: line 8, column 5:
PL/SQL: SQL Statement ignored
Let me know if there is an alternate to this. I would like to get the data present in the LONG column into a variable.
The reason why I am not retrieving the LONG column into LONG variable is stated below (from Oracle Website):
You can insert any LONG value into a LONG database column because the maximum width of a LONG column is 2**31 bytes.
However, you cannot retrieve a value longer than 32760 bytes from a LONG column into a LONG variable.
Thanks and Regards,
SomuThere are couple of things I did (listed in order):
1) Create Global Temporary Table containing a CLOB column
2) Select LONG column and convert to CLOB by using TO_LOB and insert into Global Temporary Table containing a CLOB column
2) Select from this Global Temporary Table (which already contains data in CLOB) and assign it to a CLOB variable.
This is done because you can not directly use TO_LOB in a select statement to assign the value to a CLOB variable.
Stated below is an example:
-- Create Temporary Table
CREATE GLOBAL TEMPORARY TABLE glb_tmp_table_lob(
time TIMESTAMP WITH LOCAL TIME ZONE,
text CLOB
ON COMMIT DELETE ROWS;
-- PL/SQL Block to Execute
DECLARE
v_clob CLOB;
BEGIN
-- Insert into Temporary Table by converting LONG into CLOB
INSERT INTO glb_tmp_table_lob (
time ,
text
SELECT
sysdate ,
TO_LOB(dv.text)
FROM
dba_views dv
WHERE
ROWNUM <= 1
-- Select from the Temporary table into the variable
SELECT
gt.text
INTO
v_clob
FROM
glb_tmp_table_lob gt;
COMMIT;
-- Now you can use the CLOB variable as per your needs.
END;
/ -
Loading Maintenance Order Header Long Text
Hi Experts,
I am trying load Maintenance Order Header Long Text using an LSWM Direct Input Program.
It states the Long Text successfully transferred, but when I go to transaction IW33, the long text is not displayed.
How do I get the long text to be displayed in transaction IW33?
Thanks,
MSKASAP help states that some long texts may not be readable from the application after they have been imported. They provide 2 solutions in the following link.
[Importing Texts|http://help.sap.com/saphelp_nw04s/helpdata/en/01/d944c0646cd540b3356552be080353/frameset.htm] -
AS3: Loading External Text into a Master File
I have a master file that I want to load an external text
file into. This external text file will also have an external style
sheet applied to it.
In your opinion, which way is best to load the external text
file?
1) Generate a text field dynamically in the master file using
the TextField class and then loading the external text in.
2) Placing (at authoring time) a dynamic text box on the
master file's stage and loading the text in.
3) Placing a dynamic text box in a separate .swf file and
then loading that external swf in to the master file, then loading
the external text into the text box.
Any opinions?
Thanks...
BrendaOn my project im going with the third choise, dont ask why,
cause i just do.
only difference is that i also lad my data into this external
swf file.
in other words i use mainly second as well as im going with
the third one.
In my opinion, no idea if thats the best way, but i certanly
know that its (for me) most confortable way.
Maybe you are looking for
-
Reducing freight cost for undelivered material
Hi Experts, Summary : The material supplier vendor needs to be paid for full quantity of material. The freight transport is allowed an under tolearance of 0.5% on the material to be supplied. If the delivered material quantity breaches the 0.5% unde
-
Downloaded Photoshop CS6 Trial Version & Bridge won't work.
When I go to open Bridge CS6, it gives me the error "Adobe Bridge CS6 has stopped working" With the following details: Problem signature: Problem Event Name: APPCRASH Application Name: Bridge.exe Application Version:
-
Mac Mail apostrophes not displaying correctly
Hi, I am using Mac OSX Mavericks 10.9 Mail Version 7.0 (1822) I have recived an email to my gmail account and the apostrophes are not displaying. Here are a few examples from the message: haven’t (Haven't) we’ve (We've) you’re (You're) These al
-
Hyperion Shared Services -- External user containers getting missed out .
Hi All , In my hyperion enviornment user authentication is done through native directory and also through External directories configured to LDAP - OIDM . Frequently the external containers are getting disappeared from the shared services console. Bu
-
Flash content won't hide properly
I have four DW layers on top of each other, two of which contain flash content - I have had to set wmode to 'window' in order to make the movies work in Firefox. This means however that when I load the page the movies flash up on screen whilst they a