Home > database > Used to query a list of records every day
Used to query a list of records every day
Time:09-30
The actual scene: Database has a data table, there are a large amount of data generated every day, every day query data from the day's Best can cycle through set the starting time to the current query time data are output
At the same time there are a few other table query whether (executing scripts) can also according to the cycles of time automatically output
CodePudding user response:
Write a statement, to create a schedule,
CodePudding user response:
Use the Sql Agent (Agent) can do homework time task:
CodePudding user response:
Do a view table, or written in proc, On the proxy plan execution,
You can query anytime and anywhere, not very hard
CodePudding user response:
Use plan, task execution statement set a variable assignment using date function, so that you can query a day