Question

Asked on 2004-11-10 at 15:32:32ID: 25475882

SET DEFINE OFF

by: crishna1500

Rating8.4Very Good

am modifying several Oracle scripts that do basicly the same thing.  Some have blocks for "SET DEFINE OFF" and "SET DEFINE ON" and others don't.  

What do these commands do?

See below:




rem creating bat file for Default Definitions

@@../Data/ALLSystemDefaults-unix.sql

rem moving ALLSystemDefaults.bat file to the install folder from the upgrade folder

host move ALLSystemDefaults.bat ../install/.

SET DEFINE OFF;

host cd ../install \& ALLSystemDefaults.bat \& pause

SET DEFINE ON;

  1. I need to run a listener on host a to connect to or…
    Hi, I need to run a listener on host a which people can connect to but then i want this listener to connect to a database on host b. I tried this but it seems the listener is trying to connect to a local database and not the one on host b as in the tnsnames on hosta. I get the error that the shared memory relam does not exist - how shoudl this be set up ? t…
  2. Spool host command output
    Is there a way in sqlplus to spool the output of a host command ex. spool ls.txt host ls spool off
  3. Move a DB from 8.1.7 to  afresh 10G install
    I need to move a DB from an 8.1.7 machine to a new 10G system. I'm looking for directions. I can find exp -> imp and I can use the tools in 10G to create a new DB But I need create the table space. users etc... some where before the import? I'm not much of a DB - so the simplier the better - the DB is only about 200MB
  4. How do I set up a second Oracle Listener on Win…
    I have a Windows 2000 server that has Oracle 10.1 installed with a running, functioning listener(listening on port 1521). I later installed Oracle 9.2.0.6(and a DB using dbca) on this machine, along with a listener that listens on port 5000. I can connect to this database using set oracle_sid=test, and then sqlplus sys/pwd. Ho…
  5. Oracle 11g: how to set multiple ORACLE_SIDs?
    Hello Experts, Oracle 11g is heavily dependent on this environmental variable: ORACLE_SID if running multiple dbs, how do I set respective SIDs? do I do: ORACLE_SID ORACLE_SID1 ORACLE_SID2 etc., ? thx experts, regards

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
define off oracle set
Participating Experts
2
Solution Grade
B

Replies

 by: ishando

Posted on 2004-11-10 at 16:47:16ID: 28333431

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by:

Posted on 2004-11-11 at 00:11:44ID: 28333432

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: pratikroy

Posted on 2004-11-11 at 00:23:42ID: 28333433

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert