Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Automatic SQL Server DB Operation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Automatic SQL Server DB Operation

 Post Reply Post Reply
Author
AlexW View Drop Down
Newbie
Newbie
Avatar

Joined: 15 April 2011
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote AlexW Quote  Post ReplyReply Direct Link To This Post Topic: Automatic SQL Server DB Operation
    Posted: 21 July 2011 at 5:24pm
Hi,
I want to purge data automatically from my SQL DB hosted on WebWiz.  Think the best way would be to create a stored proceedure, can I set a task from the 'myLittleAdmin' section that manages the database to run this SP say every 30 days?
 
Would there be a better way of going about this?
 
Cheers,
Alex
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole
Status: Offline
Points: 9740
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2011 at 6:39pm
myLittleAdmin is simply a database editor allowing you to create, edit, and delete tables and stored procedures in a database, it's not able to automatically run anything.

I would suggest the best way would be to manually call a stored procedure or clean out the database once a month and then shrink the database to free up the empty space to allow it to be reused.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.05
Copyright ©2001-2022 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2022 Web Wiz Ltd. All rights reserved.