SQL Agent Scheduling to run on specific days.
How SQL Jobs will work in always ON configuration?
How to find who has modified maintenace plan backupjobs?
Unable to execute the same query by some connections to the database among 5 connections
Needing help outputing Sql report to .csv to network folder
SSRS Subscription run causing locking of the tables and results in SQL Agent job failure
SQL Agent CmdExec proxy ignored
`DEVTOMSTAAB` is my machine name.
Any idea why it would appear to *start* executing as me but then switch to the machine account?
Stored Procedure : Inconsistent times of Execution
SQL Job running long. Need timing for each stored proc running.
Sql agent Job
PowerShell versions in SQL Server Agent 2008 R2 - How to upgrade from V1.0 to higher versions
Can powershell script in sql job step call the next step in the same job
SQL server agent not starting
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 Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 14.0.2027.2 for 64-bit Copyright (C) 2017 Microsoft. All rights reserved. Started: 11:44:39 PM Error: 2019-08-01 23:44:39.57 Code: 0xC001F02A Source: Package Description: Cannot create a task from XML for task "Execute Process Task", type "Microsoft.ExecuteProcess" due to error 0x80070057 "The parameter is incorrect.". End Error Error: 2019-08-01 23:44:39.57 Code: 0xC0010018 Source: Execute Process Task Description: Failed to load task "Execute Process Task", type "". The contact information for this task is "". End Error Error: 2019-08-01 23:44:39.57 Code: 0xC0010026 Source: Execute Process Task Description: The task has failed to load. The contact information for this task is "". End Error Error: 2019-08-01 23:44:39.57 Code: 0xC0024107 Source: Execute Process Task Description: There were errors during task validation. End Error Error: 2019-08-01 23:44:39.57 Code: 0xC0010025 Source: Package Description: The package cannot execute because it contains tasks that failed to load. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:44:39 PM Finished: 11:44:39 PM Elapsed: 0.141 seconds. The package execution failed. The step failed." .
I tried everything even by googling. anyone can help?
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 name everywhere, nothing in any jobs, stored procedures, triggers & functions.
Any help would be greatly appreciated.
(...not sure what the point of disabling a job is, if it can still be run?)
Granting user accounts rights to run only specific SQL agent jobs that run SSIS packages
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 can accomplish this requirement.
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 failed with the following errors:
Cannot get the column information from OLE DB provider "MSDASQL" for linked server "EDV_TBI". [SQLSTATE 42000] (Error 7350)
OLE DB provider "MSDASQL" for linked server "EDV_TBI" returned message "ERROR: TEIID30504 COHORT_PROD_ENT_NICOE: 17008 TEIID11008:TEIID11004Error executing statement(s): [Prepared Values: [] SQL: SELECT DISTINCT g_0."SITE_ID", g_0."DIVISION_DMIS_ID_CODE" FROM "ENT"."CHCS_DIVISION" g_0, (SELECT MAX(g_1."LAST_CHANGED_TIMESTAMP") AS c_0, g_1."DIVISION_DMIS_ID_CODE" AS c_1 FROM "ENT"."CHCS_DIVISION" g_1, "ENT"."CHCS_HOSPITAL_LOCATION" g_2 WHERE g_1."SITE_ID" = g_2."SITE_ID" AND g_1."DIVISION_ID" = g_2."DIVISION_ID" AND g_1."DIVISION_INACTIVE_FLAG" = 'A' AND g_1."DIVISION_NAME" <>". [SQLSTATE 01000] (Error 7412). The step failed.
I am unable to test connections or even run the select statements as above ^ since I am not a mapped login on the remote Oracle server. I am an SA on the local SQL server though.
I have double checked these conditions to make sure that it is not true:
a. Allow Inprocess is not checked for the provider
b. SQL Server service is started as a Local Service
c. The user is a regular user that is part of the Administrator’s group. (either local user or domain user)
d. User Account Control (UAC) is turned off
e. SQL Server Management Studio is opened as the regular user using Windows Authentication
I am suspecting that there may be syntax issues or the query is returning too many rows. But not 100% since I cant run those queries myself. Any other way I can proceed to troubleshoot?
Any recommendations will be helpful.
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 perspective. So, I would be able to schedule maintenance, downtime, special projects, optimize the processes, etc...
Are there any tools out there to help manage scheduled processes across servers? Ideally, I would like to see a ghantt-syle chart similar to the MS Outlook Scheduling Assistant, but I'm very open to other tools and ideas.
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 copy command for a bunch of csv file in a folder to another folder every hour. This is the powershell command I need assistance on as it runs fine in powershell but not through the agent
$source_dir='E:\excel_files\MasterFiles'
$dest_dir='E:\excel_files\Upload'
Get-ChildItem -Path $source_dir\ | ForEach-Object {
Copy-Item -Path $_.FullName -Destination "$dest_dir\$($_.BaseName + '_' + (Get-Date).ToString("MMddyyyy_HHmmss") + $_.Extension)"
}
Thanks in advanced!
SQL Job schedule got disabled
Hi,
I am trying to investigate why
all 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, to identify the Enable check box)
Any thoughts to investigate where shall I look. I could not find any clues from default trace, but have saved default trace into a table
Onwards I am going to setup an Audit.
Hint.
any changes in schedule will modify "msdb.dbo.sysschedules" and we can find the last modification but unable to check previous -- we should have some thing in default trace data.
select name, date_created, date_modified from msdb.dbo.sysschedules where CAST(date_modified AS DATE) = '2022-10-06'