Why is the last script executed twice?

Here is my problem. I have two files, file1.sql and file2.sql that are called in a third file test.sql. The output from test.sql show that file2.sql was called twice
--file1.sql
select 'file1' as str from dual;
--file2.sql
select 'file2' as str from dual;
--test.sql
@file1.sql
@file2.sql
The output shows:
STR
file1
STR
file2
STR
file2
Why is the last file execute twice. If I change the order of files in test.sql, then file1 is displayed twice

I found my problem. In test.sql I had '/' in the last line
--test.sql
@file1.sql
@file2.sql
/

Similar Messages

  • Apple tv: Does anybody know why during the last few days itunes store did not actualize the podcasts?

    Does anybody know why during the last days on apple tv the podcasts (itunes) are not actualized?

    Does anybody know why during the last days on apple tv the podcasts (itunes) are not actualized?

  • Why after the last Photoshop CC Update the Lasso Tool not more have the Backspace step backward -Fun

    Why after the last Photoshop CC Update the Lasso -Tools not more have the Backspace-last-point-step-backward -Funktion?? This is terrible!!
    So i can not work more. Please change immediately with a next update!! Please..

    Good day!
    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by.
    Also I can not reproduce the issue you claim to have with 14.2 on Mac OS 10.8.5.
    What is your OS?
    Regards,
    Pfaffenbichler

  • When I schedule a Job, the job is executed twice.

    Post Author: sachinddalal
    CA Forum: Data Integration
    Hello,
    I am using Data Integrator Ver 11.0.2.22. I have scheduled the job through Admin Console. When the job is executed it seems that the job is executed twice.
    On the Status tab onDI Administrator, it shows that both the jobs started at same time. The end time of bot the job is different.
    Any one have any idea how this happens?
    Also any way to ensure that the job are not executed twice.
    Thanks,
    Regards
    Sachin Dalal

    Post Author: bhofmans
    CA Forum: Data Integration
    If you get this issue for a scheduled job only, I might be that the schedule is created twice in the OS scheduler. You could check the windows task scheduler (or cron on UNIX) to check for duplicate schedules.
    If you see this issue also for jobs you execute manually (via webadmin or Designer), you can have this kind of problems if the same jobserver is registered multiple times in a repository. You can check the AL_MACHINE_INFO in your repository. It should have one line for each jobserver and one line for each administrator the repo is connected too. I suspect you have some duplicates there (you can just remove them - this table gets populated when adding a repo in the web admin and when adding a repo to a jobserver in the server manager).

  • Why is the last item not displayed ?

    Hi !
    I can understand why this the last episode of this feed is not displayed in itunes website (or itunes store in the app),
    http://xclusivesession.universpodcast.com/feed/
    What is really strange is that there is no problem at all when user subscribe in Itunes. I have many other feed built like that which work without any problem.
    To finish here is a screenshot showing the list on iTunes website starting at index 2
    Thank you so much for your help !

    This looks like a version of a bug in the Store which happens from time to time for some podcasts. Usually the entire list of episodes fails to show though the Store claims to be showing the correct number. Here you will notice that below the list it says '34 items' but it starts numbering at 2. I'm afraid there isn't anything you can do about this - your feed appears to be OK - it will probably sort itself out the next time the Store checks the feed.

  • HT203167 why has the last minute 20 seconds suddenly disappeared from a song?

    why has the last minute 20 seconds suddenly disappeared from a song?

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • Why does the calc script screen freezes after executing the script

    Hello Everyone:
    When a calc script gets executed, the calc Script in the ASS freezes even though the calc script has finished it´s execution. Does anybody knows why? How can i prevent these to happen?
    Hope someone could help me, thanks in advanced
    Best Regards

    if you execute the calc script in foreground, console will freezes and it will not allow any thing to do.
    Once script is completed, console will be freed.
    You can execute the calc script in back ground so that you can continue your work and you can track the progress in the sessions.

  • Why does the last still always go first?!

    Funny thing keeps happening.  I will have a load of still photos I want to add to eg Video 2 above a gray color matte on video 1.   Using mouse + Shift in a standard way, with everything set to Sort by File Name Ascending, I drag the lot.  Invariably the last picture for some weird reason always puts itself at #1, so that I have to move it manually to the end.
    Hey, why?!  LOL   A minor irritation!
    Brian

    Brian
    You are using Premiere Elements 11, Windows. Is that correct?
    I just took an double check with my Premiere Elements 11 and Project Assets/Sort By/
    a. File Name (Ascending)
    and
    b. Duration (Ascending)
    I had two files,
    Wildlife.wmv, 30 seconds
    and
    Windows Movie Maker Sample File.wmv, 12 seconds
    Project Assets
    List View
    Sort By File Name (Ascending)
    In Project Assets, Wildlife.wmv on top and Windows Movie Maker Sample File.wmv bottom
    When selected there together and dragged to the Expert workspace Timeline together
    Wildlife.wmv first, Windows Movie Maker Sample File.wmv, second
    Project Assets
    List View
    Sort By Duration (Ascending)
    In Project Assets, Windows Movie Maker Sample File.wmv top and Wildlife.wmv bottom
    When selected there together and dragged to the Expert workspace Timeline together
    Windows Movie Maker Sample File.wmv first, and Wildlife.wmv, second
    I repeated the above with Project Assets in the Grid View and go the same trend in results.
    So, I am not clear why you are getting what you described. Could you give us a sampling of the file names involved in
    your observations and the duration of each of the files?
    If you are in the List View, are you clicking on the "name" tab above the list of imported files. That will reverse the ordering of
    the files in Project Assets List View. But, from what you describe, I do not think that is it.
    ATR

  • Why is the Last synced time: 1/1/1601 12:00:00 AM

    I'm doing a cutover migration from Exchange 2003. When I check the migration batch statistics, the "Last synced time" is always 1/1/1601 12:00:00 AM
    I can't determine what this means, or why it is like that.  I want to ensure that the last sync is completed before deleting the migration batch.
    Any ideas?
    Aain Ramcharan Technology Alliance Inc.

    I didn't let it stop my migration, though, as syncing is supposed to happen every 24 hours.
    The best thing for me, whenever there was an error, was to Stop, Wait 10 minutes, and Start the migration, again.
    Good luck.

  • Why isnt "the last roundup" and "hearts and hooves day" avaliable for download itunes?

    Many bronys from around the world may know this already, but the 2 episodes: "the last roundup" and "hearts and hooves day" are unavaliable for download in the itunes store. and for people who bought the season pass, like me, are alittle ****** off that we're not getting 2 episodes that we payed for to get. so im asking: why the heck were the episods taken off in the first place?! (and i know why "the last round up was taken off for the stupidest reason: derpy talking. i mean, COME ON! its not that big of deal.)

    OK - are you saying that the tracks following the "missing" one have been renumbered (i.e., if the missing track is #7 that those that should be 8, 9, 10 are labeled as 7, 8 9)?  Was the "missing" track previously present and correct, or has it been absent since the album was added to your library?
    The most likely cause of what you're seeing is that the "missing" track is in your library, but not where you expect it to be.  There are several scenarios in which the metadata (or "tags") that iTunes uses to group songs into albums can be modified, without you necessarily realizing that its happened.  If you search your whole library within iTunes, looking for the song by name, does it turn up anywhere?  If not, can you find the file (probably .m4a or .mp3, depending on source) for the "missing song"?  The exact name may vary but it will probably include "last night on earth" as part of the file name.
    For this specific example, is the album on you've imported yourself from CD, purchased from the iTunes Store, or from some other online source such as Amazon?

  • Why is the last part of the Word Press install not working?

    I am installing Word Press to work in Dreamweaver. I have installed MAMP and everything is working fine, I assume. The location of the files are /applications/MAMP/htdocs/wp-content/themes/twentyten.
    I have installed PHP/MySql on my machine and have set up the wordpress database as instructed. The last part of the process has me bogged down. In following step one of the process, I get a blank screen. Here's the url: http://localhost/wp-admin/install.php and the instructions to complete the process.
    With the WordPress files copied to the correct location in the htdocs folder, the web server installed, and a database created, open a browser and browse to http://localhost/wp-admin/install.php.
    A screen telling you to create a configuration file will appear. Click the Create a Configuration File button.
    Click the Let’s Go button to go to a page that allows you to enter your database information.
    Type your database name, wordpress.
    Type your MySQL user name and password (usually the user name and password are both admin, unless you changed them in the database).
    For the Database Host type localhost.
    Click Submit
    Can anyone help?
    Thank for your help,
    GWalton55

    I'm stuck installing virtualhosts in DW and using Wordpress templates, but I may be a few steps further than you are, so I'll try to help. I'm also using Windows, so who knows?
    I'm assuming you are not using a virtual host, just a local host; therefore, I went to the section that has instructions for the steps you are on in David Powers' "Adobe Dreamweaver CS5 with PHP: Training from the Source" and right after he has you launch the browser and open "wordpress/wp-admin/install.php" in "your [site name here] site." He goes on to write:
         The URL depends on how you set up your testing environment:
    Virutal host: http://[site name here]/wordpress/wp-admin/install.php
    Localhost: http://localhost/[site name here]/wordpress/wp-admin/install.php
    NOTE: if you are using the MAMP default ports on a Mac, add :8888 after [site name here] for a virual host, or after a localhost.
    So perhaps that's what you're missing, I really don't know.
    Good luck!

  • HT201364 why since the last two updates of mavericks my macbook pro is very slower?

    i own a 13 inch macbook pro with intel core i5 and 4 gbram 500ghardisk
    since the last two updates of mavericks my macbook is running with lag im not able to watch videos because they frozze constantly and the same when using design software or watching a video on youtube.

    Hi elpepper555,
    If you are noticing slowness in Mavericks while doing graphics-inensive tasks, you may find the following article helpful:
    OS X Mavericks: If graphics-intensive tasks slow down your Mac
    http://support.apple.com/kb/PH13952
    Regards,
    - Brenden

  • Why with the last update does the stupid GAMES CENTER always pop up when I want to open a locally stored game?  It is really annoying. I click on 'disable' and it just 'disables' it for that session only.

    Why is the stupid GAME CENTER a popup every single time I try to access a locally stored (and paid for) game application?  It is really annoying! I click on 'disable' and it only disables it for that session. When I come back a while later, the stupid GAME CENTER pops up again....
    this just started with the upgrade to iOS6...

    I share your frustration. Maybe there are more people that really hate what game center has become. Here's my problem: Ok, so when I open the Game Center app it asks me for my password to log in. But when (while "signed out" of Game Center) I open an app (game app) it automatically signs me in without me even putting in a password. So, if I go directly to the Game Center app, I have to use my password to sign in. If I open a game app, I don't need to use my password...I'm signed in without any verification. I now can close the game app, open the Game Center app and BAM!!! I'm signed in, password free. I have searched for a solution to this nonsense of two days. I have tried changing my Game Center ID four times and every time it says, "Welcome back '&&@&!'!" Apple has every freaking app of theirs listed in the support communities but the Game Center app. Why? I am an adult that likes to relax and spend 30 minutes or so playing a game. I could give two flying $&@&s what I the other guy or a 4 year old did yesterday. I want a solution to delete completely or disable this tracking crapware. And the whole signing me in without me giving a password smells really fishy. I bet we will see a lawsuit really soon even if this is fixed. Definitely a security issue at the minimum. 

  • Why are the 3 maints done twice now? Tiger 10.4.11 bug?

    I've noticed that recently in Tiger 10.4.11 the daily, weekly and monthly tasks are done twice * in the same job*. Can some of you check your Console Logs and see if you are seeing something similar to below? Makes no sense. I wonder if this is a bug in the latest update to Tiger since it didn't used to do this (but I'm not sure from when.) I'm curious. Is there any way to track down why this is happening. Where ARE these scripts hidden?
    Thanks,
    Al
    =============
    monthly.out
    =============
    Tue Jan 1 13:08:24 PST 2008
    Doing login accounting:
    total 688.48
    al 688.48
    Rotating log files: wtmp install.log
    Rotating fax log files:
    -------->[DOES IT OVER AGAIN]<----------------
    Doing login accounting:
    total 0.00
    Rotating log files: wtmp install.log
    Rotating fax log files:
    ==============
    daily.out
    ==============
    Sat Jan 12 03:14:54 PST 2008
    Removing old log files:
    Removing scratch and junk files:
    Removing scratch fax files
    msgs: /var/msgs/bounds: No such file or directory
    Backing up NetInfo data
    Checking subsystem status:
    disks:
    Filesystem 1K-blocks Used Avail Capacity Mounted on
    /dev/disk0s2 97349872 29394344 67699528 30% /
    Last dump(s) done (Dump '>' file systems):
    mail:
    postqueue: warning: Mail system is down -- accessing queue directly
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    C00CA385144 748 Tue Oct 16 03:26:12 [email protected]
    (connect to qsxxxxxxxxx[xxxxxxx]: Operation timed out)
    [email protected]
    -- 0 Kbytes in 1 Request.
    network:
    Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
    lo0 16384 <Link#1> 9518 0 9518 0 0
    lo0 16384 127 localhost 9518 - 9518 - -
    lo0 16384 localhost ::1 9518 - 9518 - -
    lo0 16384 localhost fe80::1 9518 - 9518 - -
    gif0* 1280 <Link#2> 0 0 0 0 0
    stf0* 1280 <Link#3> 0 0 0 0 0
    en0 1500 <Link#4> 00:16:cb:90:c2:c3 10872 0 8790 0 0
    en0 1500 alan-xxxx fe80::216:cbff:fe 10872 - 8790 - -
    en0 1500 192.168.1 192.168.1.107 10872 - 8790 - -
    en1 1500 <Link#5> 00:16:cb:ba:6c:7c 0 0 0 0 0
    wlt1 1500 <Link#6> 0 0 0 0 0
    fw0* 2030 <Link#7> 00:16:cb:ff:fe:69:b1:b4 0 0 0 0 0
    en2 1500 <Link#8> 00:1c:42:00:00:00 0 0 0 0 0
    en2 1500 alan-xxxx fe80::21c:42ff:fe 0 - 0 - -
    en2 1500 10.37.129/24 10.37.129.3 0 - 0 - -
    en3 1500 <Link#9> 00:1c:42:00:00:01 0 0 0 0 0
    en3 1500 alan-xxxxx fe80::21c:42ff:fe 0 - 0 - -
    en3 1500 10.211.55/24 10.211.55.3 0 - 0 - -
    ruptime: no hosts in /var/rwho.
    Rotating log files: system.log
    ---------> [DOES IT OVER AGAIN]<----------------
    Removing scratch and junk files:
    Removing scratch fax files
    msgs: /var/msgs/bounds: No such file or directory
    Backing up NetInfo data
    Checking subsystem status:
    disks:
    Filesystem 1K-blocks Used Avail Capacity Mounted on
    /dev/disk0s2 97349872 29394440 67699432 30% /
    Last dump(s) done (Dump '>' file systems):
    mail:
    postqueue: warning: Mail system is down -- accessing queue directly
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    C00CA385144 748 Tue Oct 16 03:26:12 [email protected]
    (connect to xxxxxxxxx[xxxxxxxxxx]: Operation timed out)
    [email protected]
    -- 0 Kbytes in 1 Request.
    network:
    Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
    lo0 16384 <Link#1> 10549 0 10549 0 0
    lo0 16384 127 localhost 10549 - 10549 - -
    lo0 16384 localhost ::1 10549 - 10549 - -
    lo0 16384 localhost fe80::1 10549 - 10549 - -
    gif0* 1280 <Link#2> 0 0 0 0 0
    stf0* 1280 <Link#3> 0 0 0 0 0
    en0 1500 <Link#4> 00:16:cb:90:c2:c3 10881 0 8811 0 0
    en0 1500 alan-xxxxx fe80::216:cbff:fe 10881 - 8811 - -
    en0 1500 192.168.1 192.168.1.107 10881 - 8811 - -
    en1 1500 <Link#5> 00:16:cb:ba:6c:7c 0 0 0 0 0
    wlt1 1500 <Link#6> 0 0 0 0 0
    fw0* 2030 <Link#7> 00:16:cb:ff:fe:69:b1:b4 0 0 0 0 0
    en2 1500 <Link#8> 00:1c:42:00:00:00 0 0 0 0 0
    en2 1500 alan-xxxx fe80::21c:42ff:fe 0 - 0 - -
    en2 1500 10.37.129/24 10.37.129.3 0 - 0 - -
    en3 1500 <Link#9> 00:1c:42:00:00:01 0 0 0 0 0
    en3 1500 alan-xxxx fe80::21c:42ff:fe 0 - 0 - -
    en3 1500 10.211.55/24 10.211.55.3 0 - 0 - -
    ruptime: no hosts in /var/rwho.
    Rotating log files: system.log
    ================
    weekly.out
    ================
    Sat Jan 12 03:14:54 PST 2008
    Rebuilding locate database:
    Rebuilding whatis database:
    makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
    Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log secure.log
    access_log error_log/usr/sbin/apachectl restart: httpd restarted
    ---------> [DOES IT OVER AGAIN]<----------------
    Rebuilding locate database:
    Rebuilding whatis database:
    makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
    Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log secure.log
    access_log error_log/usr/sbin/apachectl restart: httpd restarted

    Don't get excited – I don't have an answer, I'm just posting to tell you that you are not alone. I only have this 'doubling' with periodic daily. I cannot be sure when it started, but I think probably in one of the early iterations of Tiger. I spent much time and effort back then trying to track down the reason but failed. The doubling is sporadic, showing a double entry in daily.out on some days, not on others, with no discernible pattern, rhyme or reason that I could fathom. When there is just one entry the date stamp is spot on; when there are two entries the first is always 6 or 7 seconds before the appointed time, the second spot on. An example (my 'daily' is set for 5:05 am)…
    ==============
    
daily.out
    
==============
    Sun Feb 10 05:04:53 GMT 2008
    Removing old log files:
    Removing scratch and junk files:
    Removing scratch fax files
    msgs: /var/msgs/bounds: No such file or directory
    Sun Feb 10 05:05:00 GMT 2008
    Removing old log files:
    Removing scratch and junk files:
    Removing scratch fax files
    msgs: /var/msgs/bounds: No such file or directory
    ==============
    My current suspicion/guess… I do re-boot to move from one volume to another on some days and not on others. It is well known that launchd has never quite got it right concerning the running of periodic tasks following computer sleep. I never sleep my Mac, but I wonder if what you and I are noticing is a related 'glitch' with launchd's timings. I realise that I should have kept notes of when I re-booted but at those times I have been too involved with what I was doing to remember! Does this possibly give you a clue? If I am right then the 'glitch' is hidden in the inner workings of launchd's mathematics and that would explain why we have not been able to find a 'culprit'.
    It would be good if you could do what I should have done ( ) – keep an eye on re-boots. I would feel happier to know that the glitch was down to Apple and launchd and not due to anything 'wrong' at my end. I expect you would feel the same.
    PS  "An early iteration of Tiger" would fit in with the switch from cron to launchd.

  • Why has the last update screwed everything up

    ...Now, important site I use no longer functions like it should.
    It should remember what I've looked at, this is the way it use to function.
    this might sound vague but I got no input on my last question!-maybe too long?
    It's a music site I use for buying records...
    When I listen to something, it should become greyed out,
    this way I don't listen to things twice!...or more : (
    Also, rar files don't download, this is some pain
    Any info/input would be appreciated
    Scott

    Mac OSX 10.6.8
    Safari 5.1.1
    example of site:
    www.decks.de
    As I said, with the site a track title for example, will be greyed or darkened out, once clicked once or,
    listened to...once
    Now after last update, track titles, listened to, only stay dark/greyed out, until quiting and relauching Safari..
    where they then become "as new" again.
    The rar file problem is easier to explain: rar. files don't download- from anywhere...
    example: 100 Mb .rar file takes a split second to download..
    then shows only, very small size i.e 5kb
    and can't open!
    this is ridiculous

Maybe you are looking for

  • Error while defining BAPI method in the BOR

    Hi all, I am following a document and trying to learn BAPIs. Now, after an object type is created through SWO1, from Utilities -> API Methods -> Add Method, I am asked to enter a function module name. Shouldthis FM be already existing one? When I gav

  • IPhone 5 Adapter that supports video

    I would like to know if Apple will make an adapter that supports video out.This is pretty important for me because I have an in dash navigation of which has a cable for the iPhone. This cable has support for video out from the iPhone. If anyone has a

  • Vendor batch number in stock transfer

    Hi, Batch management at plant level. When we transfer the stock from one plant to another plant, the vendor batch number is not getting updated in the receiving batch master record. In 303,we will send it from one plant to another plant (Stock in tra

  • How to open the execel file in the client machience

    Hi How can i open an excel file located in a client machience , from the same client machience. I tried with Client_ole2....... but its not working. Thanks in advance to you Rizly

  • I can't open downloaded pdfs from safari

    When I download a file from an internet site.  I cannot open it and I get an error message "safari cannot open because no available application can open it"  It is just a pdf document. Also, when I try to open documents from my documents files, I get