Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    153

    Smile Unanswered: providing time scheduling to temporary tables.

    Hi guys,
    I have a doubt. I want to know whether it is possible to schedule a time for a temporary table or not. For example, I want to have a temporary table and store data in that table. after every 24 hours data from that table should get removed / deleted.



    Thanks

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Do you mean a #temporary table, or a normal table to store "temporary" data? There is a considerable difference.

    SQL Agent can easily manipulate normal tables. Only the spid that creates a #temporary table can easily access that table.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •