Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Can I run jobs that modify a specific Table
Tue, Oct 27 2020 3:48 AMPermanent Link

Hershcu Sorin

Hello
I have an application with several databases
I want to define a Job that will run an SQL command on a specific table.
For example: Once a month it will delete old records from a table.

Thanks for support
Sorin
Tue, Oct 27 2020 8:00 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Hershcu


All a job is doing is running an sql command so if you can write the sql then it will be run. Since you have multiple databases you will either have to use the USE - have a look in the manual - or preface the table with the database name. That should be all.

Roy Lambert
Image