PLSQL compiling from the command prompt (not within sqlplus)
Hi allis there a way compilation plsql from prompt not open sqlplus and writing the @filename command?
We want to import the output to a file and analyzed for a code review tool that we're working on
Thank you...
user9371286 wrote:
Thanks for the answer, I do not want to run the script, I want just to compile?
Your very helpful answer I'm looking for the other parameters for the fair compilation
But the execution of a script, it's how do you things from the command line.
If you want to compile a package or procedure etc you can use for example:
alter procedure compile;
in your script
In addition, if you include the 'exit' at the end of your script, it will return SQL * for the command-line command again.
Tags: Database
Similar Questions
-
Update Live from the command prompt
Hello
I create an executable whose purpose and to make the creation of a winPE bootable USB key easier.
To create the key, I need to run multiple commands with the systemexec.vi. Many of these commands take ages at the end so I need to know whether or not the command is still in progress.
What would be great is to have a live update from the command prompt. I guess there should be a way to insert the command line in a secondary or other container?
Best regards
Try to redirect the standard output to a file, as in this example:
ping 192.168.0.46 > out.txt
If your utility supports redirection, you can read the contents of the file at any time.
Be careful to choose a working directory where your username has write permissions.
-
I use Windows 7 and everthing works apparently fine. However, I can't see my account of user (users\John) in Windows Explorer. I see the default administrator. Accounts and account "TempAdmin" I just did. I search/modify 'John' in the control panel. I can see ' C:\Users\John > ' from the command prompt and the view (dir\) directories, but it is not there in Windows Explorer. What gives?
I use Windows 7 and everthing works apparently fine. However, I can't see my account of user (users\John) in Windows Explorer. I see the default administrator. Accounts and account "TempAdmin" I just did. I search/modify 'John' in the control panel. I can see ' C:\Users\John > ' from the command prompt and the view (dir\) directories, but it is not there in Windows Explorer. What gives?
It is a file system / hidden?
May not, your settings in Windows Explorer is configured to be able to see (display hidden and system files/directories).
-
How to convert a file Available from the command prompt
I have the need to create or convert a file from the command prompt line and store format Available, but not how to do it
Not possible with Acrobat.
-
start the script from the command prompt
Hi all
I'm trying to run a script from the command prompt, I get the following error message:
A JDK is required to run Web Services with OracleDI. You are currently using
a JRE.
OracleDI: From scenario INT_ACCOUNT_LOAD_ONE 001 Global context...
java.sql.SQLException: no driver appropriate
at java.sql.DriverManager.getDriver (unknown Source)
at com.sunopsis.sql.SnpsConnection.u (SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.c (SnpsConnection.java)
at com.sunopsis.sql.i.run (i.java)
I gave the information to the repository in the file odiparameters.bat, also I put the ODI_HOME path separately in the system of environmental variables. It is not a form of work.
Concerning
KKThis error message indicates that the driver is correct, but your URL for your storage space is not. (if she could not find the driver, then he would have given the exception to com.sunopsis.sql.c)
-
"How to change the gateway by default from the command prompt"
"How to change the gateway by default from the command prompt"
How to change the default gateway on the windows command line
-
Cancel current Chkdsk from the command prompt
I use Windows 7 Professional 32-bit. I ran chkdsk to correct a file corrupted on an external hard drive. I started the administrator command prompt, disassembled the external hard drive and ran chkdsk/r. He proceeded to recover all the files I wanted, but then he finds another corrupt folder that I thought I had deleted. I don't don't need or want this another folder, but chkdsk has taken during the last 72 hours or so trying to fix it. Let us be clear, chkdsk is not fixed. Every two hours, it will update saying that it successfully recovered another file. There are hundreds of files in this folder. I'm looking for a way to stop chkdsk without hurting the parties not corrupt my external hard drive.
Thanks for any response.
Hello
As I was running chkdsk since the administrator on an external hard drive command prompt I didn't need to do a hard reboot. I just closed the command prompt. It seems did not cause any damage. The files it claims to have recovered are now available. While everything seems to have worked.
-
Why I can't change the default program from the command prompt?
Accidentally, I changed the default program to open the .py (Python script) files at the command prompt, now I can't change it back even in the Control Panel, the check box is gray. Also I tried the registry editor, I do not have the NoFileAssociate file.
If someone could help that would be great!Hello
This problem occurs when Windows thinks that the application already exists in the list. Change the name of the application may fix this problem. Please try the following if you do not want to rename python.exe
Method [1]: Use the registry to change the application Associations
ATTENTION: It is recommended that you create a restore point before you proceed- On the start menu, insert the following text and press ENTER: regedit.exe
- Delete the following key
Python.exe HKEY_CLASSES_ROOT\Applications\
Thank you
Have a nice day :) -
How to compress a folder from the command prompt?
As we know, there is an option in sent to--> compressed (zipped) folder.
Is it possible to do the same by running any command from the command line, which will happen like lightning my file.My goal is like that. I want to create a job in my task scheduler which can zip a folder at the interval given.
Is this possible? Or did I dream about something impossible?
Thank you. Sometimes, difficult things are possible...Hello
7-zip is the way you really need to take.
7-zip - free has command line options
http://www.7-zip.org/7 - Zip - version command-line - free
http://www.7-zip.org/download.html7-zip - Forums
http://sourceforge.NET/projects/sevenzip/Forums/Forum/45797I hope this helps.
Rob - bicycle - Mark Twain said it is good. -
Error while executing a script from the command prompt
Hello, I edited the settings file and I am trying to execute an interface that links the two tables in the HR schema and load into a table in the different schema. I am able to run it in the designer, but I get an error message when I try to run through the command prompt.
Here is the error message when I try to run it
09/09/2009-11:58:42 AM (hand): session for scenario creation: DEMO_INTERFACE - 001
09/09/2009-11:58:42 AM (hand): Session: 88010 is running
com.sunopsis.core.SnpsInexistantObjectException: there is no link for this
pair logical schema/context: HR / GLOBAL
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContex
t (SnpConnect.Java)
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect (SnpConnect.java)
at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst (SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.getConLst (SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand (DwgCommandScenar
IO. Java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i (e.java)
at com.sunopsis.dwg.cmd.e.y (e.java)
at com.sunopsis.dwg.DwgJv.treatCmd (DwgJv.java)
at com.sunopsis.dwg.DwgJv.main (DwgJv.java)
at oracle.odi.Agent.main (Agent.java)
09/09/2009-11:58:43 AM (hand): Session: 88010 completed with return code:-1
com.sunopsis.core.SnpsInexistantObjectException: there is no link for this
pair logical schema/context: HR / GLOBAL
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContexur
t (SnpConnect.Java)
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect (SnpConnect.java)
at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst (SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.getConLst (SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand (DwgCommandScenar
IO. Java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i (e.java)
at com.sunopsis.dwg.cmd.e.y (e.java)
at com.sunopsis.dwg.DwgJv.treatCmd (DwgJv.java)
at com.sunopsis.dwg.DwgJv.main (DwgJv.java)
at oracle.odi.Agent.main (Agent.java)
DwgJv.main: output. Return code:-1
Thank you for your help.
MurielleAre you sure about the configuration of odiparams.bat?
-
My Windows DVD Maker seems to hang after I click the button 'Next', so I looked in my event viewer for more details. I met that a failed module named 'iac25_32.ax' is the source of my problem. To remove it, I went to my command prompt (cmd.exe) and enter the following text: "regsvr32 /u iac25_32.ax' to try and unregister the codec file.
Here is where my problem occurs: Once I hit enter, I get an error code reading - 0x8000ffff. Why won't my order process?
Characteristics of code error : "iac25_32.ax" module was loaded but the call to DllUnregisterServer failed with error 0x8000ffff
How can I solve this error 0x8000ffff code?
Note that attempting to unregister a DLL that is not registered currently produces a similar to the following error dialog box, regardless of the version of Visual J ++ was used to create the DLL:
RegSvr32
DllUnregisterServer dans...\Project1.dll failed.
Return code was: 0x8000ffffFIX: onCOMRegister not called for the VJ-Generated COM DLL
http://support.Microsoft.com/kb/223339Have you ever tried save this file?"iac25_32.ax" is a DVD MPEG-4 filter, as it is not a .dll file or not an .ocx file, perhaps it can be saved or unsaved in all cases, but other seem to suggest so it could be possible?create dvd Windows has stopped working
http://social.answers.Microsoft.com/forums/en-us/vistamedia/thread/98fde193-d4e6-417f-8b37-16661e6c6a3aHere are a few links of Codec.Vista Codec Package Final v5.4.3
http://www.MajorGeeks.com/Vista_Codec_Package_d5326.htmlBasically, the K-Lite Mega Codec Pack is going to play all video files on this planet.K - Lite Mega Codec Pack
K - Lite Codec Pack Full (less features)K - Lite Mega Codec Pack 5.6.1
http://www.free-codecs.com/download/K_Lite_Mega_Codec_Pack.htm -
Trying to delete a folder from the command prompt: access denied.
So, I just get everything from my old computer to a new computer, and now I have a bunch of additional folders and files that I can't get rid of. I can't support, I get an error when I do this. I can't remove them through a command prompt, it gives me the same error I get when I try to take possession or delete normally. How can I get rid of these files?
Hey BetterWithLinux,
Have you tried running in Admin mode?Give that a try and let us know your results.Thank you! -
Execution of procedure stored from the command prompt?
Is there a way to the execude stored procedure in Windows command prompt, something like running script sql using sqlplus.exe username/password@db @sql_script. *. I am aware of the possibility to set the pl/sql block that calls the procedure in the script and then call the script, but this isn't the solution, what I'm looking for.Something like that?
C:\Documents and Settings\Administrator>echo execute del_emp|sqlplus hr/hr SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 14 19:13:52 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production SQL> PL/SQL procedure successfully completed. SQL> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
-
How to send an SMS from the command prompt in Windows 7?
I clicked on this link http://www.fomine.com/net-send-gui.html in reference to the same question that I have. It says nothing about the ability to use in Windows 7. What I try to do is to send a message to a computer (Windows XP) and an iPod on my network to a batch file on my laptop using Windows 7. I have a simple batch file with this tag to the breast:
CLS
the value n/p = planned ip address
the value m/p = Hello this is a test
net send /%n% /%m%BREAK
All feel that it worked. But when I look at the pc (Windows XP) through the room, it is not a pop-up message. Someone at - it a sugguestions?
I clicked on this link http://www.fomine.com/net-send-gui.html in reference to the same question that I have. It says nothing about the ability to use in Windows 7. What I try to do is to send a message to a computer (Windows XP) and an iPod on my network to a batch file on my laptop using Windows 7. I have a simple batch file with this tag to the breast:
CLS
the value n/p = planned ip address
the value m/p = Hello this is a test
net send /%n% /%m%BREAK
All feel that it worked. But when I look at the pc (Windows XP) through the room, it is not a pop-up message. Someone at - it a sugguestions?
It's all about existing communication from the computer to the other.
NET SEND no longer exists in WIndows 7, if I remember correctly, it's the MSG, I think.
Also - I think by default, that "Messenger" service has been disabled after SP2 for Windows XP. You will need to change that to start automatic/enabled.
Furthermore, I believe that you would have to modify the Windows Firewall to allow this traffic.
-
Hello
I use SignTool.exe since a new Process() to check an Assembly codesigned and it returns the exit code 1 so that it returns the exit code 0 while I run the same Visual Studio command prompt. Please let me know your thoughts...Here is an excerpt of my ultimate VS2012 code on PC Win7.p = new Process();p.StartInfo.FileName = "C:\\Program Files (x 86) \\Microsoft SDKs\\Windows\\v7.0A\\Bin\\SignTool.exe";String args = @ "check."p.StartInfo.Arguments = args + "" + '/pa' + ' / v '+ name; "" "p = Process.Start (p.StartInfo.FileName, p.StartInfo.Arguments);p.Start ();p.WaitForExit ();pexitcode = p.ExitCode;name = 'C:\\Users\\v-maparn\\Documents\\Visual Studio 2012\\Projects\\CodesignVerification\\CodesignVerification\\bin\\Release\\Microsoft.IT.Core.dll'Thank youManiSalimakadari
This issue is beyond the scope of this forum that you might better ask on Technet or MSDN (Microsoft developer network)
http://social.technet.Microsoft.com/forums/en-us/home
https://social.msdn.Microsoft.com/forums/en-us/home
Maybe you are looking for
-
I can't add a bookmark to my bookmarks bar
I recently had to do a complete reset of Firefox. I added on the Restorer Classic theme, as I did before, except now I can't add a bookmark in the toolbar (where you can drag and drop a webpage in the zone just below the address bar). I have the book
-
Power supply replacement for Equium A60
I have an A60 and am looking for a replacement power as mine is broken - anyone any idea where to get one and how much? Thank you.
-
My d drive is missing so I am unable to rip CDs. How can I fix this problem
My d drive is missing so I am unable to rip CDs. How can I fix this problem
-
Password and a blackBerry Smartphone voicemail
Hi - I have a curve 8330. How can I add my password 4 digit to dial automatically after that I have to press 1 to activate voicemail on my BB. And should we register, to suspend the time? Thank you Shelley
-
Im trying to reinstall windows 7 but my laptop used regognise it
Hi I hope someone can help me, my lappy wont recognize the disk im (genuine) windows tries to use, disk is fine coz its been tried on other lappys and my fine coz of disk drives, he plays a different cd/dvd ive tried