How to open notepad from sql prompt?
Hi to all
can anyone please let me know how to open notepad from sql prompt.
I tried ed command but message appears " Cannot create save file "afiedt.buf"
thanks in advance
user13480742 wrote:
can anyone please let me know how to open notepad from sql prompt.
I tried ed command but message appears " Cannot create save file "afiedt.buf"Create a SQL*Plus shortcut on your desktop.
Create a SQL folder on your desktop (in your documents folder, or whatever desktop location you have read and write access to).
Change the +Working Directory+ of the SQL*Plus shortcut to this SQL folder you have created (via editing the properties of the shortcut).
Launch SQL*Plus via that shortcut.
It will now run from that SQL directory. This means that it will have read and write access to the current directory (allowing it to create the +afiedt.buf+ file for example). It also means that you can save your SQL scripts in this directory and execute these from the SQL*Plus command line, without having to specify a path.
Similar Messages
-
OBIEE 11g How to pass variable from one prompt to another prompt in dashboard page.
How to pass variable from one prompt to another prompt in dashboard page.
I have two prompt in dashboard page as below.
Reporttype
prompt: values(Accounting, Operational) Note: values stored as
presentation variable and they are not coming from table.
Date prompt values (Account_date, Operation_date)
Note:values are coming from dim_date table.
Now the task is When user select First
Prompt value “Accounting” Then in the
second prompt should display only Accounting_dates , if user select “operational”
and it should display only operation_dates in second prompt.
In order to solve this issue I made the
first prompt “Reporttype” values(Accounting, Operational) as presentation
values (custom specific values) and default presentation value is accounting.
In second prompt Date are coming from
dim_date table and I selected Sql results as shown below.
SELECT case when '@{Reporttype}'='Accounting'
then "Dates (Receipts)"."Acct Year"
else "Dates (Receipts)"."Ops
Year" End FROM "Receipts"
Issue: Presentation variable value is not
changing in sql when user select “operation” and second prompt always shows
acct year in second prompt.
For testing pupose I kept this presentation
variable in text object of dashboard and values are changing there, but not in
second prompt sql.
Please suggest the solution.You will want to use the MoveClipLoader class (using its loadClip() and addListener() methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it. You can create an empty movieclip to load the swf into, and in that way the loaded file can be targeted using the empty movieclip instance name.
-
How to Open Or read SQL Server log file .ldf
Hi all,
How to Open Or read SQL Server log file .ldf
When ever we create database from sql server, it's create two file. (1) .mdf (2) .ldf.
I want to see what's available inside the .ldf file.
Thanks,
AshokI am not too sure but may be the below two undocumented commands might yield the desired result.
DBCC Log
Fn_dblog function
Refer these links for more info,
http://www.mssqlcity.com/Articles/Undoc/SQL2000UndocDBCC.htm
http://blogs.sqlserver.org.au/blogs/greg_linwood/archive/2004/11/27/37.aspx
http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1173464,00.html
Some 3rd party tools like Log Explorer can do the job for you.
http://www.lumigent.com/products/le_sql.html
- Deepak -
Need command to run sql script from sql prompt
Hi,
I am beginner in sql i need a command to run sql file from sql prompt.In notepad i have write 10 to 15 tables creation and saved as .sql i want to run this file from sql promp pls some one help.I am very great full to all users in this forum.You can also use the 'start' command.
You may also want to look in the SQLPlus User Guide and Reference (for your release) at the set command for commands to set the number of lines per page, turn headings on or off, and so on:
http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/toc.htm
HTH -- Mark D Powell -- -
How to open project from an earlier version (RH x3) using RoboHelp 6.
Hello everyone, I need your help. I have recently upgraded
from RH x3 to RH V6. I have just completed the installation of RH6
after spending long time with Adobe customer support as it took
them long time to figure out how to provide me the unlocking key to
install RH v6.
BTW I have only installed RoboHelp 6 by itself. I did not
install their Source Control because we already have Visual Source
Safe which we have been using in our company.
Also, since I had Adobe Reader 8 installed on my PC, I did
not install Acrobat Element 7 either. As I suppose if Acrobat 7 or
higher is installed RH v6 was not going to install Acrobat Element
7.
Well, now after I have installed RH v6, my first step is to
find out how to open project from an earlier version (RH x3) using
RoboHelp 6.
RH x3 is installed on my old PC and I am working on my new PC
where I have installed RH V6.
Sorry, for providing you too many details, the purpose is
only to give you a clear picture.
Please, give me your feedback if I am doing everything
correct and how should I open the project from an earlier version.
ThanksHi Peter,
Thank you so much for the response. Actually, after I posted
the question on Forum we had lost internet connection for some time
and I just went ahead and tried it by myself.
This is what I did – since we use MS Visual Source
Safe, my all files were in the working folder of VSS in my c drive.
I just clicked the Open tab/More Files in RoboHelp Starter and
located the RoboHelp HTML Project File. It opened without any
problem. Everything looks alright.
Is there anything specific I should be checking to make sure
if it is working fine in this version of RH. Because I did not
create this project, somebody else did and I have never used this
tool before this is the first time I will be using.
I found your site pretty helpful though and it did have some
information about Source Safe. I still have one question related to
Visual Source Safe that Is RoboHelp v6 linked to VSS automatically
and check the files out from it automatically whenever a project is
opened or we have to manually set the link between the RH6 &
VSS.
In RH x3 whenever I would open a project it would prompt a
message that in order to open this project the following files need
to be writable, would you like to make them writable, selecting
that option would checkout all the files from the VSS to make them
writable. However, in RH V6 I opened an existing project and it
opened without checking out the project files from VSS. Do you have
any idea what’s happening?
Ps: Do you recommend any book on RH 6 for starters or any
other recommendation?
Your help is always appreciated -
How to compare result from sql query with data writen in html input tag?
how to compare result
from sql query with data
writen in html input tag?
I need to compare
user and password in html form
with all user and password in database
how to do this?
or put the resulr from sql query
in array
please help me?Hi dejani
first get the user name and password enter by the user
using
String sUsername=request.getParameter("name of the textfield");
String sPassword=request.getParameter("name of the textfield");
after executeQuery() statement
int exist=0;
while(rs.next())
String sUserId= rs.getString("username");
String sPass_wd= rs.getString("password");
if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
exist=1;
if(exist==1)
out.println("user exist");
else
out.println("not exist"); -
How to open mapquest from a jsp page with address loaded in struts?
Can someone plz tell me about how to open mapquest from a jsp with address preloaded (i.e taken from jsp fields)? I am using struts.
http://maps.google.com/maps?q=
add the query to the end of it. Makes simple. -
How to create database from .sql file
how to create database from .sql file..?? i put the sintax query in a sql file.. and i want to call it in java code..
ho to do it..??why do you want to do this from java?
i just don't see the point.
find your dba and have him/her run it for you -
How to select data from Sql server 2005 database tableinto oracle database table
Hi,
I have table text1 in sql server database and text2 in oracle database (11g). Now how to move data from SQL Server table into oracle table. So please help me how to do it.
Thanks a lot in advance.
rk
OS: Windows 7 professionalHi,
you can use export/import wizard and specify sql server as a source and oracle as destination.
I hope this is helpful.
Please Mark it as Answered if it answered your question
OR mark it as Helpful if it help you to solve your problem
Elmozamil Elamir Hamid
MCSE Data Platform
MCITP: SQL Server 2008 Administration/Development
MCSA SQL Server 2012
MCTS: SQL Server Administration/Development
MyBlog -
How to run notepad from a web application
hi
can any body know,how to run notepad from a web application under tomcatYou already asked this question:
http://forum.java.sun.com/thread.jspa?threadID=5150005&messageID=9561597
Obviously running notepad on the clients PC is not possible (ignoring active x) -
HT1694 How to open attachments from email
How to open attachments from email
Just tap on the attachment and it should open. It must be a file format that the iPad can read or it will not work. Your iPad should be able to open any of these file types in the mail app.
Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel) -
How to make ed command from sql prompt work in Solaris 10
Hi,
I recently installed Oracle 10g R1 on Solaris 10. When I tried to edit SQL statement by typine ed from SQL>, it does not give me the copy of my SQL statement for editing, instead it gives a blank space for typing. When I press return, a ? appears.
Can anyone help me to make this ed command work?
Thanks
XiaomingAt OS level, before entering Sql*Plus, do :
$ EDITOR=vi; export EDITOR
$ sqlplus ......
Message was edited by:
Paul M.
Ciao Nicolas :-) -
How to Get Input from Command Prompt?
How can i get input from command prompt like
C:\
or linux ?
(Here's what I use now)
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line;
Whlie((line=in.readLine())!= null)
{ System.out.prinln( line) ; }
IS THERE A BETTER WAY?The main method within a java class accepts command line input through a String array.
In this example args is the String array. You can access the parameters as args[0] for the first parameter, args[1] for the second parameter, etc....
The usage for the example below would be :
c:\EDIFormat file1 file2
Where args[0] would equal file1 and args[1] would equal file2.
public class EDIFormat {
public static void main(String[] args) {
if (args.length < 0) {
System.out.println("No Parameters supplied. Exiting....");
// open input and output files
EDIFiles(args[0], args[1]);
Hope that helps! -
Calling a function from SQL prompt that returns a record
Hi,
I've been trying to execute a function that is present on a different database. for eg. I am loged on to a database say 'A' and trying to execute a function present in database 'B'. this function is present in a package 'X' which has 2 functions and two procedures. From the packages i am able to execute the two procedures and one of the function.
So i guess it is not a problem with the access permissions. The function that i am trying to call say function I has got 3 OUT
parameters and 1 IN parameter. the Function returns a record. When i try to execute this function i get an error. Can you please let me know as to how exactly i need to call this function from the SQL prompt...
thanx in advance
nullHi Anand,
As your function has 3 OUT parameters and it returns a record you can not just call it from SQL Plus. You need to write small PL/SQL program and use variables to hold the OUT values and the returned record.
Good Luck,
RajKiran
null -
How to open links from document library in a new window?
I have a column called "Links" in document library, i want to open those links in a new window. Please guide me on this how to achieve this.
Thanks
Ramanjulu Naidu Nhi,
See whether these links help you -
http://preachingsharepoint.blogspot.com/2012/06/open-document-in-new-window-from.html
http://stackoverflow.com/questions/5119919/sharepoint-links-how-to-open-in-new-tab-window
http://www.benramey.com/2011/04/25/opening-all-sharepoint-2010-documents-in-a-new-window/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
http://www.andrewconnell.com/Adding-OpenInNewWindow-option-to-SharePoint-Links-lists
http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/
Hope this helps!
MCITP: SharePoint 2010 Administrator
MCTS - MOSS 2007 Configuring, .NET 2.0
| SharePoint Architect | Evangelist |
http://www.sharepointdeveloper.in/
http://ramakrishnaraja.blogspot.com/
Maybe you are looking for
-
How do I alter the bytes of a Class file to add calls to the methods?
If i had the bytes of a class file, and I wanted to alter the bytes that constitute each method for the class so that it included a call to the security manager, how would i do it? 1. How would I know which bytes were the opening of a method? 2. how
-
I m new to servlets. I just copied a servlet code from servlet Help.Then tried to compile with it JDK1.3.But it showing error.It is not compiling package Javax .What may be the possible error.
-
Can i use 6025E card on Dos using Turbo C?
I need to include 6025E card with running program based on turbo C.(Most of the code reletaed to interrupt coming from 4 ports).Can i use NI-DAQ with turbo C"?
-
MSI X99S MPOWER won't boot (Debug 00) after installing Transcend 256 M.2 SSD
Hey all, as the subject suggests I bought a new MSI X99S Mpower mobo. I put together a new system with it without any problems using my old SSD. I received a new M.2 SSD (Transcend 256 GB) once I installed it the system would no longer boot. I remove
-
Why do threaded applications speed vary at runtime?
I have 1 thread for a breakout game that i have created besides the main of that class that starts the thread. When I run the game, it sometimes seems to run slower or faster than other times. Why is this?