How to "end" to the function definition in SQL like?

I'm using Oracle 11 g and SQL Plus.

I'm trying to define a function and return to the SQL command prompt, but it is simply not to leave the function definition.

SQL > create function dept_count (dept_name varchar (20))
2 returns whole
3. start
4 declare entire d_count;
5. select count (*) in d_count
6 the instructor
7 where instructor.dept_name = dept_name
8 return d_count;
9 end
10;
11
12
13
14
15
16.
end 17 dept_count;
18;
19
20; <-I expect the SQL > invite here, but it is not.

What should I do? Help, please. Thank you.

Try this please

.
.
.
SQL> end ;
SQL> /

Tags: Database

Similar Questions

  • How do I change the function to send to in Windows 7 to add to an email?

    How can I change the function: send to, when I do a right click on the mouse? I want to add... .for an e-mail.

    If you want to add a document to a new Message already opened (or a reply or forward), then you must use the "Attach a file" or the equivalent in your e-mail client (secret). the function "send to" will only send the file to a NEW e-mail message. AS FAR AS I KNOW.

  • How can I disable the function on my v5 acer inspire?

    OT : How can I disable the function on my v5 acer inspire where when you click on the mouse somehow your whole page disappears? It wasn't like this in one of my computers before windows 8.

    How can I activate noff functionality of mouse that causes your entire page to disappear when you click on it the wrong way .i have an acer v5 inspire.please help. Ive had a lot of computers, but this feature never appeared until the windows 8

    Please help its driving me crazy

    James m

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you are facing problems with your mouse.

    I suggest you to refer to suggestions of Mohammad_Imran replied on 5 April 2013 and check if that helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-TMS/how-to-disable-swipe-gesture-on-touchpad/77c9e8c5-0C5A-4527-a60e-81e8168aec52

    You can also check:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-TMS/how-do-i-change-the-settings-for-my-Windows-8/a0349e35-B090-42fb-A586-feac551a0100

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • How can I recover the functions drag horizontal and vertical to center the portions of the image being developed? [was: Question]

    How can I recover the functions drag horizontal and vertical to center the portions of the image being developed?

    1 - question double deleted

    2 the name of the program you are using then a moderator may move this message to the correct program forum

    This forum Cloud is not on the program problem... help a program would be Photoshop Lighroom or Muse or?

  • How can we allow the notation of a file like flv, rtf and word as we can easily in mp3, jpeg and wmv. ?

    How can we allow the notation of a file like flv, rtf and word as we can easily in mp3, jpeg and wmv. ?

    Hello

    Thank you for contacting Microsoft Community.
    Unfortunately, this feature is not available in Windows. The feature is limited to media files only and that the support for multimedia files is available in Windows (such as jpg, mp3, wmv), without any obligation to a third party software must be installed (as for the flv file).
  • How to re - activate the functions 'Restore previous Session', "Recently closed tabs" and "Recently closed Windows" in the menu of history?

    For some time, four choices in the restore section (tabs of other devices, Previous Session Restore recently closed tabs and recently closed Windows) have been shaded. Keyboard shortcuts do not work, and didn't undo closed tab in the context menu of the tab.

    I found and tried various patches to do this, including:

    • From Firefox in Mode safe without addons.
    • Firefox reset.
    • Change the values of browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo in all: config.
    • Check to see if I have a user.js in profile Firefox. (I don't).
    • Verify that the private browsing is not the default mode. (It is not).
    • Create a profile to see if it had the same problem. (He did.)
    • Running anti-malware analysis. (BitDefender and SpyBot).
    • Temporarily disable my anti-virus and anti-malware.

    Any of these solve my problems.

    Other devices tab is grayed out, but I've never used, and it might have previously grayed out.

    The story works in general. Sites I visit are added to the log.

    Preferences are saved correctly when I change them.

    Any advice on how to solve the problem would be much appreciated, as I am very fond of these features and often served until they stopped working.

    ADDITIVE

    After that looking through the list of preferences of change created by the resolution of the problems, I tried now also reset the following text:

    • browser.places.smartBookmarksVersion
    • browser.newtabpage.storageVersion
    • Browser.cache.Disk.Capacity
    • Browser.cache.Disk.smart_size.first_run
    • Browser.cache.Disk.smart_size.use_old_max
    • Browser.cache.Disk.smart_size_cached_value

    The problem persists.

    I finally managed to understand this. In searching the Web, I found a thread detailing a similar problem on the Mozillazine forum. The problem has been identified as a missing browser.sessionstore.enabled set, so I went looking in Subject: config and couldn't find it. After creating the entry, by assigning the value true and restart Firefox, the functions of recovery/recently started working again. Apparently, some bookmark plugins and session-based can cause this problem, but in my case, it must have been something else, that I never had no such plug-ins installed.

    If you have this problem, here's a detailed itinerary of the way I fixed it. Whereas there seems to be several problems that can cause restore/recently functions to stop working, it is not a guaranteed fix, but it is still a thing to try, at least.

    1. Open a new tab or window.
    2. Type of topic: config address in the box and press ENTER.
    3. Read reviews and promise to be careful.
    4. Copy this: browser.sessionstore.enabled - and paste in Subject: config'search box in s. press ENTER.
    5. If you copied the text at the top right, the setting should appear in the list. If it is not the case, you have the same problem, I did. (I would say that you copy/paste the text indicated and only this text before moving on to double check).
    6. If the parameter does not exist, right click on the parameters of the list and choose new-> Boolean. Paste the parameter name that you copied previously in the name box, click OK and then set the Boolean true. Once you have click OK, restart Firefox, and (hopefully) things should work properly again.

    Thanks to everyone who offered help and thoughts!

  • How to turn off the functions zoom and scroll to the touchpad on the Satellite

    Hello.

    Can someone tell me how to turn off the scroll and zoom for the Synaptics Touchpad v7.2 functions.
    Can't seem to do it via the control panel.

    All of the suggestions.

    Hello

    You can do it in the settings of the touchpad.
    You can find these settings will:

    Control Panel-> mouse-> tab advanced-> button Advanced settings future

    Here you need to uncheck the option called use scroll function

  • How do reset you the function keys on an ideapad P500 to legacy? That is to say F1 - F12

    I need the function keys to act as F1 - F12 instead of the various operations they represent. How can I change them to the inherited functions? Help!


  • How can I get the function of hibernation in the menu with; Log, the user swith, sleep, stop.

    I used to have the function of hibernation on my laptop as pets when I could also log, user swith, sleep, stop.

    But the hard disk had to be changed, and now the hibernation has disappeared from the list, how can I get that back.

    I was told it could be done in the start menu or the customization options, but have not found anywhere.

    Hibernation turned out to be more useful.

    Try this tutorial: enable or disable Hibernation
    http://www.Vistax64.com/tutorials/165508-hibernation-enable-disable.html

    Also, please read two method on disk cleanup deletes Hinbernation option in the list.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • How can I disable the function of unique keys; FN?

    I have a new compaq presario CQ56 laptop with Win 7, and the volume control function keys, reading, etc. when they are pushed to him only (without the need to push the Fn key at the same time).  The problem is that I use these keys only to other purposes more how to adjust the volume, etc.  For example, in MS Publisher, I Zoom in and out to 100% by pressing F9.  However, as it is now I have to press Fn and F9 for this.

    How can I change this back to the 'old' where you need Fn most key to do all what indicates the icon on the function key?  As the volume, check the battery, brightness, etc.

    I searched on help for Win 7 without success.

    Hello Janet,.

    I don't think its possible. However, you can ask HP if they can help you the same configuration in a specific way that is adapted to your condition.

  • How to turn off the function keys? G62-346NR

    Hey all, I just signed up to please bare with me if I posted this in the wrong section, thank you!

    Anyway, I got want to disable my function keys upper (F1-12) that I'm a player and it requires that the function keys, but it doesn't seem to work in the game, so he just activates the function of the selected key. Then, I looked everywhere and I can't find the manual for this laptop, so I wondering if anyone of you guys/girls know how to disable the function.

    Thank you!

    In the BIOS there is a configuration tab. Inside, there is an option to toggle the mode of action of Fn keys. Maybe it's interfering with your game mode. Try disabling it to see if it helps. If yours has an InsydeH2O BIOS then it should substantially the same as this picture.

  • How to work around the function on HTML5 Adobe animate external button CC

    I created my HTML5 Canvas with Adobe animate CC.

    It's a few pieces of my code of "page.js" after publishing my project

    this.frame_0 = function() { 
    this.button_1.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
         function fl_ClickToGoToAndStopAtFrame()
         {
              this.gotoAndStop(1);
         } this.stop();
    }

    And this is my button "page.html".

    <button type="button" class="btn btn-default">Default</button>

    How to bypass the function/send command "gotoAndStop (1)" my external button above?

    Yet once, your code is not linked to your button.  You must use something like:

    document.getElementsByClassName [0]. [ "btn btn-default"]. addEventListener ('click', fl_ClickToGoToAndStopAtFrame.bind (this));]
    function fl_ClickToGoToAndStopAtFrame()
    {
    this.gotoAndStop (1);
    } this.stop ();

  • How can I use the function 'compare' in Acrobat Reader ms?

    I have the free version of Acrobat Reader DC.

    Now, I want to use the function "understand" but I don't know how to buy that.

    Buy only the function? Or do I have to buy the entire update?

    Thank you very much!

    This is part of the Acrobat Pro product. It cannot be added to Acrobat Reader. It is not an upgrade to Acrobat Reader - attention to not buy the upgrade, you won't be able to run it.

  • How can I recover the function "back up photos during import" in Lightroom

    The function "back up photos during import" in Lightroom 5 suddenly disappeared. How can I recover this feature?

    "

    Do you have accidentally hide you the file management section... right click on any header (i.e. the renaming of files) and management of files is checked.

  • How can I change the function of a flash button?

    Hello

    You are not sure if this should go in the Flash forum or Captivate forum, but nobody knows how, where to find ActionScript 3 orders for Captivate?

    I downloaded a pre-made button Flash (source file) for Adobe Captivate, which was originally made to make a video go to the next slide when you press. He does it very well, but I wanted to know how use the ActionScript in Flash Professional CS5 to have the button JUMP to a specific slide in Captivate, rather than just go to the NEXT slide. I know that usually how the code works, but have never really used and do not know the specific command to get there. Currently, the relevant part of the code of the 'Flash' button reads:

    function clicked(e:MouseEvent):void {}

    var myRoot:MovieClip = MovieClip (root);

    var mainmov:MovieClip = MovieClip (myRoot.parent.root);

    mainmov.rdcmndNextSlide = 1;

    I think I should just change the last line to something else and it should work, but I need the command. Can someone tell me what needs to be changed in the code above to get there?

    The full code is below. Thank you.

    code.JPG

    Here is an answer for everyone out there trying to do the same thing.

    To change the function, simply change "rdcmndNextSlide = 1" to another command with its variable. Commands and variables can be found here:

    http://www.cpguru.com/2010/07/20/Adobe-Captivate-5-system-variables/

Maybe you are looking for