Quantcast
Channel: Questions in topic: "sql-agent"
Browsing all 80 articles
Browse latest View live

If we change Agent Job routine in DBA Task? Pros or Cons?

In My production Server, There is Agent Job routine **Backup Database Task-->Check Database Integrity task-->Rebuild index task-->Shrink Database Task-->Update Statistics Task.** Each Task...

View Article


Sql server agent to look for files

Is there a way to create a sql server agent job where the program will keep looking for a directory to find certain files and if the files are found then move to the next job? I guess I’m looking...

View Article


sql server Agent Job issue

I create one job to perform some task. I configered well and its schudelued well and good. The problem is the job not doing its work but am not getting any earrors related to that job, its agent...

View Article

how to find child PID in sql server

i have sql agent job running which launch an .exe file when i checked it is waiting with PREEMPTIVE_OS_PIPEOPS, if i stop it job will be stopping but in background this spid keeps running, i took the...

View Article

SSIS job fail due to ADO NET Source has failed to acquire the connection

Hello, I have an SQL server 2012 SSIS package that runs fine in Visual Studios (BIDS) but when I try to schedule it in SQL Agent Service Job, I get the following error: Description: ADO NET Source has...

View Article


SQL Agent Job Fails in the middle of the job

I have an agent job that normally runs weekly on a scheduled time and it usually runs without any problem. I ran the same job twice manually by right clicking the job and clicked “start job” but both...

View Article

SQL Server Agent will not start

My problem started with a broke logon trigger. When I went to sqlcmd and did the disable and logged back in the agent would not start again. I have done a repair of the SQL server installation. I have...

View Article

Procedure Hangs from SQL Agent Job, Same Proc Runs fine in SSMS 2008 R2...

Hello, I have a Linked server to another SQL Server 2008 R2, and a stored procedure which executes queries utilizing both the local server and the linked server. When the procedure executes from a step...

View Article


Growing working set and private bytes for sqlserver and sql agent

We have SQL Server 2012 Standard SP1 to be used by sharePoint 2013. We are monitoring working set and private bytes for SQL server and sql agent. It is increasing everyday by few MBs. I suspect in few...

View Article


Unable to start SQL Agent

Hi All, When i try to start my agent services, I am getting This error. please help me, ERROR Details: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this...

View Article

SQLExpress 2012 SP2 issues

I installed SQLExpress 2012 with advanced services on my new Win 8.1 laptop. Since windows update is allowed to update all microsoft products, SP2 was installed also. After the update, i noticed 2...

View Article

Where does SQL server store job failure error messages?

I have a job that inserts records in 10 tables every day at 10 pm. However, if any insertion in any table fails the job stops. I want to know what is the cause of failure. Where does SQL server store...

View Article

Merge agent failure-SQL Merge replication

Hi All, I have a a publisher which runs as a distributor and 4 subscribers. Using push merge replication. When I checked my replication monitor, I noticed that one subscriber was not synchronizing data...

View Article


what is the fifth job that will be created in log shipping?

what is the fifth job created in log shipping Apart from 1.backup job on primary 2.copy job , restore job on secondary and alert job

View Article

PowerShell versions in SQL Server Agent 2008 R2 - How to upgrade from V1.0 to...

I have question about using PowerShell in SQL Server Agent on SQL Server 2008 R2. * What circumstances would lead to only having PowerShell V1.0 available in SQL Server Agent task steps (even when...

View Article


Sql agent job failed with sql_severity = 16 and sql_message_id = 16389.

There is no error message in the job history. Is there any other table from where I can get the error info???? The job has sql_message_id = 16389 and sql_severity = 16. What does they mean????

View Article

Can anyone help with a sql script that queries msdb to get failed agent jobs...

Can anyone help with a sql script that queries msdb to get failed agent jobs and sends out an email ?

View Article


SQL Server 2012 Agent Service runs for about 4 minutes then stops

I am experiencing a really odd issue at a client site. They have SQL Server 2012 Standard edition and their SQL Agent Service starts without an issue and then after about 4 minutes it stops. I can...

View Article

Check if SQL job is running or not

If I execute below statement to check SQL job running status, it gives me correct result. DECLARE @JOB_NAME NVARCHAR(100), @JOB_ID AS UNIQUEIDENTIFIER, @StopDate DATETIME; SET @JOB_NAME = N'MyJobName';...

View Article

How do we sync Jobs in AlwaysOn Availability Groups

I have two servers, Server A and Server B. I have linked server between Server A and Server B. I have SAME JOBS on Server A and Server B. I need TSQL to get below information in 1 table 1. Schedule and...

View Article
Browsing all 80 articles
Browse latest View live