How to run the creation of clob table?
Hellois it possible to create the table, view or same clob package? For example I: create the demo of the table (table-name varchar2 (50), ddl clob); Insert in the demo (table_name, ddl) values ('EMP', ' create emp (...)) ») ; commit; How can I run ddl field demo of table?
You can use DBMS_SQL. It has a type defined as VARCHAR2A
You can the substring your CLOB in data type VARCHAR2A and analyzed using DBMS_SQL
Tags: Database
Similar Questions
-
How to run the repository creation utility (11.1.1.3.3)
Hi experts, I downloaded utility creation (11.1.1.3.3) at oracle.com repository as I was told to run it before installing Oracle Business Intelligence, v. 11.1.1.3.0, I already unzipped the UCR, my problem is I do not know where and what run.i I ask the name of the file to be executed, the location of this file because there are so many issues after having unpacked the downloaded file. Finally, how to run the file (for example by double-clicking). Thank youVisit this link,
http://obiee101.blogspot.com/2010/08/obiee11g-installation-on-32-bits-XP-Pro.html
He noted the location of the controls on the remote file, double click will start the process.
Thank you
Vino -
Hello
I have a form based on the table that store only 1 card. I have created a form page, but may not know how to run the query and display the record in the table. If there is no record in the table, I want that the user can use this page to create a record.
Thanks in advance
NRIHello Nri,
What value does P18_SCHOOL_ID?
If you look at the State of Session (toolbar) developer. If that does not have a value, it's your problem.You can create a calculation before the process that gives the correct value. (In one case more often, you have a report and when you click on the link change that id is activated and you see the recording in your form)
Dimitri
-
How to prevent the creation of 15000 files for 300 MB each day Firefox
Firefox creates files of 'file' in C:\Users\LeRicain\AppData\Local\Mozilla\Firefox\Profiles\dnm04rk5.default\cache2
There are about 10,000 and 20,000 files I have to remove to get about 300 MB of space each dayHow to prevent the creation of these files in Firefox
Here are the files from cache. Basically, it takes Web sites that access you a lot and records bits of them so they'll load faster the next time you visit them. FOR EXAMPLE if you visit Google.com much, Firefox will save some elements of this page in the cache so that the next time visit you Google.com, it will not have to re - download.
-
Lean how to run the stop code when the highest level VI ends
Hi people.
I am a newbie of LV with 30 years of experience in embedded SW engineering. I searched for how to run the stop code when a VI of highest level ends. I found many examples, but they are horribly complicated. A little birdie told me that such a model of simple design should not be so compilicated.
My application is an application of high tension control to disable all HV checkpoints when the SW ends. My VI code is running in a while loop with a stop button that leads out of the loop. I can easily accomplish my requirement by programming with a sequence of plate that runs after the end of the main loop. The technique of flat sequence does not work when the user clicks the Cancel button in the toolbar of façade, more than that market when the user clicks the close button of the application (X button) when you run the exe application.
Can someone tell me please a simple technique, the code example that can show me a lean and elegant way to accomplish my task? It doesn't have to be an obvious solution (for example a stop induced watchdog seems simple enough).
Thank you - John Speth
1. place this code in a VI:
(also attached)
Calling code in your VI of highest level like this:
-
How to run the VI developed in labVIEW 2011 in its previous versions
Hi all
I am currently using LabVIEW 2011 in my PC at home.
But, all my school's computers are installed with LabVIEW 2010 and 2010 SP1.
How to run the VI developed in LabVIEW 2011 in its previous versions?
Is there any conveter why?
Concerning
Prasanth T
Open the VI in LabVIEW 2011 and use the file menu option, save for the previous Version.
-
Mr President.
How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?
Concerning
Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle
height: 300px;
-
How to get the title of a table with FDK?
How to get the title of a table with ad FDK C++?
I did people. I get objects table paragraph and later the textual elements for each of them.
-
How to run the Extendscript .bat file?
I have a file with some instructions .bat and I want that it runs from Extendscript.
How to run the Extendscript .bat file?
I tried execute(); order and it seems that .bat ran but no result, but when I double click on the .bat file all worksout very well.
How used runtime.exec () extend the script?
Can I communicate with Java JDK thru ExtendScript and run commands such as runtime.exec ()?
can someone please?
You can do it like this:
var batFile = new File("C:\\path\\to\\my\\batfile.bat"); batFile.execute();
Note that this will only work if your system is configured in such a way that by double-clicking the .bat file runs it in reality.
You can also use
system.callSystem()
but note that this is only available in AE.
-
What is tdrc.tdrcfacade and how to run the installation wizard?
What is tdrc.tdrcfacade and how to run the installation wizard? My desktop creative cloud application does not open properly... it is just a blank window.
Much obliged,
Angiecrichards@gmail.com
! !
Are Angie, you a blank white screen? What version of OS are you using?
Here's what you can try:
- Blank white screen. Sign in | Creative cloud Packer
- New application Cloud Creative unusable: it is empty!
- Creative cloud Packager white screen after the Adobe ID Login
- Re: screen creative black cloud
Waiting for your response.
-
I downloaded items on my mac and it installed. How to run the program?
I downloaded items on my mac and it installed. How to run the program.
Hi David,
You can simply click on the application to launch from the folder "Applications".
-
[CS4:JS] How to run the file ".sh" via Javascript
Dear all,
How to run the file ".sh" through Adobe InDesign Javascript, I used the code below:
//================== Code =============================//
var myFile = File("xxx/xxx/xxx/Test.sh");
var Exec = "sh" + "" + "\""+myFile+"\;"
Leader (exec). Execute();
//================== End =========================//
codes above does not work, I checked before without the "sh" in addition, it does not work.
Please can someone give me the solutions and the suggestion, and I'd appreciate it.
Thanks and greetings
SudhaN T.R.Harihara.,.
Have your IDMLExportparse.sh file runs permission set?
If you open Terminal.app and type
/Applications/MacXinPro/IDMLExportparse.sh
It work? Or do you need to run "sh"? If so, either adjust the
permissions with
chmod a + x /Applications/MacXinPro/IDMLExportparse.sh
or modify the JavaScript code for:
shell("sh "+myFile);
-
How to run the Config tool?
We are Linux running Essbase 11.1.1.3 - can someone tell me how to run the Config tool?Hello
Try. /
/common/config/9.5.0.0/configtool.sh More information:-http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch04s05.html
See you soon
John
http://John-Goodwin.blogspot.com/ -
How to use the Type of Oracle Table values in the Select statement.
Hello
I get the initial set of values in the Table of Type Records of the Oracle and want to use the list of values in the Select statement.
For example, try something like the following:
TYPE t_record () IS RENDERING
ID TABLEA.ID%type,
NO TABLEA.NO%type
);
v_record t_record;
T_table TYPE IS the v_record TABLE % TYPE;
v_table t_table;
-Code to fill the values of v_table here.
SELECT ID, NO, COLLECT in BULK IN < some other table variabes here > FROM TABLEA
WHERE ID IN (i) v_table USER.USER;
I want to know how to use the Type of Oracle Table values in the Select statement.Something like this:
create or replace type t_record as object ( id number, no number ) / CREATE or replace type t_table AS TABLE OF t_record; / set serveroutput on declare v_table t_table := t_table(); v_t1 t_table := t_table(); begin v_table.extend(1); v_table(1).ID := 1; v_table(1).No := 10; v_table.extend(1); v_table(2).ID := 2; v_table(2).ID := 20; SELEC t_record (ID,NO) BULK COLLECT INTO v_t1 from TableA FROM TABLEA WHERE ID IN (select t.ID from table(v_Table) t); for i in 1..v_t1.count loop dbms_output.put_line(v_t1(i).ID); dbms_output.put_line(v_t1(i).No); end loop; end; /
No test!
P;
Published by: bluefrog on March 5, 2010 17:08
-
How to run the type of object...
HI team,
Please let me know how to run pl/SQL object type.
create or replace TYPE T_PARTY_ID_LIST AS TABLE OF T_PARTY_ID; create or replace TYPE T_PARTY_ID AS OBJECT (SEQ NUMBER(10,0) ,COUNTRY_ID CHAR(2) ,ID VARCHAR2(50) ,ID_TYPE VARCHAR(3) ,DATE_FROM DATE ,DATE_TO DATE ); create or replace PROCEDURE P_UPDATE_RICA_COUNT_ID (A_PARTY_IDS IN T_PARTY_ID_LIST ,A_ICAP_ID IN number ) as v_id sa_id_registration_counts.id%TYPE; -- BEGIN FOR C IN (SELECT X.id_type, X.ID FROM TABLE (CAST(A_party_ids AS T_PARTY_ID_LIST)) X WHERE X.ID_Type IN ('N','P','B') ORDER BY X.ID_Type) LOOP -- BEGIN -- UPDATE sa_id_registration_counts SET no_of_registrations = no_of_registrations-1 WHERE id = V_ID AND id_type = C.ID_Type; -- IF SQL%ROWCOUNT < 1 THEN RAISE NO_DATA_FOUND; END IF; -- EXCEPTION WHEN NO_DATA_FOUND THEN BEGIN -- INSERT INTO sa_id_registration_counts (id ,id_type,exclude_yn,no_of_registrations) SELECT V_ID,C.ID_Type,'N',1 FROM dual; -- EXCEPTION WHEN OTHERS THEN RAISE_APPLICATION_ERROR(-20000,'Error updating RICA ID count ['||SQLERRM||']'); END; END; -- END LOOP; -- END; --
I'm trying, but receive an error message
DECLARE A_PARTY_IDS SCOTT.T_PARTY_ID_LIST; A_ICAP_ID NUMBER :=12323; BEGIN A_PARTY_IDS.extend(1); SELECT T_PARTY_ID(1,'1','1','1',null,null) INTO A_PARTY_IDS(1) FROM DUAL; P_UPDATE_RICA_COUNT_ID( A_PARTY_IDS => A_PARTY_IDS, A_ICAP_ID => A_ICAP_ID ); END; Error report - ORA-06531: Reference to uninitialized collection
I do not know why you do what you do that is row-by-row (aka slow-by-slow), when you could do all this in a single merge - something like statement:
create or replace PROCEDURE P_UPDATE_RICA_COUNT_ID (A_PARTY_IDS IN T_PARTY_ID_LIST, A_ICAP_ID IN number) as begin merge into sa_id_registration_counts tgt using (select x.id_type, x.id, count(*) cnt from table(cast(a_party_ids as t_party_id_list)) x where x.id_type in ('N', 'P', 'B') group by x.id_type, x.id) src on (tgt.id_type = src.id_type and tgt.id = src.id) when matched then update set no_of_registrations = no_of_registrations - src.cnt when not matched then insert (tgt.id, tgt.id_type, tgt.exclude_yn, tgt.no_of_registrations) values (src.id, src.id_type, 'N', 1); end; /
You v_id in your procedure, but you never defined anywhere, for as far as I could tell, so I made a few assumptions about the join condition. You will need to change if necessary.
Meanwhile, for your procedure, you should do something like:
DECLARE A_PARTY_IDS T_PARTY_ID_LIST := t_party_id_list(); -- initialised the collection here A_ICAP_ID NUMBER :=12323; BEGIN A_PARTY_IDS.extend(1); A_PARTY_IDS(1) := T_PARTY_ID(1,'1','1','1',null,null); P_UPDATE_RICA_COUNT_ID( A_PARTY_IDS => A_PARTY_IDS, A_ICAP_ID => A_ICAP_ID ); end; /
Another thing - you seem to like selection of the many double - if you're in PL/SQL, then you can just assign variables directly (overall; there are a few exceptions, depending on your version of the database).
Maybe you are looking for
-
How much money can I make a donation to get an official t-shirt?
At the time you need to make a donation of at least $30 or more to get a shirt. After the change on the gift page what is the amount I have to pay to get a shirt?
-
Toshiba Libretto L5 / 80 - driver screen and battery problem
Hello I have reinstall my Toshiba Libretto L5 / 80, unfortunately one have no CD with driver and after instalation, the system cannot detect display driver (I can see only 800 x 600 resolution, not a 1280 x 600 is a driver ATI Mobility Radeon-M but c
-
Satellite L350-170: creating the image of the partition backup system
New here so first of all, Hello to all. Need some advice if possible please.I just got a new laptop L350-170 with Windows Vista Home Premium.I went thro' the installation process and created with the program toshiba recovery disks but also make the t
-
Hello guys! In light of this: http://zone.NI.com/DevZone/CDA/EPD/p/ID/4167 With DAQmx, frequency sample (for input and output Analog) clock can be changed after the departure was called [...] Model: OR PCI-6221 (37-pin), PCI-6221 Why it generates me
-
I installed 5 updates to windows that have been brought to my attention. 4 5 updates were installed successfully. But 1 updates that is marked "Important" CANNOT install. The update is "KB3185330", it says it's an update to "October 2016 cumulativ