BTS-ISEM-INS-006 Setup SQL Server EOD Job
BTS-ISEM-INS-006 Setup SQL Server EOD Job
EOD JOB
CORAL iSEM™
PROVIDED BY
3 PREFACE ........................................................................................................................................................... 3
4 INTRODUCTION ................................................................................................................................................ 5
4.1 OVERVIEW...................................................................................................................................................................5
4.2 PREREQUISITES .............................................................................................................................................................5
6 APPENDIX ......................................................................................................................................................... 9
6.1 REFERENCES.................................................................................................................................................................9
BTS-ISEM-INS-006 Page 1 of 10
2 DOCUMENT CONTROL
Author: Hafizul
BTS-ISEM-INS-006 Page 2 of 10
3 PREFACE
1. TESS Definition
TESS Innovation Sdn Bhd is hereinafter referred as “TESS” of the other part in this
document.
2. Document Confidentiality
This document contains information that is proprietary to TESS. This document, or any part
thereof, shall not be copied, reproduced, translated or reduced to any electronic medium or
machine readable form or disclosed to any third party without the prior written consent or
authorization of TESS.
3. Purpose of Document
The purpose of this document is to clearly provide guidance on how to setup SQL server
EOD job for CORAL iSEM™.
4. Intended Audience
5. Document Control
This document is subject to change control. All changes to this document shall be
documented and distributed as “Release Version”. It will consist of the following: -
Each revision will be assigned with a unique “Release Version” number and date. All pages
distributed within a Document Release Notice will have the appropriate Release Version
and Release Date indicated.
6. Screenshots
All sample screens as attached are for the reader’s viewing purpose only. The actual screen
displayed in the CORAL iSEM™ system shall be based on the specification of The
Customer’s as agreed upon.
BTS-ISEM-INS-006 Page 3 of 10
7. Disclaimer
➢ All advice given or recommendations made in this document are made in good faith on
the basis of the information provided and otherwise generally available or known to TESS at
the time of writing.
➢ Subject to the contents of the Supply of Software, Licensing and Service Agreement
executed, TESS shall not be liable for any loss, expense, damage or claim arising out of the
advice given or not given or statements made or omitted to be made in connection with this
document.
8. Abbreviation &Definitions
Abbreviation Definition
BTS-ISEM-INS-006 Page 4 of 10
4 INTRODUCTION
4.1 Overview
SQL Server Agent is a Microsoft Windows service that executes scheduled administrative tasks,
which are called jobs in SQL Server 2017.
SQL Server Agent uses SQL Server to store job information. Jobs contain one or more job steps.
Each step contains its own task, for example, backing up a database. SQL Server Agent can run
a job on a schedule, in response to a specific event, or on demand. For example, if you want to
back up all the company servers every weekday after hours, you can automate this task.
Schedule the backup to run after 22:00 Monday through Friday; if the backup encounters a
problem, SQL Server Agent can record the event and notify you.
4.2 Prerequisites
1. Require to install SQL Server 2008 R2, 2012 SE, 2014 SE or 2016 SE
2. Require to add on services – SQL Server Agent
BTS-ISEM-INS-006 Page 5 of 10
5 INSTALLATION SETUP
5.1 How to Create a Job?
2. In the Object Explorer, click the plus sign to expand server where you want to create a
SQL Server Agent job.
3. Click the plus sign to expand SQL Server Agent.
4. Right click the Jobs folder and select New Job…
5. In the New Job dialog box, on the General page, modify the general properties of the
job accordingly.
6. On the Steps page, organize the job steps. Main highlight as below:
Legend Description
Type Type of execution for SQL Server agent
Note:
BTS-ISEM-INS-006 Page 6 of 10
5.2 How to Create Scheduler?
1. In Object Explorer, connect to an instance of SQL Server Database engine and then
expand that instance.
3. Right click the job you want to schedule > click Properties
6. Tick Enabled checkbox if you want the schedule to take effect immediately following its
creation
10. Set when is the first Duration start date and select No end date for the job scheduler
BTS-ISEM-INS-006 Page 7 of 10
5.3 How to View EOD Job History?
1. In Object Explorer, connect to an instance of the SQL Server Database engine and
expand that instance
1. In Object Explorer, connect to an instance of the SQL Server Database engine and
expand that instance
3. Select the History page and then confirm that Limit size of job history logs to checked.
4. In the Maximum job history log size box, enter the maximum number of rows the job
history log should allow
5. In the Maximum job history rows per job box, enter the maximum number of job
history rows to allow for jobs
BTS-ISEM-INS-006 Page 8 of 10
6 APPENDIX
6.1 References
Note:
1. For full reference on SQL Server Agent, go to https://docs.microsoft.com/en-
us/sql/ssms/agent/sql-server-agent
BTS-ISEM-INS-006 Page 9 of 10