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

SQL Agent Scheduling to run on specific days.

Hello! I need to schedule a job to run on the 1st of month ,31st and Monday(excluding the near Mondays for first of month and end of month). So for November 2015 it will be executed on the 1st,9 th,16...

View Article


How SQL Jobs will work in always ON configuration?

As per my understanding "Always ON" configuration internally have two nodes and active node will always serve the request. But suppose I have SQL Jobs in these nodes then how can I enable/disable these...

View Article


How to find who has modified maintenace plan backupjobs?

Hi folks, Recently we had a trouble, in Maintenace plan for backup jobs we configured as retention period of older than 4 weeks jobs has to be deleted automatically. but someone has changed the rention...

View Article

Unable to execute the same query by some connections to the database among 5...

i had 5 connections to the database(sqlserver2012)among first 2 connections executed the connections and 3rd connection failed to execute the same query. 2016/04/28 20:03:39 普通: Creating statement Done...

View Article

Needing help outputing Sql report to .csv to network folder

I have a sql report that I have scheduled to run every day within the SQL 2008 R2 - SQL Service Agent. My problem is, I need the output for Sql report to automatically download as a comma delimited...

View Article


SSRS Subscription run causing locking of the tables and results in SQL Agent...

I have one SSRS report which has been scheduled to run first 10 days of every month and has been in place since 2015 but from last week onwards, the scheduled report subscription run had been taking...

View Article

SQL Agent CmdExec proxy ignored

I am trying to execute a batch file from a SQL Server Agent job cmdexec step. I created a proxy to execute as my domain account (just testing on my machine for now) and assigned that proxy to the job...

View Article

Stored Procedure : Inconsistent times of Execution

Hi Guys I have been facing a scenario where one of the stored procedure is taking more time to execute on certain days than the other. The maximum time it takes is arround 10 minutes and the least is 3...

View Article


SQL Job running long. Need timing for each stored proc running.

Hi, I have a job that just started running long. There is only 1 step which executes a stored procedure. That stored procedure kicks off multiple stored procedures when processing. I'm trying to...

View Article


Sql agent Job

There a SSIS which is set up to run as a job in SQL agent. The jobs executes successfully in visual studio but fails when run as SQL agent job with the follow error messages.

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

Can powershell script in sql job step call the next step in the same job

I need to call Step 2 only if criteria is met and it is a certain time of day. Here is the PS script for Step 1 Step 1 - check for files $Checktime = Get-Date $jobName = "Check For Files" $stepName =...

View Article

SQL server agent not starting

Please help : I am trying to restore msdb database backup taken in SQL server 2008 R2 (SP2) to SQL server 2016. Database restore completed successfully however SQL server Agent is not starting. Agent...

View Article


ssis schdule in ssms

I installed sql server 2017 including SSDT . there is a pckage i created on SSIS and i want to schdule it in SSMS . when i run the job . this is the error i am getting . "Executed as user: NT...

View Article

can't find the object that is running this SQL job

I have a disabled SQL job with no schedule and I can't find the object that is running this job.It's using a service account and is being executed at the same time every day.I have searched for the job...

View Article


Granting user accounts rights to run only specific SQL agent jobs that run...

We have a couple of users that we only would like to run SQL agent jobs that would execute SSIS packages and don't want them to have access to any other thing except to run the jobs. Is there a way I...

View Article

Agent Job Error- Sql Linked Server Job error (Error 7350)

I have a scheduled job that is running everyday. The job step is to execute a stored procedure for hourly caching logic for Case load Data.The job has been successful until yesterday afternoon when it...

View Article


Job Schedule Management tools and techniques

My company has several SQL servers and a few other servers that run jobs, tasks and processes that affect our data. I would like to start managing these jobs as a big picture/view from above...

View Article

Syntax Error While Running Powershell Command Through SQL Agent

Hey Everyone, I know this will be something simple but hey it's Friday and i can't see the syntax error. Looking for a second set of eyes to help me out here.I have a SQL Agent job that runs a simple...

View Article

Image may be NSFW.
Clik here to view.

SQL Job schedule got disabled

Hi,I am trying to investigate whyall jobs for a particular database were detached from schedule (though jobs were not disabled) but did not trigger having no schedule. (I have attached a screen shot,...

View Article
Browsing all 80 articles
Browse latest View live