I have almost completed a full project by myself which is soooo exciting. The last thing I need to do is schedule a job to run the query on a specific day and time. So how do I do this? It asks me for a command and I am not sure what I am supposed to enter in here.
http://msdn2.microsoft.com/en-us/library/aa177009(SQL.80).aspx i need to schedule asp code execution using SQL Stored Procedure ...im not allowed to connect using Enterprise Manager is it possible in ASP and in case how?
Hi all, I want to make a job schedular in SQLServer 2005. That is i want to send email to users daily at 12:00 PM. how can i schedule using SQLServer Agent in SQLServer 2005. And i want to filter the users from user table. Please help me Thanks!
I have lots of DTS Packages that I am running manually daily and I am trying to create schedule all of those and all of them are failing. Some of those are accross domians,but the owner on both domains have same userId and password.
Any Idea why this is failing would be really helpful
I would like to import data via DTS from one db to another to run every half hour.What would be the easier way to do this?Should I setup a job to run every half hour?
If anyone could help with some suggestions , it would be appreciated.
When I try to schedule a DTS package which is an EXE it doesn't run. If I just run the DTS package it works fine. I have checked the permissions of the DTS scheduled package and made sure it had proper rights. SQL Server Services were started with the proper security rights. When I schedule the DTS package, it is being done on the Server, and not a workstation. Any ideas on why it will not run?...
Also, How do you schedule and EXE under SQL Server Agent Jobs. Even when I schedule an EXE that is not a DTS package it doesn't run...
Im trying to schedule a DTS package that I have created. When I right click on the package in Enterprise Manager and click on "Schedule" I get the options to set up the job to run on a schedule.
I fill out the time and click "OK". But when I immediately right click on the package again, all my settings are gone, and the defaults are back in place.
How do I know if the package will run- or if it did run?
I would actually prefer to run the job from a command line using a Scheduled Task... What would the syntax be? My DTS Local Package is named "IMPORT_DAILY_UPDATE"
I create a new in SQL Server Agent. However, When I click start Job at step, the first step start immediately,not the schedule I set. So How can do I make it to run at the schedule time?
I have MS SQL installed on my workstation at work. I am trying to use DTS to export data from our local network that uses a Pervasive DB to our web server that is hosted with another company.
If I go in and manually execute the DTS package from my workstation, it send the data to the web server.
If I try to schedule the DTS Package to automatically send the data, it fails. SQL Server Agent is running on my workstation and on the web server.
Is what I am trying to do possible? What am I doing wrong?
I want to create a job to run once a week in sql server agent jobs. Setting up the the job to run is no problem. I want the job to run a sql statement that will retrieve sql. I then want the records to be inserted in a txt file. What is the best way to accomplish this.
anyone ever encountered this....i have a package which will execute fine manually but when i try to schedule it, it fails immediately (within the first second).i can even right click on the scheduled package and do "generate sql script" and then run that script and again, no problem. it just will NOT schedule.any ideas?
I create DTS package and when I want to schedule the package an error occures. The message says : Microsoft SQL-DMO Connection user failure (null) Non associate to a secured SQL server link
I have a DTS package that I can execute manually all I want, no problem.
However, when I try to schedule the package to run as a job, it error when it tries to connect to my remote database, giving me comments about the ODBC driver (which is installed correctly).
My best guess is that when I run it manually, it running under my userid/password (NT authentication), but when it runs as a job, it is using the SQL Agent, which has a different level of authority somehow.
This may be a no-brainer, but I've looked at everything I know of.
Hi, I want to schedule a job as sending a mail as below : xp_startmail xp_sendmail 'krishna_14770@rediffmail.com','hello krishna' xp_stopmail. In enterprise manager/Sql query agent, I have the option to set a job. But nowhere it is accepting code I wrote above. How to schedule the above job to be run every day. Regards Krishna
I have been tasked with creating a web interface that kicks off a DTS package. The problem is that the DTS package takes a long time to run and basically hangs the browser until the process is complete...not good, and bumping up the script timeout in IIS doesnt help either. What i need to be able to do is schedule the package to run immediately rather than just execute it. That way I should be able to regain control of the browser as soon as the job has been scheduled. Does anyone have any code samples on how to do this? Any feedback would be greatly appreciated.
I have severe problems with the DTS. I am trying to import data from a dbf file to a table in SQL sErver 2000. I have built a DTS package. When i run it in the Data Transformation Service i works fine. If i try to schedule it in the DT Service it fails, if i try to schedule it by manually make a schedule it fails
This is the step code in the Job Schedule
Please help
Tom -------------------------------------------
Dim oPackage, strResult Set oPackage = CreateObject("DTS.Package2") oPackage.LoadFromSQLServer "srap01", "sa", "7eAsy9", DTSSQLStgFlag_UseTrustedConnection, "", "", "","DTSrn" oPackage.Execute Set oPackage = Nothing
Hello , I need create tasks, which will be wake up daily to backup 4 databases. My questions are: 1. Can I create 1 task to backup all databases using TSQL command? Ex: DUMP DATABASE test1 to test1_backup DUMP TRANSACTIONS test1 to test1_backup with truncate_only DUMP DATABASE test2 to test2_backup DUMP TRANSACTIONS test2 to test2_backup with truncate_only Etc. If it’s possible can I just print this command to ‘Command:’ text box in the ‘New task’ window without writing the TSQL command into a text file and execute it with the ISQL program through CmdExec?????? 2.If first doesn’t work: can I do the same job, but create for every backup own task and run the same TSQL command for particular database. And if I can is it possible to schedule run all 4 tasks the same time or I should put time’s interval? 3. If 1. And 2. Are false. Give me your smart advice.
When I create a package and schedule it for later execution the job is failed at the time of execution. If I choose the Execute Package option for the package which is already exist, or chose the Run Immediately option at the time I create the package it works successfully. Is it a time problem? I would appreciate your help.
Hi all, I am having one DTS package which is excuting fine. When it is put on schedule job it is not working. DTS package coded in VB script which calls a batch file (command prompt runnable). Schedule job history telling that job run successful but actually the process fail. Also i tried to schedule the job using Excmd in schedule job which is also not working...
Can any one tell why it is not running. Any recommendations? thanks in advance.
I want to create an application using CDO for mass mailing, in which I have schedule an email for all contacts. How do I schedule a job from my asp page? I dont want to depend on administrator every time for scheduling job. It will automatically schedule from asp page when user creat an email newsletter.