"Internet of Things applications and maintenance" database timing processing based on SQL Sever R2

Source: Internet
Author: User

--SQLServer : --1. Open Sql server management studio, and in the Object Explorer list, select SQL  server  agent "; --2. Mouse right-click on" sql server  Agent ", select" Start (S) ", if started, you can omit this step; --3. Expand the sql server  proxy list, right-click jobs and new job; --3.1   in the General tab: --        Enter the job name, such as" My Job "; --3.2   in the" Steps "tab: --3.2.1  Click" New ", enter" step name ", such as" Step 1 ", type the default T-SQL script, you can also select SSIS package, etc. --3.2.2  Select the database you want to work with in the database column, enter the SQL code to execute in the blank edit bar on the right side of the command,         --       can also click" Open "under the command to open the. SQL script; --3.2.3  input run script, it is recommended to click" Analysis "to ensure that the script syntax is correct, and then click the" OK "button below; --3.3   in the Schedule tab: --3.3.1  Click" New ", enter" plan name ", such as" Plan 1 ", the plan type default is" Repeat Execution ", you can also choose to perform once; --3.3.2  select" Daily "," weekly "or" monthly "at" Frequency "and" execution ", taking" daily "as an example, the interval time input interval is executed once a few days, --       below you can also choose to perform one-time or interval-by-day recurrence --3.3.3  in duration Select the start date and due date for the scheduled execution, and then click the OK button;         --Note to set the service to start automatically, or the job will not run after restarting the server. --How to start the Proxy service: --start-up and run-input services.msc--> find the service for the sql server  agent and double-click Startup type Select Automatic and OK   

"Internet of Things applications and maintenance" database timing processing based on SQL Sever R2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.