How to have a prompt for all variables in the startup script?

I was given a script to run that repeated a couple of specific column values many times in queries in the script. I noticed the ability to set variables in scripts, then in the copy of my script, I changed the value repeated a reference variable (starting with '&') and then I executed the script. What I discovered is that the execution of the script appears to present the prompt for the value of the variable EVERY TIME the done variable references, instead of only once at the beginning of the script. What can be possibly right? Is it possible to have this script the only guest (or two, perhaps, for two variables) at the beginning of the script and just have it use this value in the many places in the script need?

Yeeees well. In the above example would be: Cancel the definition of entry
BUT, assuming you're sqldev (not), and that you run as a script (F5), you don't need to the above calls, and you will be prompted for the value of each race.
If you run instructions in sqldev (F9), usually, it makes more sense to use bind variables (*: * instead of * & *).

Have fun
K.

Tags: Database

Similar Questions

  • Is it possible to have full control for all users in the directory/files/registry?

    Can I have a lot of control (read, write, change) my specific file / registry for all users, you have any program or script for this reason?

    as 'cacls '. Because I can't use cacls.

    is it wrong?

    C:\>Cacls "program * Files\NETAS" / c/r users: «F»»»

    Displays or modifies access control (ACL) of the files lists

    CACLS filename [/ t] [/ e] [/ c] [/G user: permission] [/R user [...]]
    [/P user: permission [...]] [/D user [...]]
    the ACL file name.
    / T changes ACLs of files specified in
    the current directory and all its subdirectories.
    /E Edit ACL instead of replace it.
    /C continue on access denied errors.
    /G user: permission Grant specified user access rights.
    Perm can be: R read
    W write
    C change (write)
    F full control
    ...

    Perhaps you could elaborate a little bit on "this command is not running"...  What happens when you try?

    I'm not knowledgeable about Windows 7, but Windows XP, I found the registry permissions must be put in a file.  So in your example, you can create a file named "z.txt", and in this file, you put the line:
    [1 5 7 17] \registry\Machine\Software
    Then call you the command line:
    Regini z.txt

    HTH,
    JW

  • Error "have sufficient privileges to complete this installation for all users of the machine. "log on as an administrator and try again the installation" when you try to install iTunes

    Original title:

    I just installed windows7, I had to uninstall itunes in order to complete the instalation of windows7. everything went well until I tried to reinstall itunes.

    During this process, I get the message "you don't have sufficient privileges to complete this installation for all users of the machine. log on as an administrator and try this installation again. ». but I am logged on as administrator.

    Hello

    To resolve this problem, use the following methods. After completing the steps in each method, check to see if the issue is resolved before you go to the next method. If the problem is resolved by any method, you do not have to use other methods.

    Method 1:

    Right click on the installer for iTunes and click Run as administrator.

    Method 2:

    Disable user account control settings and check.

    Enable or disable the User Account Control

    Note: User Account Control (UAC) can help prevent your computer from unauthorized changes. UAC notifies you when changes will be made to your computer that require administrator-level permissions. Disabling it can make your compromised computer. Please make sure that enable you UAC, once you have completed troubleshooting.

    Method 3:

    Allow the default Administrator and try to install it in this user account.

    a.Click on Start, click principally made programs, Accessories, right-click on command prompt and select run as administrator.

    b.Type in the following command and press ENTER.

    NET user administrator / active: yes

    c.Log disable the current user account and log in to the user called Administrator account.

    d.Install iTunes in this default Administrator account.

    e.Once of that installation is complete, the default administrator is disconnected.

    f. log in to your user account.

    g.Disable the default Administrator account. Follow these steps.

    i.Click on Start, click principally made programs, Accessories, right-click on command prompt and select run as administrator.

    II. type the following command and press ENTER.

    NET user administrator / active: No.

  • I was getting a new hard drive to my HP laptop. Since I have a key for Windows Vista from the purchase of the laptop, how can I get the disk to re install the operating system?

    I was getting a new hard drive to my HP laptop. Since I have a key for Windows Vista from the purchase of the laptop, how can I get the disk to re install the operating system?

    original title: reinstall Windows Vista

    I was getting a new hard drive to my HP laptop.  Since I have a key for windows vista from the purchase of the laptop, how can I get the disk to re install the operating system?

    Contact HP (if they had not initially you provided with support or the media manufacturing process or you have lost the media and/or you don't want EU to some tools to clone the old drive to the new or can not do...) for a copy of the media restore/recovery of your system.

    http://www.ZDNet.com/blog/Bott/lost-your-Windows-discs-how-to-get-replacement-media-legally/4320?PG=3

  • How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Hello

    How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Thank you

    Jay.

    Select the connection and right-click on it and select schema statistics collection

  • I would like to know this pack of mud that I have to buy for all programs?

    Hi all

    I have a company with two workers and I would like to know this pack of mud that I have to buy for all programs?

    They also know that if we are two workers, I have two licenses or with me OK?

    Hello

    Please see the links below for help:

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    Manage your cloud of Adobe Creative for the composition of teams

    Hope this helps!

  • How to change the password for all users in the database

    Hi buddies!

    Could someone tell me how to change the password for all users in the database? I want to set the same password for all users.

    Thank you.

    Nith

    Published by: user645399 on March 1, 2011 14:23

    Write the file spooling
    as

    Make sure that all profiles has password_verify_function with a NULL value

    then

    Select 'edit user' | username: ' identified by ;' from dba_users;

    you will get the output... you just run.

  • How to add legend for all images in the indesign document using indesign javscript

    I want to add the legend for all images in the indesign document...

    It's my code... im being of error like:

    invalid parameter.

    capset(2) ();

    function capset()

    {

    var doc = app.activeDocument;

    var myPicture = doc.allGraphics;

    var f, i, myCaption;

    While (PIC = myPicture.pop ())

    {

    f = pic.geometricBounds;

    Add a frame to the parent of the image, which is a Page

    myCaption = pic.parent.textFrames.add ();

    define the position and size of the legend

    myCaption.geometricBounds = [[2], [1], [2] Go + 3 GB [3]];

    Add the contents of the placeholder

    myCaption.contents = "Caption";

    PIC.parent.groups.Add ([pic, myCaption]);

    }

    }

    Hello

    Runing a code with your doc that you note possible occurrences (groups, the elements anchored, locked, etc items)

    This presupposes to exclude grouped and docked:

    capset ();
    
    function capset()
    {
    var
      mDoc = app.activeDocument,
      // anchored or grouped items excluded
      myGraphics = mDoc.splineItems.everyItem().getElements(),
      picContainer, gb, myCaption;
    while(picContainer = myGraphics.pop() )
    {
      // exclude empty frames
      if (!picContainer.graphics.length) continue;
      gb= picContainer.geometricBounds;
      // add a frame to to picture's parent, which is a Page
      myCaption = picContainer.parent.textFrames.add ();
      // set position and size of the caption
      myCaption.geometricBounds = [gb[2], gb[1], gb[2]+3, gb[3]];
      // add placeholder contents
      myCaption.contents = "Caption";
      mDoc.groups.add ([picContainer, myCaption]);
      }
    }
    

    Jarek

  • Menus... I need to know how to set colors, etc. for all menu items

    When I add a new page, it has the widget original colors etc.   must manually change EACH.  What a PAIN. What is the magic combination of mouse clicks and chance selects all THE menu items and submenus at the SAME TIME. 

    I did click to down/zoom before thing.  Am but so far failed to put for ALL States and the elements of the FUTURE.

    Paul

    Holy Moly.

  • When I use the library function node call in real time, is loaded only once for all or load the DLL whenever it is called?

    When I use the library function node call in real time, is loaded only once for all or load the DLL every time when it is called?

    I have a critical application in real time, in which I use a piece of DLL function developed in C++.  It is ok?  Make sure any senior developer?

    Thank you in advance.

    The user interface thread is the thread that is used to update the user interface. It's slow. And it's supposed to be that way because humans are slow.

    The call library function node can be configured as this thread to use in the configuration for it dialog box. Please visit the LabVIEW documentation on how to do this.

  • The administrator password for all computers on the network does not work for ONE of the computers on the network

    original title: the computers of network/administrator password

    The administrator password for all computers on the network does not work for ONE of the computers on the network. I need to log on as an administrator to install software, but the password does not work. It works on other computers, but not this one. How is this possible and how can it be solved?

    Hello
    Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the below sticky

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cd

  • I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!

    I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!

    Thank you more:
    Steve Vidacs /Hungary

    On Monday, November 5, 2012 20:14:15 + 0000, istvanvidacs wrote:

    I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!

    You must have installed a Windows 7 64-bit driver (if it exists)
    for this. Do you have? Otherwise, navigate to the web site of the camera
    manufacturer, search, download and install it.

    Ken Blake, Microsoft MVP

  • How I have high-end clip .mov but without the effects of stairs?

    How I have high-end clip .mov but without the effects of stairs? The clip is in a unique sequence film, set at 1920x1080p60. Is there a tutorial? I have had no luck searching for the answer. Thanks for any help.


    Type: QuickTime Movie

    File size: 25.4 MB

    Image size: 320 x 240

    Frame rate: 15.00

    Audio Format: 7867 Hz - 8-bit - Mono

    Project Audio Format: 8000 Hz - 32 bit floating point - Mono

    Total duration: 00 01; 22; 03

    Average: 316 KB/second

    Pixel format: 1.0

    Details of QuickTime:

    Film contains 1 video tracks, tracks audio 1 and timecode 0 track (s).

    Video:

    There are 1232 executives for a period of 1/15th.

    Video track 1:

    The duration is 0, 01; 22; 06

    Average Cadence is 15,01 fps

    The video track 1 contains 1 or more video data types:

    Video data block #1:

    Image size = 320 x 240

    Compressor = Photo - JPEG

    Quality = Normal (3.00)

    Audio:

    Audio track 1 contains 1 or audio data types:

    Block of audio data #1:

    Format = 8-bit - Mono

    Rate = 7867 Hz

    Compressor = None

    Premiere Pro CS5.5.2, Master Collection, S & T - Ed.

    HP i7-970 3.2 GHz, 1.5 GB GTX580, 16 GB DDR3 1066 MHz.

    I hate to be the bearer of bad news, but there is really no way to do what you want to do.

    Here's why.

    You currently have 320 pixels and you want to show the 1920 pixels. This means that the software must do six pixels of a pixel that you provide. He basically has to duplicate them. He can do a little better with a mix, possibly using the current engine CC in Photoshop to do the job instead of Premiere Pro.

    Then, he must take 240 in 1080 and it's 4.5 pixels for everyone that provide you.

    Then you ask to play each image four times from 15 to 60.

    No offense, but you're asking to turn an ear of pigs in a silk purse.

  • count (*) query for all tables in the user_tables

    How can I show count (*) for all the tables in the user_tables?

    Thanks in advance!
    Oracle 11g

    Published by: user598242 on October 7, 2010 09:19

    If you need the number of lines, you can create a script with:

    select 'select '''||table_name||''', count(*) from '||table_name||';' from user_tables;
    

    Use the output from this command as a script.

    Published by: hm on 07.10.2010 09:25

    Sorry: I corrected the order.

  • Can I programmatically change the default property to create for all elements of the front panel?

    Can I programmatically change the default property to create for all elements of the front panel?

    I need to make the logout button, when click on, takes care of all the default values of my fron Panel.

    There is no way to programmatically call the functionality of an editor 'Use default' or 'Load Default'. To do it yourself, you will need to write your default values for each control explicitly in the diagram, when the user press the logout button.

Maybe you are looking for