How to change default editor of oracle 9i?

I am using Oracle 9i ,when i type ed ,notepad gets open ,i want to use Microsoft Word instead of notepad as an editor,Is it possible?

Answers


I would not advise using MS Word as a text editor, as it adds a lot of proprietary formatting junk that SQL Plus will not understand. However, you can specify any editor you like in SQL Plus using this command:

define _editor = "<path to editor>"

For example, I use TextPad:

define _editor = "C:\Program Files\TextPad 5\TextPad.exe"

For Word I would have to write:

define _editor = "C:\Program Files\Microsoft Office\Office\Winword.exe"

You can put this in a login.sql file on the default folder so that it runs automatically whenever you start SQL Plus


Need Your Help

The YUI maze: How do I get my CSS minified?

css documentation yui minify

What steps should I follow to be able to minify CSS from the command line (Windows or Solaris)?

Hibernate ManyToOne list only 1 relational entity

hibernate annotations many-to-one

I'm using hibernate 3.6.10 and I'm facing this situation.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.