why there is no output after execution of the procedure
Hi all
SQL > set serveroutput size 1000000
SQL > set echo on
SQL > set comments on
SQL > declare
2 number (19) n;
3 v_startday varchar2 (100): = ' 01 /' 07/2013;
4 v_owner varchar2 (100): = "SLIMSINTDM";
5 v_audit_tab audit_var: = audit_var();
v_table_name 6 varchar2 (40);
7 type cur_type is ref cursor;
8 v_cur cur_type.
v_first_name 9 varchar2 (100);
v_last_name 10-varchar2 (100);
11 v_out_tab varchar2 (100);
v_lab_code 12 varchar2 (10);
13 v_sql varchar2 (20000);
14 v_sql_1 varchar2 (10000): = q']
15 select distinct au.first_name, au.last_name,.
16: v_table_name table_name, lab_code
Lab 17 l
18 join aus app_user_security on AUS.owning_lab_id = l.lab_id
19 join app_user AU AU. APP_USER_ID = AUS. Join APP_USER]';
20 v_sql_2 varchar2 (10000): = q'[t on (t.ADDED_BY = to THE.)] APP_USER_ID
21 or t.last_modified_by = au.app_user_id)
22 where lab_locale = 'en_AU '.
23 and (t.added_date > to_date (: v_startday, "MM/DD/YYYY"))
24 or t.last_modified_date > to_date (: v_startday, "MM/DD/YYYY"))
25 order by last_name, first_name
26 ]';
start 27
28 n: = 0;
29 because me to (select table_name from all_tables where owner = v_owner order of table_name)
loop 30
31 v_table_name: = substr (i.table_name, 1, instr (i.table_name, '_JN') - 1);
32 - dbms_output.put_line ('v_table_name: ' | v_table_name |'; i.table_name: ' | i.table_name);
33 v_sql: = v_sql_1 | i.table_name | v_sql_2;
34 - dbms_output.put_line (v_sql);
start at 35
36 open v_cur for v_sql using v_table_name, v_startday, v_startday;
37 loop
38 extract v_cur in v_first_name, v_last_name, v_out_tab, v_lab_code;
39 exit when v_cur % NOTFOUND;
40 n := n + 1;
41 v_audit_tab.extend;
42 v_audit_tab (n): = audit_type (v_first_name, v_last_name, v_out_tab, v_lab_code);
43 end loop;
44 close v_cur;
45 emergency
46 then than others then
then 47 cases sqlcode = - 1030 - insufficient privileges
48 dbms_output.put_line (' no privs to ' |) THE USER | "on" | i.table_name);
49 exit;
50 end if;
51 end;
52 end loop;
53 x in (select * from table (v_audit_tab))
loop 54
55 dbms_output.put_line (x.first_name |) «, » || x.last_name | ',' | x.table_name | ',' | x.lab_code);
loop end 56;
end 57;
58.
PL/SQL procedure successfully completed.
Issue in this case, developer you can't find any (results) output as expected after the execution of this procedure, so is there something wrong?
Thank you very much.
When you try this below is query it returns all the lines?
Select table_name
from all_tables
where owner = "SLIMSINTDM."
order of table_name;
Tags: Database
Similar Questions
-
Why my games crash immediately after clicking on the icon?
original title: After double clicking on the icon of the game, the problem windows window appears and says it checks for a solution. I can't understand how to solve this problem. It does not occur on all games.
Why my games crash immediately after clicking on the icon?
Hello1. what game you play when this happens?
2. have you ever run properly on your computer?
3 did you changes to the computer recently?
Method 1.
Play this game in the clean boot and then check if it works very well.
See the article below for instructions on how to start your computer in a clean boot state.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.
Method 2.I would like to look at the logs of the same observer. Here's how you can pull up the newspapers:Type eventvwr.msc/s in the address bar.The list of all the events that are listed as 'Error' in the main window when you go to 'Newspapers Windows' and 'Application '. There is often a large number of them. Send us any ones you see listed for the last few days. (Please also do it for the log files in 'System'). When you do, provide us the name of the 'Source' and all that is listed in the description below the list of newspapers box when you click on one.
For more information on event viewer, see the articles below:
Open event viewer
http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer
What are the information contained in the logs of the event (Event Viewer)?
http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer
I hope hear from you soon!Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly. -
After execution of the new update (2015.2), I can't read the imported video. Rendering seems to be a color chroma confused. I need help NOW please
FAQ: Why am I getting yellow and red lines running through my images on pause?
Update of El Capitan.
-
Tests for insert after execution of the ApplyMRU
Apex 4.0, tabular forms.
I have 2 tabular forms. First is a master. Second is a detail. On pages separate.
I would like to automatically redirect to the detail, if a new record is inserted on the master.
I thought that maybe I could test #MRI_COUNT # for 1 after execution of the APPLYMRU.
So I.
1. establish a process after APPLYMRU that retrieves the high key out of the master and update a page with the value element.
2 set up a branch to call detail and set a page element in detail to the master page to the #1 element.
Tried to make subordinate them to point value #MRI_COUNT = # = 1. Neither the fire.
Is the concept of test #MRI_COUNT # wrong? Is there a better way to do it.
Thank you!
I came up with a solution that works. Not very elegant. A little brutal. But it works.
1 insert a PL/SQL block process that runs on submit before ApplyMRU. Captured key high on the table. Moved to Pxxx_OLD_KEY.
2. Insert a PL/SQL block process that runs on submit after ApplyMRU. Captured key high on the table. Moved to Pxxx_NEW_KEY.
3. put a branch to the detail page that has unwound on condition that Pxxx_OLD_KEY! = Pxxx_NEW_KEY and SUBMIT button. Past Pxxx_NEW_KEY to the details page.
If there were updates only the front and after the key would be the same. If REMOVE the button has been pressed the direction would not run.
Not particularly proud of it. But it works so far.
-
Why my drive showing full after having activated the bitlocker encryption? My d drive is 180 GB. only up to 20GB file is available.
If you want just a report of chkdsk on your C partition select Start, run, type "cmd" without the quotes in the box and press ENTER. Type chkdsk, and then press the ENTER key and a report, stating, among other things, a summary of how disk space is used, is provided. If you want a report on a partition or one drive other than C, you need to go to this partition. To access F, where F is the required partition you type F: and press the ENTER key.
Copies of the reports from a command prompt can be tricky. Right click and select mark. This allows to highlight the selected text, and then click on copy. You will then open Word, Notepad or similar file, right click and paste. The selected text transfers your Clipboard to open the file. You can paste directly into a response message to the majority of the forums.
In Windows 7, you can use a command-line high;
http://www.SevenForums.com/tutorials/783-elevated-command-prompt.html -
I created a procedure running during the mapping fails but I am facing this error
ODI-1226: Error_log_procedure step fails after 1 attempt.
ODI-1232: the execution of the procedure error_log_procedure failed.
ODI-1246: the logical schema has not been defined for error_log_procedure.
at oracle.odi.runtime.agent.execution.AbstractSessionTask.getCollectDwgConnectConnection(AbstractSessionTask.java:754)
at oracle.odi.runtime.agent.execution.AbstractSessionTask.getCollectDwgConnectConnection(AbstractSessionTask.java:730)
at oracle.odi.runtime.agent.execution.SessionTask.getExecutor(SessionTask.java:239)
at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:152)
at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:111)
at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:864)
to oracle.odi.runtime.agent.execution.SessionExecutor$ SerialTrain.runTasks (SessionExecutor.java:2024)
at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:562)
to oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$ 1.doAction(TaskExecutorAgentRequestProcessor.java:718)
to oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$ 1.doAction(TaskExecutorAgentRequestProcessor.java:611)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)
at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:800)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 1400 (StartSessRequestProcessor.java:74)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:702)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:180)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:108)
to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:471)
at oracle.odi.runtime.agent.execution.job.OdiJob.call(OdiJob.java:73)
at oracle.odi.runtime.agent.execution.job.OdiJob.call(OdiJob.java:73)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Navigate to the ODI object with the name error_log_procedure , which I assume is an ODI procedure. On the target tab (and if this source) make sure that you have specified a logical schema in the appropriate drop-down box
-
When the caps lock is on, why there is nothing to notify me in the text area?
In Google Chrome, when the "caps lock" is on, there is an icon will be in the text area to tell you that "caps lock" turned on, why this feature good practice is not in Firefox?
Forgive me if there is no error
Hello
If you want to leave a comment for the developers of Firefox, you can go to the Firefox help menu and select submit comments... or use this link. (You will need to be on the latest version of Firefox to submit comments). Your comments gets collected at http://input.mozilla.org/, where a team of people read it and collect data on the most common questions.
Accountable if that helps! Thank you!
-
Original title: left click not working not not on HP laptop
On my HP Elitebook 2760p running Windows 7 Pro 64 bit, left click on the touchpad button has stopped working. The right click works, the works of pad, (scrolling and click on) it's just the left click. It started after the execution of the new update of adobe. I tried to uninstall and reinstall the driver synaptec. I tried the mouse fast and slow speed. I tried pressing rigid, flexible, in different places. I would try to uninstall the update from Adobe, but it won't allow me. So I uninstalled Adobe Reader and re-installed. Still nothing. Any suggestions?
Hi cyrilmillot,
You try to run the Adobe Reader removal tool to remove the Adobe reader completely the system software.
See the link to Adobe to download the removal tool:
Adobe Reader/Acrobat removal tool
After retiring, you can check whether the left click works. If it does not, you could get in touch with Adobe support for further assistance on this topic:
http://helpx.Adobe.com/support/
If the problem persists, then it may be a hardware problem and you may have to contact HP support for further assistance:
HP laptops - use and configure the TouchPad (Windows 7 and Vista)
-
How to find the last time that the execution of the procedure and by whom?
Hi all
Can be found as the last run and the procedure by which the user in the dictionary of data or something else?
Thanks in advance.
At least that audit you, you can probably not.
If the goal is a particular stored procedure, you can maintain a work table so he can follow the execution time, audit owner etc.
Concerning
Biju
-
Hello
Could you tell me how to run a procedure that lies under different scheme serve in a schema to another without mentioning the name of schema before the procedure every time?
Below is the code in the right way, say, if there are two schemas, test1 and test2 and I want the procedure in Test2 will run under the Test1 schema?
Connect to test2 schema and grant permission to run for test1
grant exec on test2.prc to test1;
create a public synonym for procedure... with execute privilege...
so that you can use wth on the schema name.
-
Why there is no folder view to browse the pdf? [Android]
There was a folder view in the old version of the player. Why it was deleted in the new?
Use the older version of the app "the one before the release of Acrobat DC"
The version I know is v 11.7.2
-
execution of the procedure with refcursor as output parameter
Hi I have the package following a procedure with parameter as refcursor OUT.
Here is an example of sample with the same structure with name in the other table, handling exceptions in my dev environment
When I try to execute this procedure with the followig blockCREATE OR REPLACE PACKAGE TEST_PACK IS Type refCursor is REF CURSOR; PROCEDURE TEST_PROC (out_data out refCursor); END; CREATE OR REPLACE PACKAGE BODY TEST_PACK IS Procedure test_proc ( out_data out refCursor ) is -- v_sql varchar2(4000); -- begin v_sql := 'select * from emp'; DBMS_OUTPUT.PUT_LINE ( 'Select Query is: '||v_sql ); open out_data for v_sql; Exception when others then DBMS_OUTPUT.PUT_LINE ( 'Error '|| SQLCODE ||','||SQLERRM ); END; end ;
I get the following errorDECLARE TYPE my_newcursor IS REF CURSOR; test_cur my_newcursor; out_text VARCHAR2 (4000); BEGIN TEST_PACK.test_proc(TEST_CUR) ; LOOP FETCH test_cur INTO out_text; EXIT WHEN test_cur%NOTFOUND; dbms_output.put_line('Value of refcur is:'||out_text); END LOOP; CLOSE test_cur; END;
Could you please help me where I am doing wrongORA-00932: inconsistent datatypes: expected - got - ORA-06512: at line 8
Thank youYou must extract your data to an appropriate data type.
(and note there is no need to declare your own ref cursor type as Oracle provides sys_refcursor at the end)
for example
SQL> set serverout on SQL> SQL> create or replace procedure test_proc(out_data out sys_refcursor) is 2 v_sql varchar2(4000); 3 begin 4 v_sql := 'select * from emp'; 5 DBMS_OUTPUT.PUT_LINE ( 'Select Query is: '||v_sql ); 6 open out_data for v_sql; 7 end; 8 / Procedure created. SQL> SQL> declare 2 rc sys_refcursor; 3 empRec emp%rowtype; 4 begin 5 test_proc(rc); 6 loop 7 fetch rc into empRec; 8 exit when rc%notfound; 9 dbms_output.put_line('Employee: '||empRec.empno||' - '||empRec.ename); 10 end loop; 11 close rc; 12 end; 13 / Select Query is: select * from emp Employee: 7369 - SMITH Employee: 7499 - ALLEN Employee: 7521 - WARD Employee: 7566 - JONES Employee: 7654 - MARTIN Employee: 7698 - BLAKE Employee: 7782 - CLARK Employee: 7788 - SCOTT Employee: 7839 - KING Employee: 7844 - TURNER Employee: 7876 - ADAMS Employee: 7900 - JAMES Employee: 7902 - FORD Employee: 7934 - MILLER PL/SQL procedure successfully completed. SQL>
Why do you use a slider ref anyway?
{: identifier of the thread = 886365}
-
Why search suggestions continue working after I disabled the?
I use Firefox for Mac (Yosemite) 40.0. I have to use the screen with my co-workers sharing and do not want to see my search history or a browser. Cannot be deleted, apparently, what makes Firefox unusable for me.
-Menu button
-Preferences
-Search
-Uncheck "Provide search suggestions."But suggestions reappear when I type in the search bar. I checked on: configuration and settings are correct. They just don't do anything. Why?
I started FF in Mode safe mode (disable all add-ons), setting is always off. Search suggestions are always upward. Thus, it is not an add-on cause.
The combination of parameters
- Preferences > privacy > remember search and form history
- Preferences > Search > search to provide suggestions
should control what's happening on the 'Search', the short bar Firefox status bar which is at the right end of the main toolbar by default.
You get the icon small clock that indicates that the item originates from your Firefox search history? Normal suggestions generated by the search engine do not have this icon. I've attached a screen showing what I mean.
-
Why there are next to no information about the 131 X online?
Usually, I can google and there are videos, comments and discussion. This is the case for most of Lenovo laptops, but not this one, apparently. It is the cell phone only available in my price range on the site, that information for the X 130 and 121 X still exists. What is the difference between these models and the X 131? It seems to be a beautiful thing, but it is disconcerting when no one seems to have.
Welcome to the community!
Here are some links within Lenovo:
User Guide:
http://download.Lenovo.com/ibmdl/pub/PC/pccbbs/mobiles_pdf/x131e_ug_en.PDF
Hardware maintenance manual:http://download.Lenovo.com/ibmdl/pub/PC/pccbbs/mobiles_pdf/x131e_hmm_en_0b48698.PDF
driver matrix:http://support.Lenovo.com/en_US/research/hints-or-tips/detail.page?&docid=HT073998
Product views:
http://support.Lenovo.com/en_US/product-and-parts/detail.page?docid=PD025122
http://support.Lenovo.com/en_US/product-and-parts/detail.page?docid=PD025123
http://support.Lenovo.com/en_US/product-and-parts/detail.page?docid=PD025124
http://support.Lenovo.com/en_US/product-and-parts/detail.page?docid=PD025125
http://support.Lenovo.com/en_US/product-and-parts/detail.page?docid=PD025126and a handful of external links:
http://www.Engadget.com/2012/07/31/Lenovo-Unveils-toughened-ThinkPad-x131e-for-education/
http://www.Theverge.com/products/ThinkPad-x131e-Intel/5685
http://www.SlashGear.com/Lenovo-ThinkPad-x131e-laptop-aims-at-hardcore-students-31241110/
http://Liliputing.com/2012/06/Lenovo-ThinkPad-x131e-ultraportable-notebooks-on-the-way.htmlHTH.
-
UAC why there are four of them appear in the Explorer?
I got my computer restored recently due to some problems of UAC. I created my Admin account and a standard, such user account as recommended. Even if she drives me crazy. However, in the Explorer under c:\Users it shows five. The first two are obviously my connection to two. Guest is disabled.
MPT (standard)
Owner (Administrator)
Public?
Temp?
UpdatusUser ?Someone would tell me the purpose of the last three. They were not there before that my computer has been restored.
Also, what is the chain at the level of the command prompt to do myself the system administrator. I wrote it once and now can't find it on my computer and online. Thought it would be easier to ask again.
Thanks to anyone who can help me
Philomena
live long and prosperThere is always a Public folder in users. You will see that it is a place in your libraries. It contains things like sample of music and videos. It can also be used as a location for the files you want to be accessible to all users.
UpdatusUser is created by recent versions of NVidia graphics drivers. You have probably been updated when the system has been reinstalled.
Temp sounds like something the person who restored the computer used.
Maybe you are looking for
-
Java is not installed in Firefox even after uninstall/reinstall
I need to take a test for a staffing company. They use Java to administer the test. My Firefox is not Java, even if it is installed in my computer. Or the test is not Java. I tried to uninstall and reinstall, turn off my security and even shut down m
-
iMac 27 "mid-2011 does not start after that put 10.11.3 up-to-date.
Hello Problem: After you have decided my iMac demanded a critical software update, I've updated from El Capitan 10.11 to 10.11.3 today. From restarting after the update has been downloaded, computer crashes just after the start progress bar appears a
-
Passward forget for the user account
Hello I have been using my computer for a while and realized that it does not ask for a passward more, I went ot user accounts and tried to create one, but I can't that I need to enter in the oldd one and forgot. I hope you can help. Thank you very
-
I would like to replace the noisy fans HP m9360f with quieter models upgraded.
I've lived more loud noise of my Pavilion m9360f fan lately and am interested in replacing the processor fan and case fan as well. Unfortunately I can't find any references or suggestions for improvements (here these new fans to be as quiet as possi
-
Remove Contacts based on a category
Our application assigns a category to the contacts that are persisted. If our application is deleted, we want to do is retrieve all contacts based on this category and remove each of these contacts. Finally, we would like to remove the category. Usi