How can I deliberately crash a SQL service?
(I *thought* that would get your attention!) I had a SQL Agent service stop unexpectedly and I didn't find out for a couple of days. So I've found out from a previous question how to set up a...
View ArticleSchedule Executable File From JobAgent Sql 2005
How do you schedule an executable file to run in SQL Job Agent, SQL 2005?
View ArticleSQL Job Output file - Can I append datetime?
Hello, So I have a simple select statement running at a specified time everyday. I'd like to append the current date and time to the output file. Is it possible to achieve this in the 'JOB STEP'...
View ArticleSql server Jobs Kick Start
Hi , I have around 20 jobs in my agent. Each time when i restart my job i need to restart all the jobs.Is there any easy way around using a sql query instead of doing this one by one. Thanks in...
View ArticleHow do you add a "Run as" user to a SSIS Package Step?
I am trying to set up a duplicate SQL Agent/SSIS job in our development environment to one we have inherited in production. The job step is of type SQL Server Integration Services Package, and we get...
View ArticleSQL Server agent
SQL Server 2008 R2 web edition SQL server agent will not start. Trying to run under network service which is the same as SQL server. SQL server is running fine. Every retry NO SQL agent log no entry in...
View Articlelist of sql jobs on the server
I need a query to find the list of sql jobs on the server . What is the query
View ArticleServer Agent Job Logs
I've got a server agent job scheduled to run every morning. This job contains about 15 steps and one of the steps uses an SSIS package which get data from an iseries database. Occasionally this job...
View ArticleArgument "Server1" for option "connection" is not valid. The command line...
I have a SSIS package run fine in BID, but when run as a sql agent job, it failed at the error: Argument "Server1" for option "connection" is not valid. The command line parameters are invalid. The...
View ArticleSQL Agent does not restart automatically on reboot
I have SQL Server 2008 set up on Windows Server 2008.I use LocalSytem account as service account for both SQL Server Engine and SQL Server Agent.When ever I reboot server the SQL Server engine starts...
View ArticleHow would I send out a backup to another server from SQL Server Agent?
Hello All, I have a job that creates backups of one database on a daily basis. I need to know how I could send this backup to a drive on another server. At first I tried to replicate the database all...
View ArticleStability problem for Excel commander report using RDBMS and OLAP
Hi All. I have not much experience in Business intelligence area. I am facing a problem in regarding stability of a report. We are providing the Business users an Excel report in Retail Sales Reporting...
View ArticleSQL2008 Express affecting SQL2008R2 agent
Anyone experienced this scenario before? I have a SQL2008 R2 standard server with 2 instances. SQL Agent service runs under a domain account, specifically created for running SQL services. Has been...
View ArticleSQL agent job not deleting a file via ssis
Dear All, I have a SSIS package that deletes older log files from a location. The logic is based on modified date. It works fine when it is executed manually but when it is scheduled via a SQL Server...
View ArticleI need to delete a file from one particular path.
Hi, My job is automate the trace for our customer. so, i will start the trace automatically through a schedule job. This job will save a trace in the particular path Eg:...
View ArticleHow to do documenation of sqlagent jobs
Hi All, How can I do documentation of SQL agent Jobs in 2000 ? Thanks
View ArticleManage sql server agents jobs
How do we manage the SQL Server Agent Jobs automatically in SQL 2012 when we attempt the Failover between primary and secondary Nodes?
View ArticleSQL 2k5: How to determine memory usage for each job
Windows server 2003 SP1. SQL server 2005 SP3. We have a number of jobs executing under SQL Agent, around 30. Every 10 to 20 days, the SQL agent starts gobbling huge amount of memory, probably following...
View ArticleWhy can I use the cmd.exe on a vbs file but not a bat file?
I am using SQL 2008 R2 on Server A. In a SQL job, I set the following command to execute on a different server. **cmd.exe /c "\\\\mchsbiess01p\\Scripts\\Test\\TestEmailUtility.vbs"** with success. when...
View ArticleSQL Procedure working when run manually, not running from sql server agent
I have a procedure that runs fine using the execute command in SSMS, however putting the same command in a job gives the following error.> line 9, character 9, unexpected end of input The code takes...
View Article