User temp tables not getting cleaned out from tempdb?

Im seeing what looks like temp tables that are hanging around in tempdb and not getting cleaned out.
This is SQL 2008 
SELECT * FROM tempdb.sys.objects so WHERE name LIKE('#%') AND DATEDIFF(hour,so.create_date,GETDATE()) > 12
Im seeing about 50 or so objects that get returned and they are user_table and some of them have create dates of several days in the past.  Now I know users do not run processes that take that long, so why are these objects still hanging around?
TempDB gets reset after a server restart, but other than that, how long are these things going to hang around?

A local temporary table scope exists only for the duration of a user session or the procedure that created the temporary table. When the user logs off or the procedure that created the table completes, the local temporary table is lost. 
You can check the below blog for more information
http://sqlblog.com/blogs/paul_white/archive/2010/08/14/viewing-another-session-s-temporary-table.aspx
--Prashanth

Similar Messages

  • HT1454 why i can not get video out from my ipod touch after i did the upgrade

    why i can not get video out from my ipod touch after i did the upgrade

    why i can not get video out from my ipod touch after i did the upgrade

  • HT1454 Can not get video out from my ipod touch 3rd gen. Any ideas? It should nt be diffiicult to do this on the 21 st century, or not?

    After having spent EUR 130 on cables from apple, i still can not get video out from my ipod touch 3rd gen. Any ideas? It should nt be diffiicult to do this on the 21 st century, or not?

    Backing up an iOS device will copy some data to a backup file within iTunes, but this excludes all media.  You can also transfer iTunes Store purchases from the iDevice to iTunes but, without using a third-party tool, nothing else.  As long as you do not sync the iPod with your new library, the media that's on it will remain ... for as long as it keeps functioning, is not lost, stolen, eaten by the dog, ...
    You may also have an option to recover your previous library from your old laptop; as long as its hard drive isn't fried, a computer repair store or technician may be able to extract the drive, mount it in an external enclosure, and copy your data to another PC.  Whatever you choose, there is no real alternative to having all your media on your computer, managed by iTunes, and regularly backed up to another device/location.

  • /var/tmp not getting cleaned out...

    This might not exactly apply to the Finder, Dock or Dashboard but it is file maintenance, and I don't see a closer match.
    I've noticed that my /var/tmp directory has a lot of files that are pretty old. There's 3 directories there that seem to be written to daily...those I wouldn't touch... But there's a whole bunch of files that are named things like: 4568943754a6d... around 56M worth each is ~1.5M
    Why are these not getting automatically cleaned up? Is there a limit to this directory that could be causing me issues. I have several but I don't dare mention them here for fear of being told to open a new post
    Thanks!

    Hi again
    does the '3 days ago' actually set the time? so '1 week ago' would be valid too?Ah, was afraid you might ask that
    '3 days ago' does "set the time" as you say. '1 week ago' might work, but the man pages are not particularly helpful on what works and what doesn't. The find man page refers you to the cvs man page, which says:
    However, cvs currently accepts a wide variety of other date formats. They are intentionally not documented here in any detail, and future versions of cvs might not accept all of them.But that gives an example of "1 hour ago" being valid, so I tried a few variations
    wacking whole directories scares me... especially since there are live directories in here that I think shouldn't be deleted... can I take this part out?Yes, you can leave out the complete second "find" command if you wish. But applications shouldn't leave files or folders lying around in /tmp or /var/tmp and expect them to still be there when they come back!
    excuse my ignorance what language is this?This is the Bourne Shell or more accurately bash. You can try reading the man page, but if you're interested I think you'd find an introductory shell scripting book a lot more readable!
    My weekly hasn't run since Nov 18th but the Monthy and daily both say Dec 1st!!!No problem. My weekly hasn't run since Nov 15th. It will eventually get run, after about a week of cpu time (not sleeping).
    Now that the periodic scripts are managed by launchd, rather than cron, they do eventually get run. Unless you are running a busy server with hundreds of users, rotating the log files is no big deal with today's typical disk sizes.

  • Not getting print out of PO

    Dear all,
                 I am not getting print out of PO. In the message out put, the config ( NACE , MN04 ) and as well as all setting are correct. in FURTHER DATA tab, the despatch option id 4 : Send immediately ( when saving the application) ; but it is not generating any spool request for print out. i have checked in SP01 and SP02 , but I could not find out any spool request. More interesting, with the existing config and message setting , we were getting print out till one day ago but presently it is not working.
                  Hoping for corrective solution.
    Regards,
    Partha

    Hi,
    check t.code SPAD and involve Basis Consultant.
    Also check NACE t.code for Program, std form,routine, medium
    Note:
    Customisation steps for Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type.
    Regards,
    Biju K

  • AT USER COMMAND is not getting triggerd

    Hi Techie's
    I have two fields on the selection screen
    1) Name:   ___________
    2) Id:         ___________
    I have some buttons say on the Application toolbar say::
    Save            Delete            Modify           Exit
    I have created these buttons in the INITIALIZATION event.
    I am using AT Selection Screen OUTPUT for some logic purpose.
    Later I am writing AT USER COMMAND and pressing  SAVE The function code for SAVE is "SAV".
    But the drama is that AT USER COMMAND is not getting triggered at all.
    It goes first to Initialization--->At selection Screen OUTPUT>Then screen appears> I give the values and press the SAVE button--
    again it goes to the At Selection screen OUTPUT.
    Not even getting the hang of it. Please help if anybody know the story of it.
    ITS SO URGENT.

    At user command is for list processing, you need something like this:
    Pushbuttons in the Application Toolbar
    In the application toolbar of the standard GUI status of the selection screen, five pushbuttons are predefined with the function codes FC01 to FC05, but are inactive by default. You can activate them during the definition of the selection screen as follows:
    SELECTION-SCREEN FUNCTION KEY i.
    The numbering i must be between 1 and 5. The individual function texts must be assigned to the functxt_0i components of structure sscrfields before the selection screen is called. You must declare this structure as an interface work area using the TABLES statement.
    If the user chooses one of these buttons, the runtime environment triggers the AT SELECTION-SCREEN event and the function code FC0i is placed into the component ucomm of the structure sscrfields.
    After the AT SELECTION-SCREEN event has been processed, the system displays the selection screen again. The only way to exit the selection screen and carry on processing the program is to choose Execute (F8). Consequently, the pushbuttons on the application toolbar are more suitable for controlling dynamic modifications of the selection screen than for controlling the program flow.
    REPORT demo_sel_screen_function_key.
    TABLES sscrfields.
    PARAMETERS: p_carrid TYPE s_carr_id,
                p_cityfr TYPE s_from_cit.
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2.
    INITIALIZATION.
      sscrfields-functxt_01 = 'LH'.
      sscrfields-functxt_02 = 'UA'.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
          WHEN'FC01'.
          p_carrid = 'LH'.
          p_cityfr = 'Frankfurt'.
        WHEN 'FC02'.
          p_carrid = 'UA'.
          p_cityfr = 'Chicago'.
      ENDCASE.
    START-OF-SELECTION.
      WRITE / 'START-OF-SELECTION'.
    This defines a standard selection screen with two parameters. In the application toolbar, two pushbuttons are assigned the texts LH and UA and activated.
    When the user clicks one of the buttons, the AT SELECTION-SCREEN event is triggered and there the input fields are preassigned correspondingly.

  • Tax code not getting picked up from PO during SES

    Dear Experts,
    I am looking for configuration where the end user need not enter Tax code during SES. I tried a scenario where I did not maintain any service master and also did not enter any line item in service tab at item level, rather I processed my PO using limits.
    Now when I prepare SES using this PO, Tax code is not getting picked up from PO and some tax code(I1) appears. Since I don't want end user to input any tax code I've left it blank.
    Finally when I am doing MIRO, i am not able select the desired Tax code(say I8) as it is not available for selection. I get only one Tax code(say I1) available for selection. Even other Tax codes are not available for selection.
    Please advise, how do I resolve this, why is the Tax code not getting picked up in SES? and why am I not getting other tax codes for selection in MIRO?
    Thanks and Regards
    Mansih

    Hi,
    Tax for service maintained in the service PO in the INVOICE TAB in item details. You are not going to maintain the service tax during SES. In SES you are just recognizing / confirming the vendor performed /completed the required service given to him.
    During invoice tax code will flow from service PO to Invoice & you need to just select check box u201Ccalculate taxu201D & remove default tax code in MIRO, if any tax code set for default entry in MIRO. If you want your service tax code should appear in the MIRO screen then just activate in t.code:OBZT (relevant for all transaction),then  you can select your service tax code during invoice verification WRT service PO.
    Regards,
    Biju K

  • Transaction logs not getting cleaned up

    I'm using Directory Server v5.2 on Windows 2000 and we encountered a situation over the weekend where our server ran out of disk space (5GB Drive w/ 1.3 DB free at the start of the test). When I looked in the slapd-mydir\db directory, it was filled w/ over 900 log.00000xxx files totalling 1.3GB in size. (About 10K each).
    These are the transaction logs I believe and I do not see why they are not getting cleaned up.
    Restarting slapd did not fix it. And deleting those files causes the directory server to complain vigorously about missing log files.
    Every other server in our lab I checked did not have this problem - only this one. Any thoughts on how this can happen and what one can do about it? We are running w/ default attributes and settings for transaction logging.
    We are now having to completely re-install this server.

    Hi, I�d like to know how as you solved this problem.
    HC

  • Can not get an ip from pppoe server

    Hello,
    i have this problem with linksys WRT54GL it's can not get ip from server but the problem with with the router not the isp coz i used another router WRT54S it's work great,
    i'm using the last update for WRTS54GL V1.1 (4.30.14).
    THE PROBLEM FROM ROUTER I THING FROM THE SOFTWARE 
    IS THERE ANY SOLUTION FOR THIS ???
    THANKS 

    Thanks for replay 
    first the modem work as bridge 
    the router can not connect to the server 
    in status page the error is "can not get an ip from pppoe server" when i used the WRT54GL
    if i used other router (WRT54GS) it's connect and get ip and DNS on the status page 
    the user and password is correct .
    the router(WRT54GL)  work when i used DHCP  but not connect when i used PPPOE protocol 
    1.WORKING     modem(bridge)------>router (WRT54GS)PPPOE----------> Router (WRT54GL)DHCP-------> PC
    2.WORKING     modem(bridge)------>router (WRT54GS)PPPOE-------> PC
    3.NOT WORK   modem(bridge)------>Router (WRT54GL)PPPOE-------> PC
    i need the third scenario.
    i think the problem with the router not with the configuration.
    Thanks

  • I can not get link-value  from af:tree.

    Hello.
    I use jdeveloper 10g.
    I can not get link-value from tree.
    I use following code:
    <f:facet name="nodeStamp">
    <h:panelGroup binding="#{backing_dialogDic_dic_ETS.panelGroup1}"
    id="panelGroup1">
    <h:outputText value="#{item.vidNum} #{item.vidName}"
    binding="#{backing_dialogDic_dic_ETS.outputText1}"
    id="outputText1"/>
    <af:commandLink
    binding="#{backing_dialogDic_dic_ETS.commandLink2}"
    id="commandLink2"
    action="#{backing_dialogDic_dic_ETS.returnObject}">
    <af:setActionListener from="#{item.idVid}"
    to="#{processScope.ETSId}"/>
    <af:objectImage source="/images/icons/10.gif"
    shortDesc="Выбрать"
    binding="#{backing_dialogDic_dic_ETS.objectImage2}"
    id="objectImage2"/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    </af:tree>
    //in java bean:
    public String return_Object() {
    Object ob = JSFUtils.getManagedBeanValue("processScope.ETSId");
    System.out.println(o);
    return null;
    In console I see null.
    How I get this value???
    I can get this value if i use treeTable instead of tree.
    Thx, Dema.

    Hi,
    not that I think it matters, but the processScope is not a managed bean but a memory scope. So if
    JSFUtils.getManagedBeanValue("processScope.ETSId");
    assumes a managed bean then this may be incorrect as most likely there exist no managed bean with this name. You should be able to access the process scope from AdfFacesContext.getProcessScope(), which then returns a Map, which you call get("ETSId") on
    Frank

  • I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    POP: yahoo, aol, comcast/time warnder/road runner
    Imap: google, hotmail, and more including icloud.
    If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically  Icloud or Hotmail would be my choices right now.
    To find out more about what happens to you, search on Google "difference between pop and imap"

  • IPhone, can not get it out of Auto-lock

    On occasions once my 3g Iphone has gone into autolock I am unable to use the phone again. I can not get it out of auto lock, I have tried restarting but it maskes no difference.
    I often have to ring it from another phone to bring the Iphone back to life, which is rather annoying and I am not always by another avaliable phone.
    Does anyone else have this problem, or know how to fix this? Thanks

    Have you tried reset (page 34 of the manual)?
    Restore - page 141?
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawa

    I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawal or what!! Lol

    Hi there,
    Firstly, try a hard reset. Hold the sleep/wake and home buttons together until the Apple logo appears.
    If this doesn't work, try restoring your device. Put it in recovery mode if iTunes doesn't recognise it, and restore it from there. I have linked to instructions below.
    Recovery Mode and Restore - Apple
    Let me know if this helps,
    Nathan

  • Solution Manager does not get service definitions from SAP in self diagnosi

    Hi,
    In our production solution manager transaction solution_manager, self diagnosis we are getting a warning message on our development solution manager. 
    Solution Manager XXX does not get service definitions from SAP.
    The production Solution Manager is the master in SDCCN for the test Solution Manager.  In the test Solution Manager, the scheduled task REFRESH SERVICE DEFINITIONS has task System ID of O01.  It is pointed to RFC destination SDCC_OSS, not the production Solution Manager system.
    It gives the same warning if I point the task to the production Solution Manager system.
    Has anyone seen this before?  Any ideas?
    Best regards,
    Russ

    Hi,
      i guess have you activated SDCCN from your solution manager system too?
    if not please activate. since that setup helps solman retrive the service definitions used in SDCCN from SAP (SAPOSS).so this ultimately allows you to set solution manager system as Master, so all the satellite system get the service definition from solman and do not need a direct SAPOSS connection.
    and Please check this Note 1143775 - SAP service content update
    the wiki for trouble shoot ["EarlyWatch Alert is Red Flagged - how to resolve" |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=228262728]
    please check.
    Thanks,
    Jansi

  • I can not get sound out of the HDMI output on my mac mini. happened before after unpluging headphone and had to change some hrz number.

    I have had this problem before. I just cant remember how I fixed it. I am not getting any sound from the HDMI output. Everything is selected properly and volumes are set correctly. Last time I had to change a megahrz thing and thats where I am stumped.

    Mac HD/Applications/Utiltiies/Audio MIDI Setup
    441000 or 48000 Hz for Format

Maybe you are looking for

  • Hyperlinks change in Word doc to local drive

    I have an issue with with a Word document that has hyperlinks in it to other sharepoint sites. When I open Document1 from its orginial location in SharePoint Doc Library, it opens fine with all links working. When I goto a link on a SharePoint site i

  • Vista PPTP disconnect crashes Time Capsule

    PPTP VPN pass-through on Time Capsule's Wi-Fi Airport connection works well when using Microsoft XP, Mac OS X 10.5.2, and the iPhone PPTP VPN client. It connects fine using Vista but, on disconnecting Vista's PPTP client, Time Capsule crashes and reb

  • How I can change skype name ivokaryon to ivonoros

    How I can change skype name ivokaryon to ivonoros

  • Printing  Adobe form using Webdynpro Java

    Hi All, I have a requirement to integrate data coming from web services onto a adobe form on the Portal. This form needs to be generated in the background and then automatically sent to the local printer attached to the pc. The idea is that the user

  • Downloading an order using a different e-mail

    My colleague registered his information, including e-mail, when ordering and paying for the RoboHelp 9 upgrade. However, it is to be installed on my pc, and I want to use my previously registered Adobe ID to download. But when I log in with my ID the