Accept command activation

Hi,
i don't manage to activate the sqlplus command ACCEPT and i don't manage to open to sql script which contains this code.
Can you help me on this point
Thanks a lot.
Nathalie
Here is my code
SET SERVEROUTPUT ON
SET ECHO OFF
SET VERIFY OFF
ACCEPT p_empno PROMPT ' Entrez le numéro d'employe :'
ACCEPT p_emp_name PROMPT ' Entrez le nom d'employe :'
ACCEPT p_emp_job PROMPT ' Entrez la fonction de l'employe :'
ACCEPT p_emp_hdate PROMPT ' Entrez le numéro d'employe :'
ACCEPT p_emp_sal PROMPT ' Entrez le salaire de l'employe :'
ACCEPT p_emp_deptno PROMPT ' Entrez le numéro de departement :'
BEGIN
insert into emp( empno, ename, job, hiredate, sal, deptno) VALUES (&p_empno, &p_emp_name,
&p_emp_job, &p_emp_hdate, &p_emp_sal, &p_emp_deptno);
COMMIT;
END;

try
... VALUES ('&p_empno', '&p_emp_name', ...p_emp_hdate seems to be DATE? make sure you're using the correct format mask, e.g.
... TO_DATE('&p_emp_hdate', 'MM/DD/YYYY') ...

Similar Messages

  • Hello. I would like to activate my CS3 Educational Program (version 2007) on my new computer. Unfortunatly he is not accepting my serial number. What can I do? I have delated the program on my old computer but it doesn't accept the activation on the new l

    Hello. I would like to activate my CS3 Educational Program (version 2007) on my new computer. Unfortunatly he is not accepting my serial number. What can I do? I have delated the program on my old computer but it doesn't accept the activation on the new laptop.

    Make sure you are using the  correct serial number.  Find your serial number quickly
    If you did not deactivate the original installation then it is possible your two allowed activations have been used and you need to reset your activation count.  To do that you need to contact Adobe Support thru chat and ask them to reset your activations.  If you ask for more than that they will tell you they cannot offer you any support.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • FM BBP_PD_SC_STATUS_CHANGE Accept Changes activity not allowed

    Hello all
    I am investigating the possibility to create a program which will Accept Changes on all rejected Shopping Carts in mass.
    I tried to run FM BBP_PD_SC_STATUS_CHANGE but it gives me error message activity not allowed.
    Table TJ05 holds permitted activities for  Shopping Cart,
    How is it possible to customize the table TJ05???
    Accept Changes activity is done usually by SC Requestor after it was rejected by approver.
    Does have anybody a hint on this topic?
    Thank you
    Imrich

    Hi,
    I also have same requirement. Can you help me how you have managed with this?
    Thanks,
    Vishnu

  • DEFAULT option of ACCEPT command doesn't work

    Hello,
    I'm using the ACCEPT command to prompt for input for substitution variables. The ACCEPT command has a DEFAULT option that lets you specify a default value so the user doesn't have to enter one every time. Here's the syntax of the ACCEPT command:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12005.htm#sthref1778
    ACC[EPT] variable [NUM[BER] | CHAR | DATE | BINARY_FLOAT | BINARY_DOUBLE] [FOR[MAT] format] [DEF[AULT] default] [PROMPT text|NOPR[OMPT]] [HIDE]
    According to the SQL Developer User's Guide, the ACCEPT command is supported.
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12152/intro.htm#CHDJBBIH
    However, I can't get the DEFAULT option to work. Here's my SQL code:
    ACCEPT tmp_var1 CHAR DEFAULT 'ABC' PROMPT 'Give me a value'
    DEFINE tmp_var1
    ACCEPT tmp_var2 CHAR DEFAULT "ABC" PROMPT 'Give me a value'
    DEFINE tmp_var2
    ACCEPT tmp_var3 CHAR DEFAULT ABC PROMPT 'Give me a value'
    DEFINE tmp_var3
    ACCEPT tmp_var4 NUMBER DEFAULT 123 PROMPT 'Give me a value'
    DEFINE tmp_var4
    ACCEPT tmp_var5 NUMBER DEFAULT '123' PROMPT 'Give me a value'
    DEFINE tmp_var5
    ACCEPT tmp_var6 NUMBER DEFAULT "123" PROMPT 'Give me a value'
    DEFINE tmp_var6
    I've tried this using F5 to run it and I've also used the "Run Script" toolbar button. If I enter values in the "Enter Value" window, they are displayed properly. If I don't enter values, the default values I've specified are never used. Here's the output when I enter values in each dialog window that appears:
    DEFINE TMP_VAR1 = "a"
    DEFINE TMP_VAR2 = "b"
    DEFINE TMP_VAR3 = "c"
    DEFINE TMP_VAR4 = "1"
    DEFINE TMP_VAR5 = "2"
    DEFINE TMP_VAR6 = "3"
    Here's the output when I enter nothing in each dialog and click "OK" each time:
    DEFINE TMP_VAR1 = ""
    DEFINE TMP_VAR2 = ""
    DEFINE TMP_VAR3 = ""
    DEFINE TMP_VAR4 = ""
    DEFINE TMP_VAR5 = ""
    DEFINE TMP_VAR6 = ""
    I get the same output if I click "Cancel" instead, or if I click the 'X' to close the dialog, or if I hit ESC to close the dialog. No matter what I do, I can't force the default values to be used.
    I had this issue in SQL Developer 1.2 so I downloaded SQL Developer 1.5.1 today and I still have the same problem. Here's the info from the "About" screen:
    Java - 1.5.0_06
    SQL Developer - 1.5.1.54.40
    My database is Oracle 10.2.0.2.0.
    Thank you for any help you can offer,
    Brian

    Brian,
    Thank you for the bug report.
    Bug no 7251045 OTNFORUMS: ACCEPT DEFAULT OPTION DOES NOT WORK IN WORKSHEET
    logged
    -Turloch

  • Using accept command within PL/SQL block

    Hi all i have a following Pl/SQL block which ia =as follows :-
    declare
    begin
    ...certain statements using while
    end;
    i need to take the user input using accept
    if i put the accept stmt betweeen begin and end i am getting following error :-
    accept myv number default 10 prompt 'Enter a number: '
    ERROR at line 48:
    ORA-06550: line 48, column 8:
    PLS-00103: Encountered the symbol "MYV" when expecting one of the following:
    := . ( @ % ;
    ORA-06550: line 48, column 30:
    PLS-00103: Encountered the symbol "PROMPT" when expecting one of the following:
    * & = - + ; < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like
    between || multiset member SUBMULTISET_
    Let me know how can i include accept stmt in Pl/SQL block
    Thanks

    You're missing a fundamental concept here.
    PL/SQL = embedded 4GL programming language in the Oracle database.
    SQL*Plus = CLI (Command Line Interface) client for an Oracle database.
    The ACCEPT command is a SQL*Plus command. Not a PL/SQL command.
    The PL/SQL engine sits inside the Oracle Server Process that services your client (SQL*Plus) session. That server process does not know who/what/where you are as a physical client. It does not know what platform and o/s you are using. It does not know what client you are using. It is after all a server process and should not and need not to know that.
    Nor can that Oracle Server Process running on the Data Server Platform access you client's hard drive, keyboard, mouse, screen, printer and so on.
    PL/SQL running in this Oracle Server Process therefore cannot read your keyboard to accept end-user input. PL/SQL therefore cannot write data to your screen.
    You need to make a clear distinction between SQL*Plus (a client) and Oracle PL/SQL (the server).

  • Single user mode doesn't accept commands

    Due to some kernel panics with an old G5 iMac, I wanted to run the memtest utility. After an initial test in a Terminal, I wanted to try again in single user mode, just to be sure.
    Had no problem at all starting up (Cmd+S), didn't get any error messages in the boot messages. The ":/ root" prompt appears and I can enter commands. Yet no matter what I enter, I immediately get returned to the shell prompt. Command line editing works (emacs commands, clear screen etc.). Due to the lack of delay (even when e.g. entering "sleep 10"), I don't suspect it's just the output of the shell command that gets lost, it's not accepting anything at all, prompt doesn't reflect "cd" changes, nothing…
    New install of Leopard, all updates applied, permissions repaired.

    I can't picture what is doing this other than something missing or muxed, but perhaps it's time for a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • Accepting Command Line args

    I am new to java and am trying to accept a integer from the command line and am completely stumped? How to a Output a Request for the number and then accept the number from the command line. Thanks

    warner: its ok. you will have a better day soon. I have some homework. Can you help me? I post it
    My code does not work
         private void test(int number)
              int half =  number/2;
              int copy =  half * 2;
              if (copy = number) System.out.println("odd");
              else System.out.println("even");
         }No matter what number it is always odd

  • Terminal won't accept command. Keeps "Restoring" previous command

    Hi,
    I am on OSX 10.9.5 and I have a mysterious problem with Terminal restoring old commands after I insert a new command, so I can't get it to accept the new command.
    A greyed out line appears in the Terminal window saying [Restored] as in the attached pic. (I have blurred my ID details in the pic).
    I have also tried to restore it to defaults in Preferences, but it won't do that either. I just get [Restored] again.
    Has anyone got any ideas what is making it do this please?
    Just for background, I had originally entered the command line:
    defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
    and I am trying to change it back by entering the command line:
    defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool true
    But as I say, it won't accept it. It just restores the previous command, and it won't restore defaults either.
    Thanks
    Sarah

    do you have any of the following files?
    .bash_profile
    .bash_login
    .bashrc
    .profile
    If so, then it is possible this message is coming from a shell initialization file.
    Because these files begin with a period, the Finder will not display them so you are going to have to use the Terminal " ls -a " command.
    Terminal -> Shell -> New Command... ->    /bin/ls -l .bash_profile .bash_login .profile .bashrc
    These files DO NOT exist by default, so you may see things like
    -ls: .bash_login: No such file or directory
    -ls: .profile: No such file or directory
    That is perfectly OK.
    But if you see:
    -rw-r--r--  1 me  staff  32776 Feb  6 14:10 .bash_profile
    -rw-r--r--  1 me  staff  63633 Feb  4 15:04 .bashrc
    Then you have one of the files, and it is possible that the contents of that shell initialization script are affecting the behavior inside the Terminal.

  • System is not accepting commands from autoit

    Hi,
    I've developed an application in autoit. It is for opening an application and sending some key stroke automatically and reading the title of the new windows that comes after sending keystroke. It worked well in windows xp as well as some windows 7 system.
    But in a particular system (the system that it requires) is not working. I am able to open my applicaiton. but sending keystroke is not working. if i send that keystroke manually (keystrokes:alt+m+s, for selecting a tab starts with s located inside
    another tab starts with m) i will be able to read the title through script. 
    ie. i can do read kind of operations to that application through script but execute kind of application is not accepting.
    Worst part is notepad, calculator kind of inbuilt application in this same system is responding to all the keystrokes.
    Only the application installed by us is failing.
    Any suggestions would be a great help for me.
    thanks in advance

    Utilities that send keystrokes to applications are notorious for being unreliable. It's not the utilities' fault but due to the multi-tasking nature of Windows. You can never be sure which process receives the utility's keystrokes. It could be notepad, or
    calc, or simply the desktop where the keystrokes will be ignored.
    To create a robust and dependable automation process you must use different tools. With MS Office applications you could use macros, VBScript or Powershell. They all interact directly with the application rather than sending keystrokes that may or may not
    find the expected target.

  • No screen sharing, but can accept commands...

    mirror door G4 running 10.4.11 with ARD 3.2.2
    cannot observe or control, but can send commands fine. I've switched out cards, changed adapters, reinstalled ARD... Nothing seems to change my inability to connect to the machine. This is on a local network, nothing is behind a firewall or router. All other machines work fine.
    Any thoughts?

    jeez... I feel silly, I should've tried that. Everything is working now. There's no real reason to have it activate behind our main firewall so I'll just leave it off. Thanks for the help - sometimes you need someone else to see the most obvious things for you

  • Step input key commands active all the time - really annoying

    In Logic X, I'm experiencing a problem where the step input key commands are overriding the global key commands, even when the step input window is not open.
    For example, when I'm looking at the main Logic window, with the step input window closed:
    -I press the space bar, and the playhead advances one division value
    -I press the T to change the tool, and it creates a region and puts a tiny F# there (!!)
    -I press Y to open/close the library, and it creates a region and puts a G# there.
    The only way around it right now is to edit my key commands and delete all step input commands that are getting in the way of the more universal ones.
    Has anyone else encountered this?

    Yes, I am. 
    Actually, I haven't even really been using the step window.  The problem seemed to start out of nowhere, and I noticed by looking through the "Edit key commands" window (opt-K), that what Logic was doing was using all the step input key commands instead of the global commands.
    The Art Of Sound wrote:
    Just to double check.. You are clicking on the Arrange window to bring the focus to that window yes. after you closed the step window?

  • Hi, I can't get Firefox to work with "ScreenPrint Platinum". It has worked for a year and longer. However, now it does not accept commands via "prtScn" key .

    I'm currently using version 5.4.0.4 of ScreenPrint Platinum and it works fine with Safari and Goggle Chrome, but I prefer Firefox. Has a change been made with later versions of Firefox. I'm using version 18.0.2 and would appreciate your feedback. Thanks, Richard

    Do you know whether ScreenPrint installs an add-on into Firefox? If so, it's possible that during an update it became disabled. You could check that theory here:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions category
    Note that disabled extensions are "grayed out" and listed at the bottom after all the enabled extensions.
    As far as I know, Firefox does not intercept the PrtScn key for its own purposes, but it's possible that another add-on is doing that. Or if you have interacted with a Flash player in the current page, the player may be intercepting it.
    If you need a Firefox-specific workaround, you can try this extension: [https://addons.mozilla.org/en-us/firefox/addon/fireshot/ Fireshot].

  • I am trying to re-install LR on my computer but it will not accept my activation code.

    It keeps giving me a red X next to the boxes, but I know I have typed it in right and it's the correct code.

    If you are actually using the serial number that was e-mailed to you after you verified your qualification as a student, and if that serial number is not working, then you will probably have to contact customer support. I was concerned that perhaps you were entering the number on the package. But it sounds like you are not doing that.

  • Same pc, replacement motherboard installed, won't accept activation

    Hi all,
    I have adobe installed on my main desktop and a laptop. The desktop recently went for repair and came back with a replacement motherboard (exactly same make/model etc) but now adobe won't accept the activation. I had assumed that after roughly 2 weeks the 'old' activation would stop, like when a hard drive dies. This doesn't appear to be the case however. So I'm left with the same pc but Adobe thinking I have 3 different installations. What to do? Many thanks

    Activations cannot just "stop", because the server handling them doesn't know anything about your dead system. Call support by phone and they'll sort it out.
    Mylenium

  • ACTIVITY MONITOR WONT OPEN! PLEASE HELP

    How come everytime I open ACTIVITY MONITOR i just get the color wheel and it never opens?

    Date/Time:       2012-02-10 18:00:55 -0500
    OS Version:      10.6.8 (Build 10K549)
    Architecture:    x86_64
    Report Version:  7
    Command:         Activity Monitor
    Path:            /Users/katie/Desktop/Activity Monitor.app/Contents/MacOS/Activity Monitor
    Version:         10.6 (212)
    Build Version:   551
    Project Name:    ActivityMonitor
    Source Version:  2120000
    Parent:          launchd [99]
    PID:             151
    Event:           hang
    Duration:        6.68s (sampling started after 2 seconds)
    Steps:           27 (100ms sampling interval)
    Pageins:         21
    Pageouts:        0
    Process:         Activity Monitor [151]
    Path:            /Users/katie/Desktop/Activity Monitor.app/Contents/MacOS/Activity Monitor
    UID:             502
      Thread 47c        DispatchQueue 1
      User stack:
        27 ??? (in Activity Monitor + 6996) [0x100001b54]
          27 NSApplicationMain + 364 (in AppKit) [0x7fff811c23b0]
            27 -[NSApplication run] + 395 (in AppKit) [0x7fff811c968f]
              27 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155 (in AppKit) [0x7fff81203801]
                27 _DPSNextEvent + 1191 (in AppKit) [0x7fff81204095]
                  27 AEProcessAppleEvent + 48 (in HIToolbox) [0x7fff877f0619]
                    27 aeProcessAppleEvent + 210 (in AE) [0x7fff821dc12b]
                      27 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32 (in AE) [0x7fff821dc224]
                        27 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162 (in AE) [0x7fff821dc32b]
                          27 _NSAppleEventManagerGenericHandler + 114 (in Foundation) [0x7fff85133f06]
                            27 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360 (in Foundation) [0x7fff851340d6]
                              27 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77 (in AppKit) [0x7fff812fefd9]
                                27 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 219 (in AppKit) [0x7fff812ff35d]
                                  27 -[NSApplication _sendFinishLaunchingNotification] + 66 (in AppKit) [0x7fff8123437f]
                                    27 -[NSApplication _postDidFinishNotification] + 100 (in AppKit) [0x7fff8123444a]
                                      27 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101 (in Foundation) [0x7fff850fca36]
                                        27 _CFXNotificationPostNotification + 200 (in CoreFoundation) [0x7fff874da548]
                                          27 __CFXNotificationPost + 1008 (in CoreFoundation) [0x7fff874edfd0]
                                            27 _nsnote_callback + 167 (in Foundation) [0x7fff85105ad5]
                                              27 ??? (in Activity Monitor + 38377) [0x1000095e9]
                                                27 ??? (in Activity Monitor + 39148) [0x1000098ec]
                                                  27 ??? (in Activity Monitor + 39892) [0x100009bd4]
                                                    27 ??? (in Activity Monitor + 41655) [0x10000a2b7]
                                                      27 read + 10 (in libSystem.B.dylib) [0x7fff80aba466]
      Kernel stack:
        27 lo64_unix_scall + 77 [0x2a251d]
          27 unix_syscall64 + 617 [0x4f82fb]
            27 read_nocancel + 158 [0x49fd75]
              27 write + 312 [0x49f5f9]
                27 pipeinit + 2205 [0x4a154f]
                  27 soreceive + 1134 [0x4b959f]
                    27 sbwait + 150 [0x4bb742]
                      27 msleep + 157 [0x49149d]
                        27 wakeup + 334 [0x490daa]
                          27 lck_mtx_sleep + 87 [0x221d42]
                            27 thread_block + 33 [0x227654]
                              27 thread_block_reason + 331 [0x2275c6]
                                27 thread_dispatch + 1966 [0x227327]
                                  27 machine_switch_context + 659 [0x2a9adb]
      Thread 485        DispatchQueue 2
      User stack:
        27 start_wqthread + 13 (in libSystem.B.dylib) [0x7fff80ac9aa5]
          27 _pthread_wqthread + 353 (in libSystem.B.dylib) [0x7fff80ac9c08]
            27 _dispatch_worker_thread2 + 252 (in libSystem.B.dylib) [0x7fff80aca2de]
              27 _dispatch_queue_invoke + 185 (in libSystem.B.dylib) [0x7fff80aca7b4]
                27 kevent + 10 (in libSystem.B.dylib) [0x7fff80ac8c0a]
      Kernel stack:
        27 kevent + 97 [0x47a699]
      Binary Images:
             0x100000000 -        0x10002dff7  com.apple.ActivityMonitor 10.6 (212) <1A887794-51A5-8C1B-D06A-FB0E7B5E6B93> /Users/katie/Desktop/Activity Monitor.app/Contents/MacOS/Activity Monitor
          0x7fff80aaf000 -     0x7fff80c70fef  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
          0x7fff811c0000 -     0x7fff81bbaff7  com.apple.AppKit 6.6.8 (1038.36) <4CFBE04C-8FB3-B0EA-8DDB-7E7D10E9D251> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
          0x7fff821d9000 -     0x7fff82214fff  com.apple.AE 496.5 (496.5) <208DF391-4DE6-81ED-C697-14A2930D1BC6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
          0x7fff850f5000 -     0x7fff85377fff  com.apple.Foundation 6.6.8 (751.63) <E10E4DB4-9D5E-54A8-3FB6-2A82426066E4> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
          0x7fff87495000 -     0x7fff8760cfe7  com.apple.CoreFoundation 6.6.6 (550.44) <BB4E5158-E47A-39D3-2561-96CB49FA82D4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
          0x7fff877bc000 -     0x7fff87abafff  com.apple.HIToolbox 1.6.5 (???) <AD1C18F6-51CB-7E39-35DD-F16B1EB978A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIT

Maybe you are looking for

  • How can I check for a Virus?

    Hello, I tried to use my internet banking the other day on my MacBook Pro but for some reason my password wasn't working. I phoned my bank and they informed me that it had been blocked due to a security threat they'd picked up. They suspect there is

  • Parsing a string in Oracle Reports Developer

    What this will be used for is just to have a web page allow input of the name and PID so that a simple printout of those items will show up on the .rdf. I have a string named "Remote_Host" stored in a txt file: https://my.portal.shands.ufl.edu/portal

  • Error in Jheadstart migrated form

    I have migrated one of my existing forms from designer. I got some error in ResourceBundle files.. The error was that the migration had generated an extra .(dot) before the class name of the Resource bundle. After removing that error, Now I have an a

  • PDF forms have problems displaying text and only appears when the field is selected

    Hello, I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text

  • Flash: Making a Transparent Background

    Don't ever tell me that its the window mode set to transparent in the html setting in publish settings and don't tell me I need to change the html code of the published product in dreamweaver because I don't have dreamweaver. How is one to make an sw