Question

SET DEFINE OFF

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. How to set time
    In my program I have v_date Date; v_minutes NUMBER; ... begin v_date = my_pkg.date_time; v_minutes := TO_NUMBER (TO_CHAR (v_date, 'MI')); ... if v_minutes < 30 then set some different time (the same hours but change the minutes) end if end How do I set the time?
  2. I need to clone the target database to different ho…
    Hello This is the first time and I'd need to clone the target database on solaris to different host. I will apprecate you guys can provide some of the steps to do that. I want to user RMAN Duplicate database command to do this. Thanks Babu
  3. 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 ? th…
  4. learning toad for analysts - quest 12 - reporti…
    Hi EE, In a related post, DanielNorwood explains that TDA tends to be used off the data base and BI tools tends to be used off the metadata. Would a simple way to understand metadata be that: the prod database is: normalized and used in the web bas…
  5. Set up replication
    Do you have any good document for setting up replication in SQL 2005? Thanks!

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

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:

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

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