How to change the default directory from within SQL*Plus ?
Hello,
I want to change the default directory directly from within SQL*Plus to be able to launch my command files with simple instructions like :
@my_command.sql
If I haven't launched SQL*Plus from the directory containing the file my_command.sql, how do I change the default directory to the directory of my command files ?
I've searched through the Oracle documentation, there's no SET DEFAULTDIR or something like that. When I do a SHOW ALL, there's no variable containing the default directory.
If you have an idea...
regards,
Jérôme.
Hi Jérôme (J鲴me ?),
You cannot directly do that, but you can use @@ instead of @ to run subscripts in the same directory as the superscript
# head /tmp/tl30/xxx/[xyz].sql
==> /tmp/tl30/xxx/x.sql <==
prompt call y
@y
prompt call z
@@z
quit
==> /tmp/tl30/xxx/y.sql <==
prompt i am in y
==> /tmp/tl30/xxx/z.sql <==
prompt i am in z
# pwd
/root
# sqlplus -s scott/tiger@lsc62 @/tmp/tl30/xxx/x.sql
call y
SP2-0310: Datei "y.sql" konnte nicht geöffnet werden
call z
i am in zKind regards
Laurent Schneider
OCM DBA
Similar Messages
-
How to change the default currency in CJ32 and CJ33
Dear all,
As required by the user, I want to know how to change the default currency from controlling area currency to object currency in TCODE CJ32 and CJ33. Currently, the controlling area currency will be defaulted in the field "Views in".
Could any one help me? Points will be awarded.
Thank you.
Christina.
Edited by: Virendra Pal on May 5, 2010 8:34 AMHi Christiana ,
Once you are in tcode CJ30 / CJ32 , Enter either Project definition or WBS element and this shall take you to the Budget screen and once you are here you can find a drop down with two options .One is Controlling are currency and the other one is Object currency.
Since the Currency is set to Object currency in OPS9, System shall allow the budget values in Object currency and if the user wants to see the same values in Controlling are currency ,then the user needs to view the values in Controlling are currency using the drop down .
Regards
Judy -
dear, there.
how to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage to google too, but it isn't solved. ThanksClarification:
I believe now you potentially lose all extensions, plug-ins when you use the new reset function, but you will let me know.
If that is the case, your find corrupt file method maybe better. However, I reviewed the two help articles and there appear to be more files than just the delete search.json file and a possible search.sqlite file in the Firefox Profile Folder. I am confused. Then I have to find the folders. I think help articles mentioned how to find the profile containing the files, but not sure. -
How to change the default IDOC basic type from CREMAS05 to CREMAS04.
Hi All,
How to change the default IDOC basic type from CREMAS05 to CREMAS04 when sending Vendor Master Data.
When I generate partner profile, the system will add the latest version of IDOC type which is CREMAS05 to the Outbound message. In my project, I'm asked to use CREMAS04.
I want to use BD14 to send master data directly, but the program will generate IDOC using CREMAS05. Is there a way that I can change it to CREMAS04? And also for using Change Pointers, I want to use the report RBDMIDOC, but i have the same problem.
Thanks
Sai Krishnaexecute WE20 and edit the outbound parameters
here is a pretty good example: http://documentation.softwareag.com/webmethods/sapr3_gateway/sap231/pages/sapdist.htm
Edited by: Jürgen L. on Sep 7, 2011 9:49 PM -
How to Change the Default SSH Port from Terminal ?
How to Change the Default SSH Port from Terminal ?
How to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can do -
How to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can doHow to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can do -
How do I change the default setting from Pages to MS Word for Mac?
How do I change the default setting from Pages to MS Word for Mac?
https://discussions.apple.com/message/13008817#13008817
-
HP Envy 5530 How do I change the Default Scan from Jpeg to PDF?
Does anyone know how to change the default settings for the "Scan to PC" options? I would like to scan to PDF verses the current default JPEG. Any help is greatly appreciated. I've tried to research on setttings from the HP App and see nothing. I also couldn't find anything on the Printer itself.Thanks,Shep
Make changes in General Everyday Scan Open HP Scan > Select Everyday Scan > On the right side select pdf as file format and test one scan from the software. Now try scan to pc
-
How to change the default 'screenshot' save from 'png to jpg'
Can someone tell me how you change the default on this so I don't have to 'change the file' every single time?
http://www.macobserver.com/tmo/article/changing_the_default_screenshot_format/
-
How to change the default structure when exporting data in CSV format?
Hello,
can some one tell us how to change the default structure in CRM when exporting lists in CSV format (with Option "Always use unformatted list format (CSV) for download" ? Because we want to add a new structure for our own -is it possible ?
If it is possible where can we find these structure ? In the blueprint customizing ?
Thank you very much,
ChristianThere is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
Excerpts from sun docs:
However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
Example:
Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
Details are here
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
Will update if i find more information -
How to change the default JRE when there are several version of JRE in Sys
How to change the default JRE when there are several version of JRE in System?
i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
Now the JRE is jdk1.3\bin
When run class that was compiled with jdk1.5,throw:
java.lang.UnsupportedClassVersionError
How can i change the jre to 1.5?There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
Excerpts from sun docs:
However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
Example:
Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
Details are here
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
Will update if i find more information -
How to change the default admin password for IAS/UDDI
Using "OracleAS UDDI Registry" 10g Release 2 (10.1.2)
http://docs.oracle.com/cd/B15904_01/web.1012/b14027/regwsuddi.htm
How to change the default password
ias_admin/ias_admin123
http://xxx.xx.xxx.xx/uddi/publishingHello NJ,
I tried your solution and its a very good workaround for the workbooks stored in the Database, but when i open workbooks from file system then Discoverer defaults the export path to the Directory from where we have opened the workbook.
My clients are having most of their workbooks stored in File system & stored at different locations. So i wonder if there is just one common solution if possible?
Thanks -
Cannot change the default directory for the web services
When I change the default directory the drive letter always changes back to the drive letter the project was loaded from.
Software version Labview 2009.Did you change the default page within your code? Everytime you start the vi, it will revert to that page.
When you change the default directory (if it is a control on the Front Panel), did you right click the control and select save as default?
Otherwise, each time you re-open the VI, it will revert to the actual default value, which was the previous directory. -
How to change the default apex port
hi,
i am installed apex4.0 in EBS R12 DB with HTTP Server method. my apex is running from application server 10g and default port is 7777.
URl: http://hostname:7777/pls/apex
My EBS R12 running on http://hostname:8007.
is it possible to change the apex port to EBS Apache port(8007) in R12 and finally i want to change above URL like this
Before change : http://hostname:7777/pls/apex
After Change : http://hostname:8007/pls/apex
Thanks in advanace....How to Change the Default SSH Port from Terminal ?
now showing default SSH Port 22 i need change it pls help me how can do -
How to Change a Default Value from Drop Down Box displayed in Web Dynpro?
Hi,
How to Change a Default Value from 'High' to 'Low' in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component. I saw a Default Value set for a RANGE field in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
I appreciate your help!
Thanks,
Monicahi,
use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
// u can use the code wizard( control +f7) this code will be auto generated when u select the
//radio button to read the context node
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node.
* navigate from <CONTEXT> to <CN_NODE> via lead selection
lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
name = `ATTribute name.`
value = 'LOW' ).
it will solve ur query ..
also refer to this component
wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
regards,
amit
Maybe you are looking for
-
Firefox does not default to your homepage when you manually open a new tab. It should do so. Is there a way to make FF do this? Is it an addon? If so, should this not be default behavior and just be incorporated into the browser?
-
Window 7 and window xp sharing deskjet 5650 printer
My new computer running windows 7 seems to have issues printing out on the deskjet 5650 in that some printout material is not printed or lost, or the pages would be missing. I tried printing the same material (especially emails, email attachments, p
-
WKLPI Excpetion while calling a public workflow
Hi, I am getting an error as follows Cannot identify a unique CA based on selection criterias. Exception while creating a subworkflow instance object..... I get this error while invoking a public workflow from a task. Has anyone encountered a similia
-
I wrote a custom access gate for j2ee application (servlet filter). When I create a resource object, I use request URI, is it correct? ObResourceRequest resource = new ObResourceRequest("http", request.getRequestURI(), request.getMethod()); The reaso
-
Using drupal ckeditor profile with wysiwyg . Firefox latest version is apparently not respecting the width of the i-frame text editor box and the text is not wrapping when viewing in source code mode. Chrome and IE are working as expected. Windows 7