Run immediately - please help
HelloI have a requirement where I have to choose the number of records in each table (which meets specific criteria) in a variable and print it.
I wrote the following piece of code which results in an error.
Code:
declare
row_cnt number;
v_query varchar2 (200);
Start
for x in (select table_name
from all_tables
where owner = ' EDI$ ".
table_name order)
loop
v_query: = ' select count (*) in: Y of ' | x.table_name;
dbms_output.put_line (x.table_name);
dbms_output.put_line (v_query);
execute immediate v_query using row_cnt;
end loop;
end;
/
Output:
EDI_UFE
Select count (*) in: Y de EDI_UFE
ERROR on line 13:
ORA-06550: line 13, column 14:
PLS-00103: encountered the symbol "SELECT" at the expected in the following way:
(- + new case mod not null < an ID >)
Let me know if the code has a any error.
Thanks in advance.
declare
row_cnt number;
v_query varchar2 (200);
Start
for x in (select table_name
from all_tables
where owner = ' EDI$ ".
table_name order)
loop
v_query: = ' select count (*) from ' | x.table_name;
dbms_output.put_line (x.table_name);
dbms_output.put_line (v_query);
run immediately v_query in row_cnt;
end loop;
end;
/
Edited by: lifexisxnotxsoxbeautiful Vithalani March 4, 2011 04:36
Tags: Database
Similar Questions
-
I instaled Windows 7 64-bit Enterprise edition and installed the latest version of Firefox and it freezes every time that I run. Please help me.
4d4aae27-34ee-4620-b349-c03002813b2003-Jan-1312:30 AM
54e24e0e-dfc4-466b-A347-4bd95536773e03-Jan-1312:30 AM
22d351d2-6461-4F33-9FBD-6d31f769e73103-Jan-1312:30 AM
8a8da99b-335e-43bb-AA12-4634aa0b431003-Jan-1312:30 AM
A15bb095-aeb9-44E1-A79C-1a17cee207d503-Jan-1312:28 AM
A few videos that use the Flash plugin contain a menu entry in the context menu that allows to disable hardware acceleration in flash player.
To disable the mode you will need to edit the file C:\Windows\SysWOW64\Macromed\Flash\mms.cfg as explained in the knowledge base article protected.
See also: how to solve the safe_mode of Flash Player for Firefox? :
-
I have an error message on my desktop saying c:\\windows\system32\rundll.exe ive tried to download a tool to repair, but pc asking what program I want to open again theres none that can run it please help what I do
Hello
1. When you receive this error message exactly?
Method 1:
This problem occurs because of a missing or corrupted Rundll32.exe file.
To resolve this issue, follow these steps:
(a) put the CD ROM of Windows XP disc into the CD-ROM drive.
(b) click Start and then click Run.
(c) type expand X: \i386\rundll32.ex_ c:\windows\system32\rundll32.exe in the Open box, where X is the letter of your CD drive.
(d) restart the computer
Method 2:
This problem can also be caused by a virus.
You can download and run a full scan of the system using the Microsoft Safety Scanner and check if that helps.
Microsoft safety scanner
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note:
The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
-
Please help dimension e520 to hdtv!
I have a dimension e520 and a HD TV, I bought a dvi/hdmi cable I plug upwards and nothing happens I don't have any idea of this kind of things and tried to run everyday please help
-
Please help me about running a sql file
Hi, I downloaded a sql file from
http://www.cs.UWF.edu/~sbagui/DB/practical_oracle.htm
But I am unable to execute successfully... Please help me with this... thank youSowmyRaj wrote:
But how do I access the tables?
Where these tables are stored?
I have already said - market in the script. Try to understand. Tables are created in the REARP schema:
run immediately "alter session set current_schema = rearp';"
Then connect as a matter, for example:
Select rearp.student;
SY.
-
Please help me with my imac beachballing running El Capitan
My imac is in trouble and my mental well-being is threatened!
If you could please help, it would be most appreciated.
I've included an etrecheck report:
EtreCheck version: 2.9.12 (265)
Report generated 2016-06-25 12:37:55
Download EtreCheck from https://etrecheck.com
Time 01:45
Performance: Excellent
Click the [Support] links to help with non-Apple products.
Click [details] for more information on this line.
Problem: Beachballing
Description:
Incredibly slow at the same time. Sometimes freezes completely and will not be closed. None of the keyboard shortcuts will help you. I need to use the power button on the back to turn it off.
And even then, sometimes, after the reboot, the problem persists. And other times, I need to restart several times.
iMac (27 inch, at the end of 2013)
[Data sheet] - [User Guide] - [warranty & Service]
iMac - model: iMac14, 2
1 3.4 GHz Intel Core i5 CPU: 4 strands
8 GB of RAM expandable - [Instructions]
BANK 0/DIMM0
OK 4 GB DDR3 1600 MHz
BANK 1/DIMM0
OK 4 GB DDR3 1600 MHz
0/DIMM1 BANK
Vacuum
BANK 1/DIMM1
Vacuum
Bluetooth: Good - transfer/Airdrop2 taken in charge
Wireless: en1: 802.11 a/b/g/n/ac
NVIDIA GeForce GTX 775M - VRAM: 2048 MB
iMac 2560 x 1440
OS X El Capitan 10.11.5 (15F34) - since startup time: less than an hour
ST1000DM003 disk HARD APPLE disk0: (1 TB) (rotation)
EFI (disk0s1) < not mounted >: 210 MB
Macintosh HD (disk0s2) /: 999,35 go-go (585,40 free) - 3 errors
Drive failure!
Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB
GenesysLogic USB3.0 Hub 2 TB
Seagate Backup + Desk 2 TB
EFI (disk1s1) < not mounted >: 315 MB
Seagate Backup Drive (disk1s2) Volumes/Seagate Backup plus Drive: 2,00 (1.03 free) tuberculosis
Apple Inc. BRCM20702 hub.
Apple Inc. Bluetooth USB host controller.
Apple Inc. FaceTime HD camera (built-in)
Burr-Brown of TI USB Audio CODEC
Reader SuperDrive for MacBook Air Apple Inc..
GenesysLogic USB2.0 hub
Apple Inc. Thunderbolt_bus.
Mac App Store and identified developers
/ System/Library/Extensions
NG.UDs.netusb.controller [no charge] (1.59-2016-06-06) [Support]
[loaded] 7 tasks Apple
[loading] 159 tasks Apple
[operation] 72 tasks Apple
[loaded] 47 tasks Apple
[loading] 156 tasks Apple
[operation] 87 tasks Apple
[loading] com.citrix.AuthManager_Mac.plist (2015-03-17) [Support]
[loading] com.citrix.ReceiverHelper.plist (2015-03-17) [Support]
[operation] com.citrix.ServiceRecords.plist (2015-03-17) [Support]
[loading] com.google.keystone.agent.plist (2016-03-05) [Support]
iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
[ongoing] com.google.Chrome.62432
[loading] 394 tasks Apple
[operation] 181 tasks Apple
Default browser: 601 - SDK 10.11 (2016-05-21)
QuickTime Plugin: 7.7.3 (2016-05-21)
CitrixICAClientPlugIn: 11.9.15 - SDK 10.9 (2015-03-17) [Support]
None
Mobile backups: OFF
Automatic backup: NON - automatic backup disabled
Volumes to back up:
Macintosh HD: Disc size: 999,35 GB disc used: 413,94 GB
Destinations:
Backup drive Seagate Plus [Local]
Total size: 2.00 TB
Total number of backups: 44
An older backup: 18/10/2014, 17:07
Last backup: 06 23, 2016, 19:32
Size of backup drive: adequate
Size of backup 2.00 TB > (disc 413,94 GB X 3)
3% WindowServer
2% fontd
0% kernel_task
0% cloudpaird
Top of page process of memory: ⓘ
636 MB kernel_task
270 MB mdworker (15)
197 MB Google Chrome Helper (2)
QuickLookSatellite 139 MB
Chrome Google 139 MB
4.46 GB of free RAM
3.54 GB of used RAM (1.69 GB being cached)
Used Swap 0 B
25 June 2016, 12:20:41 self-test - spent
June 22, 2016, 20:17 ~/Library/Logs/DiagnosticReports/com.apple.Safari.SafeBrowsing.Service_2016-06-22-201700_ [redacted] .crash
/System/Library/PrivateFrameworks/SafariSafeBrowsing.Framework/versions/A/com.a people. Safari.SafeBrowsing.Service
June 22, 2016, 20:10:43 ~/Library/Logs/DiagnosticReports/com.apple.Safari.SafeBrowsing.Service_2016-06-22-201043_ [redacted] .crash
June 22, 2016, 20:09:37 ~/Library/Logs/DiagnosticReports/com.apple.WebKit.Networking_2016-06-22-200937_ [redacted] .crash
System/Library/Frameworks/WebKit.Framework/versions/A/XPCServices/com. Apple.We bKit.Networking.xpc/Contents/MacOS/com.apple.WebKit.Networking
June 22, 2016, 20:07:30 [redacted] ~/Library/Logs/DiagnosticReports/com.apple.Safari.SafeBrowsing.Service_2016-06-22-200730_ .crash
June 22, 2016, 19:53:59 ~/Library/Logs/DiagnosticReports/com.apple.Safari.SafeBrowsing.Service_2016-06-22-195359_ [redacted] .crash
June 22, 2016, 19:45:57 [redacted] ~/Library/Logs/DiagnosticReports/com.apple.Safari.SafeBrowsing.Service_2016-06-22-194557_ .crash
Hard drive appears to be faulty.
It seems that you have current backups, so you should be able to recover if the drive completely fails.
Run disk utility to repair the disk and also check the SMART State.
When a player starts to falter, it is almost certain, it will fail. There is really no cover failures of IO because it indicates that the player no longer has the ability to remap bad blocks.
If you have AppleCare, you can probably still get it replaced. However, they are fairly cheap these days and quite easy to replace yourself.
-
Hi, I downloaded Adblock yesterday, since then my Safari is running as Aol dial up to 20 years. I don't know how to uninstall Adblock.Don't you think that this is the cause? MacBook Pro 2014 OS X El Capitan Version 10.11.3 retina 13 inches processor: 2.6 GHz Intel Core i5, 34,88 GB 120,11 GB free memory I must sound stupid that I don't know how to uninstall it, but I can't even find Adblock anywhere on my computer. Please help me! My nephew who is my personal COMPUTING guru is in Russia on vacation. Thank you very much.
greekmama1
Please download and install EtreCheck from http://etrecheck.com/
Run it and post the report here.
-
I have some problem in my query to sql server. If I press f5 to run it opens to record dialogue area nd do not run (I don't get successful... orders etc). Please help me
Hello
SQL Server is not supported in these forums. I suggest that you ask your question again in one of the forums dedicated to Microsoft for him here:
http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .
Thank you. :)
-
MY GAME WAS being RUN IN FULL SCREEN IN VISTA, AFTER I UPAGRADE VISTA to W7 IN resolution 640 * 480. PLZ HELP me BCz I bought new games and it all running in the same resolution(640*480). my graphics card is ati mobility radeon HD 4330 AND I ALREADY INSTALL ATI CATALYST. BUT NO bcz change, this isn't my windows screen resolution problem, it's game or graphics screen resolution prblm. help, AND I don't want to hear this right click on your desktop and select the option that allows you to adjust your screen resolution. BCZ I already did. Please help me... [sry for my bad English.
I understand that you have also changed the settings within a game. Desktop resolution settings and the game are two different things.
Hmm... 640 x 480... It sounds little similar... right click on the file that launches a game > choose Properties > compatibility tab > make sure that in the screen resolution 640 x 40 option is unchecked
...
In addition, if no Vijay and mine tips work... could you tell us what game is it? Maybe he has a known issue with resolution problems.
-
Please help me. My task manager disappeared, also run the command
I have automatic updated my computer this morning. After the update, I had to reboot my computer. After the reboot, my task manager disappeared, I received a message that it is disabled by the administrator. The thing is, I am the administrator. I tried to bring it using command run, but he went too. I tried the command run in the properties of the start menu, impossible to find. How can I bring back?
Another thing, all my word files are now listed as files Visual Basic EDITOR. I guess it's because of virus. I turned off to avoid any automated scripts from script virus running, but then I can't open any word file, so I still allowed him. I can open word file after that, but they are still reported VBEfile. What is VBEfile anyway?
Another problem, the automated system recovery tab is also missing from my computer properties after the update.
Please help me, I'm desperate here.
If you see things like this:
You do not have sufficient security privileges to restore your system.
The System Restore tab is missing from the my computer properties.
System Restore has been disabled by group policy. To turn on system restore, contact your domain administrator.
The System Restore tab is available, but the turn off System Restore (disabled by Group Policy) box is grayed out.
The task manager has been disabled by your system administrator.
The registry editor has been disabled by your system administrator.
The task manager has been disabled by group policy.
The registry editor has been disabled by group policy.
The command prompt has been disabled by your administrator. Press a key to continue...
The operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
The "Run" option is missing from the start menu.
The option "Log off."... ' is missing from the Start Menu.The usual advice are something in the sense of "something has been disabled in the group policy...". ", and it is probably true that something has been disabled, but you know what something is and what it takes to do about it.
If you are using XP Home Edition, you will get away with advice to use the Group Policy Editor, because there is no Group Policy Editor in XP Home and that really doesn't tell you where to look in group policy, even if you run the Group Policy Editor.
You need a complete solution that works for all versions of XP and requires no hunting around in the Group Policy Editor or registry to find where things are that have been disabled.
Unless you have disabled these things on purpose, chances are good that your system has a malware infection. The malware knows what tools you use to try to find and remove, for the malware disables the things you are more likely to consume and prevents them from running if you can't find the malware and remove it.
If your system has this kind of affliction, all malicious software tools you currently use or have used failed to protect your system so that you can expand your horizons malware detection and prevention to prevent these kinds of afflictions in the first place.
The malware will be happy you trick into thinking that you need to so something drastic to fix your system - as a facility repair, system restore point or a total reinstallation of XP. This is what it would be like you, but these measures are not necessary.
You must solve the immediate problem of the tools does not, then scan your system for malware when you are finished.
No matter what kind of malware you've used analytical tools, they are unlikely to solve this problem, because they cannot tell if the changes made to your system have been on purpose (you or an administrator who makes them) or some malware changed them, so the analysis tools will let these things alone (it's usually a good thing).
If your system is afflicted in this way, there are probably other things that also do not work - like the registry editor, System Restore and the command prompt, so fix them all at once even if you have not discovered they are broken again.
These commands from registry removes the registry entries that are stop opening programs. Although the registry entries do not exist, these commands are safe to run and will work for all versions of XP.
Before making any changes to your registry, back up the registry with this free and popular tool:
http://www.SnapFiles.com/get/ERUNT.html
Open Notepad to create a new text file:
Click Start, run and enter in the box:
notebook
Click OK to open a new Notepad file.
Copy and paste the following lines in bold text in the new Notepad file.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableTaskMgr" = -.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools" = -.
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System]
"DisableCMD" = -.
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem\\\]
"DisableTaskMgr" = -.
[HKEY_USERS\.default\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableTaskMgr" = -.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DisableCAD" = DWORD: 00000000
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\SystemRestore]
"DisableConfig" = -.
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\SystemRestore]
"DisableSR" = -.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRun" = -.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRun" = -.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoClose" = -.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoClose" = -.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSetTaskbar" = -.Save the new text file with extension .reg on your desktop or somewhere you can remember with a name you can remember, something like:
enableit.reg
After you save the file, close Notepad.
Locate the file enableit.reg on your desktop and double-click it.
Alternatively, you can right-click on the enableit.reg file, choose open with... and select the registry editor.
Answer in the affirmative to the question... Are you sure you want to add the information in the registry?
You should then see a message that information has been registered in the register.
Reboot your system and test.
You can delete the enableit.reg file when you are finished.
If the registry editor has also been disabled, we first fix (not a problem).
Because now you have or have had a malware infection, I would follow with this:
Download, install, update and do a full scan with these free malware detection programs:Malwarebytes (MMFA): http://malwarebytes.org/SUPERAntiSpyware: (SAS): http://www.superantispyware.com/They can be uninstalled later if you wish. -
How can I save xml file n, run the xml file? Please help me
How can I save xml file n, run the xml file? Please help me
Hello
The question you have posted will be well suited in the MSDN forum. Click on the link below.
http://social.msdn.Microsoft.com/forums/en/categories/
In the meantime, I suggest you to return the item mentioned below.
How to use XML Notepad to create an XML document
-
PC automatically shutsdown after every 30 min. I have the last MS Security Essentials installed and running and also the MS Malicious software installed, but none are able to detect any virus or harmful software. Please help in this regard.
You get a bsod?
Please check the event log to see if there are errors, helping to explain what is happening. Also check the c:\windows\minidump folder. Are there files .dmp created here with the dates that it closed? If so please download them on your skydrive so watch us closer.
See you soon.
MyPcHealth - free tools
-
can you please help I am running windows vista Home premium and letters on the keyboard are in french is my question mark key e, what is the problem and how to fix it thanks Dan
Your keyboard is set to french. To resolve this problem, look at the right hand of the bar at the bottom and you will see a keyboard. Click on it and press U.S..
I hope this helps. -
I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!
Hi William,.
Welcome to the Microsoft community.
Batch file is a type of script file, a text file, containing a series of commands to be executed by the command prompt. When you run a batch file, it opens the command prompt to run the scripts.
It would be great if you can answer the following questions:
1. what happens when you try to run a batch file?
2 are. what batch file you referring?
3. the problem occurs for a particular batch file?
First of all, I suggest you to check the commands written in a batch file. To do the same thing, just right-click on the batch file, and then click change. It will open Notepad with the list of orders scripted for this particular batch file.
If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.
-
. I don't know what programs need to run at startup? Please help me I have windows 7 Home Basic
Each computer has different startup programs - if you if you stop that you need you can turn it back on. See step 5 to turn them off.
Windows 7 is slow
(1) unplug all devices such as printers, external hard drives, microphone, webcams etc.
(2) if the computer has only 1 GB or 2 GB of RAM, try adding more RAM.
(3) make sure that your drivers are up-to-date.http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly
(4) defragment your Windows 7 computer:
http://Windows.Microsoft.com/en-us/Windows7/improve-performance-by-defragmenting-your-hard-disk(5) reduce the start up programs:
(A) click Start, type MSCONFIG in the search box and press ENTER.
OK the authorization of user account control and password if necessary
(B) on the general tab, click Selective startup.
(C) then change the tabs by clicking on the start tab
(D) uncheck the programs that you do not want to start when your computer starts (do not turn off your antivirus).
(E) click OK, and then restart the computer.(6) disable some visual effects in Windows 7
There are a lot of Visual effects that can be disabled safely to speed up Windows 7.
A. Click Start, right click on "Computer" and select "Properties".
B. click on "Advanced system settings" in the left pane to open the"System Properties".»
C. Select the "Advanced" tab from him. Then, under 'Performance', click on 'settings '.
D. now uncheck all the options that you do not want to use (some options disables Aero).
E. restart the computer.(7) open the resolution of Performance problems
A. open the Troubleshoot utility of performance by clicking on the button start.
(B) in the search box, type "convenience store" and then click Troubleshooting.
C. under system and security, click on search performance issues.
Maybe you are looking for
-
HP 35s - normal probability function
Hi all I am trying to determine if the 35s has an 'automatic' integrated in the prerequisite programs normal probability function. For anyone who uses Stata, you can type "normal di (value)", and you get a returned probability based on the normal di
-
Equium A60-155 - CD/DVD drive is not recognized
You just bought second-hand Equium EA60-155 works OK but no CD/DVD being recognized.Power learning to drive because it can eject and seeing orange lights. I am running Windows XP. Any ideas?Thank you.
-
error code 1606 during the uninstallation of autocad and sewer storm
error code 1606 during the uninstallation of autocad and sewer storm
-
How can I save the video published on a DVD?
Original title: can not take MORE than 2 First mistake was to use the software download from Sony, then found a way to convert it then discovered vmi Movie Maker for editing. Now I can't save the Movie Maker on a DVD. I can record on my counter
-
Charger Adapter tip is hot and laptop off
Hey, here's my problem. When I plug my charger recharges for about 10 minutes (around then), the adapter of the charger, the piece of metal edge, gets really hot to the point where it can burn me and when it happens to my laptop stops please help, it