Don't want to wait for the results of the query

Hello world.

I'm on CF 7 and SQL Server 2005.

I call a procedure stored through my CF code. The process can potentially take an hour or two to run. I would like the proc run on SQL Server, but don't want my page of FC wait for the results before we continue, I want just the code that follows the proc will run while the database server do it is something silently in the background. Is it possible to do this?

Thank you

You could try to create a job that calls your long-term stored procedure. In the CF, call the sp_start_job system stored procedure to start your work. I think sp_start_job returns at the start of the task, not when the work is complete, but you will need to test this.

http://msdn.Microsoft.com/en-us/library/ms186757 (SQL.90) .aspx

Tags: ColdFusion

Similar Questions

  • I don't want to search for the navigation bar. I want to put the address and it goes to the address. But I now I put the address of and he did a search instead. Why? How can I change that.

    Like I said how can I just put the address in the navigation bar, and it goes to the address instead of search.

    See:

  • I don't know how to download music in my 7th generation nano.  I don't want to pay for the songs I already have.  Can someone help me?

    I tried to figure out how to download music in my I pod 7th generation nano.  Can someone help me?  I was getting confused by all the information I read.  I have an external hard drive that I'm loading my music, then I get lost.  I need help.

    yduncan,

    https://manuals.info.Apple.com/manuals/1000/MA1624/en_US/iPod_nano_2015_user_gui.PDF

    http://iPod.about.com/od/addinganddeletingsongs/HT/how-do-you-download-songs-Ont o-year-ipod - nano.htm

  • Just built a new computer with no OS. I would like to put windows 7 or 8 on it but don't want to wait for it to be delivered.

    Can I download a boot disk or something on one of my other computers to get my new computer booted and then upgrade to win. 7. are their other options?

    See the instructions below to download and create your own bootable disc or USB key:

    See:

    http://techingiteasy.WordPress.com/2012/11/06/part-1-how-to-upgrade-using-the-Windows-8-Upgrade-Assistant/

    then:

    http://techingiteasy.WordPress.com/2012/11/07/part-2-How-to-upgrade-using-the-Windows-8-Upgrade-Assistant/

  • I have the creative cloud for $60 or anything like that, and I just want to downgrade using Adobe Premiere Pro.  I don't use any other programs and I don't want to pay for it

    I have the creative cloud for $60 or anything like that, and I just want to downgrade using Adobe Premiere Pro.  I don't use any other programs and I don't want to pay for it

    Please refer to:

    FAQ: How can I change to a different plan of the creative cloud?

  • Wanted to install adobe photoshop and elements 12 first. But I don't have a disc for the cd. I tried to download, but the link says "file not found".

    Wanted to install adobe photoshop and elements 12 first. But I don't have a disc for the cd. I tried to download, but the link says "file not found".

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    PES 10, 11, 12, 13 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html

    PE 10, 11, 12, 13 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 12: http://prodesigntools.com/photoshop-elements-12-direct-download-links-premiere.html

  • I just bought a new Mac and migrated my CS6 on.  Now, when I open it, I said that I am under a trial of the cloud.  Why can I not use my CS6 version that I bought?  I don't want to pay for something I already bought.

    I just bought a new Mac and migrated my CS6 on.  Now, when I open it, I said that I am under a trial of the cloud.  Why can I not use my CS6 version that I bought?  I don't want to pay for something I already bought.

    Here's how to convert the Permanent Trail:

    By receiving the expired Trial/test screen

    Make sure you are online

    Click on software under license

    The perpetual owners: connect with the adobe ID and enter the serial number of the product

    Product must be certified with success

  • Start stuck on "Please wait for the Local Session Manager."

    I would say that this problem started a couple of days. Went to start my laptop (Toshiba) and he sat on the "Please wait" message forever.

    Had no problems to start in safe mode. Looked up various ways of addressing the problem.

    Was able to change the resume date and back a few weeks ago. Still no luck. Happened to read something on a printer Epson being perhaps the problem driver (it was installed a day before the date of restoration chosen). Uninstalled the drivers, computer still does not start.

    Tried restarting running. I do not have the CD it came with Vista, but it was an option when you hold F8 during startup (I think?) Couldn't find any problems.

    Ran check on memory. No problem either.

    Changed settings for a verbose startup and ran a Diagnostic startup - all good for this. Then tried selective startup load system services... This is when the error occurs. When starting, it hangs on "Please wait for the Local Session Manager" and does nothing more.

    I looked in the event viewer to see what came that time and a couple mistakes were:

    Event ID 6000: winlogon notification subscriber was unavailable to handle a notification event.

    Event ID 7026: the next (s) start or start failed to load system
    spldr
    Wanarpv6

    It would be very useful for me not having to run my computer in safe mode automatically all the time, although it is useful that I at least have that option. Any help is greatly appreciated.

    Hello

    1. by chance your computer is connected to a domain environment?

    2. as you mentioned in your article that you tried the selective startup, I want to confirm if you have disabled the services left 3rd after hide Microsoft services?

    If you did not disable these services make sure you disable and then check if it works.
    See the article below for more information.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • HP laserjet 1022 does not wait for the user to turn the pages when printing double-sided

    My Hp laserjet 1022 printer working properly for years.

    So far, when he executed more paper he tried a couple of times to get more paper and then stops with a message on the PC it is out of paper.

    Very annoyingly, this has changed recently, now when it is out of paper, he tries a couple of times to get more paper and watch the message on the PC, saying that it is paper and then again, try a couple of times to get more paper and again shows the same message on the PC and him back... This continues to go on and on.

    It's especially annoying when trying to print double-sided. Before he used to stop and ask you to turn the pages to print the other side. Now the previous behavior overrides the break to turn the pages and keeps it will try to get more paper. As now, it does not wait for the user to turn the pages, in general it spoils the impression out by getting another paper that is not what I wanted, he drives me crazy! It's really hard to print anything double face now.

    All solutions?

    Operating system is Windows 7, I just downloaded and installed the latest driver for this printer "2013-01-09, Version: 20120918" and I get the same behavior. In the properties of the printer that I put some State Messages to Off and at least I don't get the full windows message screen poping up every time the printer is trying again to get more paper. I have not found all the other parameters that may affect this behavior.

    Help!

    Hello

    I solved the problem! I found the original CD for the printer. I uninstall the current driver and then install CD and now when the printer is out of paper trying to get paper a couple of times and then stops, as it used to be.

    Thanks for your help.

    Martin

  • Wait for the event begins with SQL * Net message from client-time wait 178577 units

    Hello

    I'm watching events waiting for a request from long time in TOAD.
    I start the query on an instance of TOAD, and open the browser to log on to another instance.
    But I am surprised to see that in "TOtal expected" on the RIGHT part->
    SQL * Net message from client is the longest time and is already - > 178577 units while I just to start the query.

    Considering that, in the current waiting she shows DB file scattered read correctly for a few seconds.

    Please suggest.

    user8941550 wrote:
    Hello. No explanation for this... :-(

    Hello

    people work here, you don't know?
    I think Tom Kyte explains it well enough. This wait event is linked to your session database waiting for the guest to say to do something.

    So it is not related to the database, but to your application.
    Also as it is a wait of session event you might have had your session inactive for some time (do nothing)

    If you want to check the waiting events correctly I suggest using tkprof and start a new session in SQL more as shown by Tom Kyte in the link I posted.

    Then, run your query in sqlplus setting track and pull it out as soon as your statement is completed.
    that is to say:

    -- myest.sql
    alter session set events '10046 trace name context forever, level 12';
    SELECT ... -- your query here
    exit
    

    Run in sqlplus in this way:

    sqlplus user/password@db @mytest.sql
    

    Then check with tkprof.

    Kind regards.
    Al

  • I'll copy Mozilla firefox from one computer to the other. I don't want to download from the internet, I caught the virus of "Babylon" in this way.

    (1) you really have to make it easier to contact support. Get rid of password requirements!
    (2) I would copy safely Firefox from one computer to the other. I don't want to download from the internet. Really, we love and use firefox. I had to remove firefox because it came with the virus of Babylon.

    If you have been Babylon when you installed Firefox you may have installed it from an authoritative source (the only official place and secure to download Firefox from www.getfirefox.comEast). Please, never download Firefox from anywhere else.

    So, for your computers, be sure to download Firefox from www.getfirefox.comand you download the version official, convenient and safe.

    If you get Babylon on your computer, you can remove it easily without having to remove Firefox by reading How to remove the toolbar of Babylon, home page and search engine (Please note that Babylon is not affiliated with Firefox and we actively seek to solve these problems).

  • I don't want Microsoft Windows 10, but I don't want to stop with the banners on my site.

    * Original title: Windows 10 banner

    I use Windows 7. I like it. I get these invasive banners for 10 of Microsoft which I just can't close.  It covers my banner "search for", so I can't find anything.

    Repeat - I want 10 of Microsoft, but I don't want to stop with the banners on my site. How to stop?

    See if it works. If this isn't the case, send a screenshot of these banners. I have not heard such a thing.

    With the help of GWX Controp Panel to permanently remove the icon of Windows 10 Get
    http://blog.ultimateoutsider.com/2015/08/using-GWX-stopper-to-permanently-remove.html

  • Please wait for the customer to political group - stop questions

    Hello

    I have problems with the closing of a machine. When the machine is connected to the corporate network, everything works fine. However, if the computer is connected to the VPN (1 hour or more) it is always suspended when it stops. First step in the shutdown process is:

    Please wait for the system event Notification service.

    This change after 3 minutes exactly. Next step:

    Please wait for Group Policy client windows 7

    is never exceeded (even after a few hours). Machine never off.

    Under newspapers there are always these 4 events when the machine stops in vain:

    1. 6005: the winlogon notification subscriber takes a long time to handle the notification event (Logoff).
    2. 4627: the event COM + a system expired attempt to fire the method of logging on the event {D5978650-5B9F-11D1-8DD2-00AA004ABD5E} class for the Publisher and the Subscriber.  The Subscriber has not responded within 180 seconds. The full name of the subscription is "ISensLogon2". The HRESULT is 80010002
    3. 6006: the winlogon notification subscriber took 180 second (s) to handle the notification event (Logoff).
    4. 6005: the winlogon notification subscriber takes a long time to handle the notification event (Logoff).

    Sense has expired after 3 minutes while there is no event 6006 for GPClient and machine is stuck there for centuries (Please wait for the customer to group policy). I noticed in the system logs that before the machine hangs during the shutdown process there are these errors and warnings:

    • 5783: the session configuration for the Windows NT or Windows 2000 Domain Controller \\server for the domain X is not admissible.  The current CPP of Netlogon call on \\machine to \\server was canceled.
    • 1014: name resolution for the name of the server has expired after none of the configured DNS servers answered.
    • 131: NtpClient could not set a domain peer to use as a source of time due to the DNS resolution error on ". NtpClient will try again in 3473457 minutes and double the reattempt interval thereafter. The error was: the requested name is valid, but no data of the requested type was found. (0x80072AFC).

    There is more than 1014 events for different servers and some 131. 5783 is always alone.

    I did a group policy log, because I thought that I will be able to see where the machine stuck. Below you can see the part of the newspaper GPSVC when the machine stops in vain:

    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xe58
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancellation pending appeals
    GPSVC (2d4.1cfc) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x71a
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancelled waiting for calls
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (438.1a04) 21:31:24:327 waiting for user group wire political end.
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xe10
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancellation pending appeals
    GPSVC (218.C88) 21:31:24:327 Client_CompleteNotificationCall: failed with 0 x 525
    GPSVC (2d4.1cfc) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x71a
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancelled waiting for calls
    GPSVC (2d4.9C8) 21:31:24:327 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xdcc
    GPSVC (218.1054) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0x20cc
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.9C8) 21:31:24:327 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xd90
    GPSVC (218.1054) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (218.D48) 21:31:24:342 Client_CompleteNotificationCall: failed with 0 x 525
    GPSVC (218.D48) 21:31:24:342 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (218.1c04) 21:31:24:327 Client_CompleteNotificationCall: failed with 0 x 525
    GPSVC (218.1c04) 21:31:24:342 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: entering with the event 0 x 2100
    GPSVC (218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: entering with the event 0 x 1264
    GPSVC (218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0

    I excluded 1 GP machine and left on the VPN for a few hours, several times. He always stopped correctly.

    However I tried with the VPN disconnection before turning off the machine, I even turned off WiFi but machine still hanging. If I tried to get GP results it takes ages before stopping the machine and he's stuck in the step "to get the user name. Gpupdate/force will never update policy (it stops at policy update...). I tired with the installation of different patches that has not solved the problem.

    I think that there is that DNS issues while the machine is on VPN which led the GP cannot be applied. When the machine tries to close it is always somehow connected. There is no problem with the connection, no GP application script when the user disconnects, not roaming profiles.

    Does anyone have the same problems? All machines are Dell with Juniper NC (VPN).

    Thank you

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    TechNet forum: For Windows 7 

    Hope this information helps.

  • I bought adobe illustrator and waiting for the e-mail so I can download it but it does not appear

    I bought adobe illustrator and waiting for the e-mail so I can download it but it does not appear

    Hello

    I don't see no active membership/registration under the Adobe Id on the forums.

    Please confirm if there is any other Adobe Id in which you may have subscribed.

    Kind regards

    Sheena

  • Error when parsing the file ' value of the 'src' attribute is not valid; must be a URI'.  ERROR (RSC-005) to "Hetgeheimfietsen.epub/OEBPS/toc.xhtml" (line 10, col 10): error while parsing the file ' "ol" element not allowed here; wait for the end-tag of t

    The members of the Forum kan help you

    Validation by using version 3.0.1 EPUB rules.

    ()https://github.com/IDPF/epubcheck( )

    December 9, 2015 15:27:33 THIS

    ---------------------------------------------------

    WARNING (OPF-007) to 'Hetgeheimfietsen.epub/OEBPS/content.opf' (line 2, column 227):

    Re-declaration of prefix reserved "rendition."

    ERROR (RSC-005) to "Hetgeheimfietsen.epub/OEBPS/toc.xhtml" (line 10, col 10):

    Error when parsing the file ' "ol" element not allowed here; waiting for the end-tag of the element or element "li" '.

    WARNING (CSS-007) to "Hetgeheimfietsen.epub/OEBPS/css/idGeneratedStyles_0.css" (line 60, col 2):

    Police made OEBPS/font/CambriaMath.ttc refers to fonts not standard type application/x-police-FTT.

    WARNING (PKG-012) to "Hetgeheimfietsen.epub/OEBPS/De_Alpe_d'Huez-1.xhtml":

    File name contains following non ascii characters: '. You want to change the name of the file.

    WARNING (PKG-012) to "Hetgeheimfietsen.epub/OEBPS/De_Alpe_d'Huez-2.xhtml":

    File name contains following non ascii characters: '. You want to change the name of the file.

    Check the finish with warnings or errors!

    In the file Toc delete the second "ol", as well as closing like Epubcheck duplicate codes

        the one after the other (delete the other)

    Maybe you are looking for

    • Series of Canon MP495 printer does not work

      Connected via a USB port.  When clicked on the print device it says under status troubleshooting needs.  When clicked on the Troubleshooting tab, the message box displays some of disorders.

    • PC runs, but does not start. Monitor, keyboard and mouse with no signal.

      PC runs, but does not start. Monitor, keyboard and mouse with no signal. Pretty much. And when you want me to remove the battery of the bios, or whatever, it seems tight and hard to get out because it is surrounded by other elements. All fans work, t

    • A PC on the network does not connect to internet

      This has proved to be very difficult.  A PC on my network has been to connect to the internet.  I thought it was because I installed a new router, especially when I moved the PC to connect directly to my cable modem - when he was working.  But I also

    • Extract the database query result

      QVariant workersList = sda-> execute ('SELECT name FROM people WHERE status =' WORKER' ;");) Hi all How can I get the result of QString QVariant workerList variable? Thank you

    • Smartphones blackBerry Media Manager

      Hi all I am trying to determine why "Media Manager" is grayed out, an option not active when I connect my Storm with the Office Manager. I just wish I could access ALL my files on my phone when it is connected to my laptop. Can someone help me with t