Submit Query As A Scheduled Job....

Dec 25, 2002

I need to have an way to automatically submit a sql query in Sql
2000 - the query joins several lables and exports the info to a file.
Right now I've been doing it interactively in Query analyzer and
using the export to option... I can't use DTS (query way too
complicated!) and the file created is >255 lrecl so that seems to be
a big problem too!

Any suggestions? Save me from this same predicament on New Years Day!
Thanks and Happy Holidays! :(

View 1 Replies


ADVERTISEMENT

Scheduled Query ???????

Apr 20, 2008

hi everyone
i want to execute a sql insert statement everyday at 7 AM .
how to do this ?

here is the query

insert into attendance
{
date,
accountId,
clockIn,
clockOut
}

values
{
now, // current date
accountId, // employee id
null,
null
}


im beginner in sql server, so please elaborate with examples
thanks

View 7 Replies View Related

Scheduled Diagnostic Query

Sep 28, 2007

Hi,

I was asked this question by someone and I didn't know the answer (hence I'm here and hoping someone else does!). They have an SQL database which is accessed via a web front end (not sure of the language) to return query results. Sometimes the queries take a long time (?) to return, whilst at other times the same query is very much faster. They have heard that it is possible to setup a query in such a way that if it takes more than a certain time to run it will generate an alert. This could then be scheduled as a job to aid diagnostics. Anyone know of a way to do this - measure the time taken to run a query and generate an alert if longer than a given time.

Thanks.

View 9 Replies View Related

How To Create Scheduled Query ?

Apr 20, 2008

hi everyone
i want to execute a sql insert statement everyday at 7 AM .
how to do this ?

here is the query

insert into attendance
{
date,
accountId,
clockIn,
clockOut
}

values
{
now, // current date
accountId, // employee id
null,
null
}

thanks

View 9 Replies View Related

Submit To SQL Database

Dec 6, 2006

Hi I am totally new programing and thought I would try my hands on ASP.NET 2.0.  I created a web form that would take user information and submit it to a SQL database.  However I am not sure how to properly setup the SQL connection.  What am I doing wrong?default.aspx.cs:using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;public partial class _Default : System.Web.UI.Page{    protected void MultiView1_ActiveViewChanged(object sender, EventArgs e)    {    }    protected void Button1_Click1(object sender, EventArgs e)    {        String ConnStr = "Data Source=TECATE;Initial Catalog=subscribe_mainSQL;Integrated Security=True";        String SQL = "Insert into main (email,fname,lname,userid,status) values ('" + email.Text + "', " + fname.Text + "','" + lname.Text + "','" + userid.Text + "','" + degree.SelectedItem.Value + "')";    }}   default.aspx:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" EnableSessionState="True" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server">    <title>Email Sign Up Page</title></head><body style="text-align: center">    <form id="form1" runat="server">        <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0" OnActiveViewChanged="MultiView1_ActiveViewChanged">            <asp:View ID="signup" runat="server">        <br />        <table style="background-color: #f0f0f0" width="450">            <tr>                <td style="width: 18px; height: 23px">                </td>                <td style="font-weight: bold; font-size: medium; width: 383px; color: black; font-family: verdana;                    height: 23px">                    Email Subcribe System</td>                <td style="width: 19px; height: 23px">                </td>            </tr>        </table>        <table style="color: white; font-family: verdana; background-color: #5d7b9d" width="450">            <tr>                <td style="width: 19px; height: 20px">                </td>                <td align="center" style="width: 153px; height: 20px">                    &nbsp;</td>                <td align="left" style="width: 18px; height: 20px">                </td>                <td style="width: 115px; height: 20px">                </td>            </tr>            <tr>                <td style="width: 19px">                </td>                <td align="left" style="width: 153px">                    <asp:Label ID="Label1" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="First Name:"></asp:Label></td>                <td align="left" style="width: 18px">                </td>                <td align="left" style="width: 115px">                    <asp:Label ID="Label2" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="Last Name:"></asp:Label></td>            </tr>            <tr>                <td style="width: 19px; height: 26px">                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="fname"                        ErrorMessage="*" ForeColor="White"></asp:RequiredFieldValidator></td>                <td align="left" style="width: 153px; height: 26px">                    <asp:TextBox ID="fname" runat="server" MaxLength="20"></asp:TextBox></td>                <td align="left" style="width: 18px; height: 26px">                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="lname"                        ErrorMessage="*" ForeColor="White"></asp:RequiredFieldValidator></td>                <td align="left" style="width: 115px; height: 26px">                    <asp:TextBox ID="lname" runat="server" MaxLength="20"></asp:TextBox></td>            </tr>            <tr>                <td style="width: 19px; height: 9px">                </td>                <td align="left" style="width: 153px; height: 9px">                    <asp:Label ID="Label3" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="10 Digit USC ID:"></asp:Label></td>                <td align="left" style="width: 18px; height: 9px">                </td>                <td align="left" style="width: 115px; height: 9px">                    <asp:Label ID="Label4" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="USC Email:"></asp:Label></td>            </tr>            <tr>                <td style="width: 19px">                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="uscid"                        ErrorMessage="*" ForeColor="White"></asp:RequiredFieldValidator></td>                <td align="left" style="width: 153px">                    <asp:TextBox ID="uscid" runat="server" MaxLength="10"></asp:TextBox></td>                <td align="left" style="width: 18px">                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="email"                        ErrorMessage="*" ForeColor="White"></asp:RequiredFieldValidator></td>                <td align="left" style="width: 115px">                    <asp:TextBox ID="email" runat="server"></asp:TextBox></td>            </tr>            <tr>                <td style="width: 19px">                </td>                <td align="left" style="width: 153px">                    <asp:Label ID="Label5" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="Degree Status:"></asp:Label></td>                <td align="left" style="width: 18px">                </td>                <td align="left" style="width: 115px">                    <asp:Label ID="Label6" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="Confirm USC Email:"></asp:Label></td>            </tr>            <tr>                <td style="width: 19px">                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="degree"                        ErrorMessage="*" ForeColor="White"></asp:RequiredFieldValidator></td>                <td align="left" style="width: 153px">                    <asp:DropDownList ID="degree" runat="server">                        <asp:ListItem></asp:ListItem>                        <asp:ListItem>Undergraduate</asp:ListItem>                        <asp:ListItem>Graduate</asp:ListItem>                        <asp:ListItem Value="PhD">Ph.D</asp:ListItem>                    </asp:DropDownList>&nbsp;                </td>                <td align="left" style="width: 18px">                </td>                <td align="left" style="width: 115px">                    <asp:TextBox ID="confirmemail" runat="server"></asp:TextBox></td>            </tr>            <tr>                <td style="width: 19px; height: 21px">                </td>                <td align="left" style="width: 153px; height: 21px">                    &nbsp;                </td>                <td align="left" style="width: 18px; height: 21px">                </td>                <td align="right" style="width: 115px; height: 21px">                </td>            </tr>            <tr>                <td style="width: 19px; height: 21px">                </td>                <td align="left" style="width: 153px; height: 21px">                    <br />                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="email"                        ControlToValidate="confirmemail" ErrorMessage="*Emails Do Not Match" Font-Names="Verdana"                        Font-Size="X-Small" ForeColor="White"></asp:CompareValidator>                </td>                <td align="left" style="width: 18px; height: 21px">                </td>                <td align="right" style="width: 115px; height: 21px">                    <asp:Button ID="Button1" runat="server" CommandName="NextView" Font-Bold="True" Font-Names="Verdana"                        Font-Size="Small" OnClick="Button1_Click1" Text="Submit" /></td>            </tr>        </table>                <div align="center">                    &nbsp;&nbsp;                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConflictDetection="CompareAllValues"                        ConnectionString="<%$ ConnectionStrings:subscribe_mainSQLConnectionString %>"                        InsertCommand="INSERT INTO [main] (, [uscid], [fname], [lname], [degree]) VALUES (@email, @uscid, @fname, @lname, @degree)"                        OldValuesParameterFormatString="original_{0}" SelectCommand="                        WHERE = @original_email AND [uscid] = @original_uscid AND [fname] = @original_fname AND [lname] = @original_lname AND [degree] = @original_degree">                        <InsertParameters>                            <asp:Parameter Name="email" Type="String" />                            <asp:Parameter Name="uscid" Type="String" />                            <asp:Parameter Name="fname" Type="String" />                            <asp:Parameter Name="lname" Type="String" />                            <asp:Parameter Name="degree" Type="String" />                        </InsertParameters>                    </asp:SqlDataSource>                </div>            </asp:View>            <asp:View ID="thankyou" runat="server">                <br />                <table style="background-color: #f0f0f0" width="450">                    <tr>                        <td style="width: 18px; height: 23px">                        </td>                        <td style="font-weight: bold; font-size: medium; width: 383px; color: black; font-family: verdana;                    height: 23px">                            Email Subcribe System</td>                        <td style="width: 19px; height: 23px">                        </td>                    </tr>                </table>                <div align="center">                    <br />                    <br />                    <br />                    <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Names="Verdana" Font-Size="Small"                        Text="Thank you for registering."></asp:Label>&nbsp;</div>            </asp:View>        </asp:MultiView><div align="center">&nbsp;</div>    </form></body></html> 

View 6 Replies View Related

Submit Users ID With Results.

Mar 8, 2007

Hi
I am trying to create a Quiz system and i need to put the user's Unique ID in the Result Data Table, so that the when they submit there results it puts there Unique ID by the side so that they can view it in there profile, and not anyone elses.
 Thanks
 Gareth Cork

View 1 Replies View Related

SQL-Server Job Submit From Web Page Using C#

Jun 20, 2008

Is it possible to submit a existing sql-server job from web page by using C#.
 
 

View 2 Replies View Related

How To Submit A Form To An SQL Database?

Feb 3, 2004

I have a registration form, and upon the user clicking the submit button, I want the information to be processed and sent to my SQL database. Each textbox (i.e. username, password, email address) has a corresponding field in a table in the database.

How can I accomplish this? I under stand that I will need an onclick event handler.

View 1 Replies View Related

Submit Form To Database

Dec 7, 2005

Old Frontpage user here... I need to submit a form to a database, like in Frontpage and store the database on the web server.
How do I accomplish this with Visual Studio Express...is there a ASP.NET component or do I need to code it?
Many Thanks,
Jake
p.s. my ASP.NET 2.0 books are coming for Christmas!

View 1 Replies View Related

SQL 2012 :: Scheduled Query To Export To Daily XLS File

Jun 17, 2015

I'm using SSMS 2012. I have multiple queries that are run daily(I also have a few that are run every Monday) that I want to schedule to run at midnight and export to a new xls file on the network drive to be used the next morning. Is there something that I can add to each query to accomplish this or would I have to set something else up to call the queries?

View 3 Replies View Related

Cant Submit Any Sort Of Variable Data

Feb 27, 2008

Hi there, i have written a page and for a long time it worked (or so i thought) now all of a sudden it dosnt. I have gone right back to basics and tried to only insert one variable, tried using a text box, a string pre populated, or a string populated by the text box - nothing seems to work. However if i hard code in the thing that i want, even into the SQL or into my param it works, whats going on! i think my programming skills are letting me down here!
here is what i am trying to use (as you can see i have commented out all that i was using to get back to basics)
Are there any pointers?SqlConnection objConnAddStock = new SqlConnection(sAddStock);
//This is the sql statement.
 int intUpdateQSStockID = Convert.ToInt32(Request.QueryString["qsStockID"]);
string strCondition;strCondition = "Brand New 12";using (objConnAddStock)
{
objConnAddStock.Open();string sqlAddStock = "UPDATE tbl_stock SET condition = @condition WHERE stock_id = " + intUpdateQSStockID;
 
 
 
 
 /*cat_id = @cat_id, sub_cat_id = @sub_cat_id, n_or_sh = @n_or_sh, " +
"description = @description, size = @size, colour = @colour, cost_price = @cost_price, " +
"selling_price = @selling_price, condition = @condition, notes = @notes, " +
"buying_in_recipt = @buying_in_recipt, visible = @visible, picture1 = @picture1, " +
"picture2 = @picture2, [picture3] = @picture3, picture4 = @picture4, " +
"picture1_thumb = @picture1_thumb, picture2_thumb = @picture2_thumb, " +
"picture3_thumb =@picture3_thumb, picture4_thumb = @picture4_thumb, title = @title, " +
"display_price = @display_price WHERE Stock_id = " + intUpdateQSStockID;*/
 SqlCommand objCmdAddStock = new SqlCommand(sqlAddStock, objConnAddStock);
objCmdAddStock.Parameters.AddWithValue("@condition", conditionTextBox.Text);/* objCmdAddStock.Parameters.AddWithValue("@cat_id", DropDownList2.SelectedValue);
objCmdAddStock.Parameters.AddWithValue("@sub_cat_id", DropDownList1.SelectedValue);
objCmdAddStock.Parameters.AddWithValue("@n_or_sh", n_or_shTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@description", txtDescription.Text);
objCmdAddStock.Parameters.AddWithValue("@size", sizeTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@colour", colourTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@cost_price", cost_priceTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@selling_price", selling_priceTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@condition", conditionTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@notes", notesTextBox.Text);
objCmdAddStock.Parameters.AddWithValue("@buying_in_recipt", TextBox3.Text);
objCmdAddStock.Parameters.AddWithValue("@visible", DropDownList4.SelectedValue);
objCmdAddStock.Parameters.AddWithValue("@picture1", txtPicture1.Text);
objCmdAddStock.Parameters.AddWithValue("@picture2", txtPicture2.Text);
objCmdAddStock.Parameters.AddWithValue("@picture3", txtPicture3.Text);
objCmdAddStock.Parameters.AddWithValue("@picture4", txtPicture4.Text);
objCmdAddStock.Parameters.AddWithValue("@picture1_thumb", txtPicture1_thumb.Text);
objCmdAddStock.Parameters.AddWithValue("@picture2_thumb", txtPicture2_thumb.Text);
objCmdAddStock.Parameters.AddWithValue("@picture3_thumb", txtPicture3_thumb.Text);
objCmdAddStock.Parameters.AddWithValue("@picture4_thumb", txtPicture4_thumb.Text);
objCmdAddStock.Parameters.AddWithValue("@title", txtTitle.Text);
objCmdAddStock.Parameters.AddWithValue("@display_price", txtDisplay.Text);*/
 
try
{
objCmdAddStock.ExecuteNonQuery();
}catch (Exception ex)
{Label17.Text = Convert.ToString(ex);
}finally
{
objConnAddStock.Close();
}Label17.Text = Convert.ToString(intUpdateQSStockID);
 
}

View 3 Replies View Related

How Submit Db_name() As Default Parameter ?

Mar 8, 2006

Hi,
I want to submit db name as as default parameter when calling procedure WITHOUT using variables

Example
use master
go

create procedure get_caller_db @s sysname = DB_NAME() --produce error
as
select @s as [caller db name]

go
use mySuperDB
exec master.dbo.get_caller_db
--
caller db name
--------------
mySuperDB -- result I want

View 2 Replies View Related

Total Monthly Expenses Don't Sum Up When I Submit

Oct 15, 2006

I have a Monthlyexpense column. How do I Sum up this column and put the Total in my ytdexpenses column. Do I use a stored procedure, because I want the monthlyExpenses to SUm up every time I submit a monthly expense to the database and siplay in the ytdExpenses Column.
When I Write a Query all of the rows in the ytdExpenses shows the same amount and do not total up every time I submit to the database. Help please.

monthlyExpenses   ytdExpenses
$1,000    $1,000
$2,000    $3,000
$3,000    $6,000
$2,000    $8,000
$5,000    $13,000

View 20 Replies View Related

Asp.net Form Submit To Sql Server Express

Sep 30, 2007

pls i have asp.net page that i want to connect to sql server express edition database and i want data to be submited from the page into sql server express edition database that i have in my project folder when i click on submit button pls help me with the code to do this

View 1 Replies View Related

Multi Value Parameter Cleared On Submit

Aug 17, 2007

I have a report created in Reporting Services that contains 5 parameters. Two are text [date] fields, and three are drop-down multi-value parameters. One is driven from the result of another, and both of those work fine. My issue is with the final multi-value parameter, which is simply a list of customers. It gets populated from the data set without a problem, and I can select from 1 to all of the options. However, on submitting the report. This one parameter gets cleared out, the report does not run, but instead waits for me to select the customers (again) and resubmit.

Occasionally, I can select a few customers and it will, in fact, run the report. However, 90% of the time it just clears the field and waits.

I can trace the database, and everything looks normal - on submit nothing is sent to the database, so it's not like there's a problem with the query. I've verified the customer table and all records look similar - I don't see any obvious data issues.

Suggestions?

View 4 Replies View Related

SQL Server Admin 2014 :: Query Multiple Servers With A Scheduled Job Using CMS?

Mar 13, 2014

I can easily query multiple servers using the multi-server query function in Central Management Server and write some of the results to logging tables. I would like to be able to do this via a scheduled job. So far I am finding that even setting up Master/Target Servers this may not work and the only workaround is either using SSIS, SQLCMD (by basically hard coding the servername) and possibly Powershell.

tell me if they have been successful just using standard jobs and querying against multiple servers?

If I can't save the results to a 'central' database/table (I can do this when in SSMS), but can still query against multiple servers I was thinking I could write the results to a CSV file that a SSIS job picks up.

I have attempted using SSIS to iterate through servers and have been plagued with intermittent connection issues when using a For...Loop container.

View 1 Replies View Related

Insert Same Data To Two Different Tables With One Submit Button....

Apr 8, 2004

I would like to insert a set of data to my database to 2 different tables.
what will be the SQL Statement for such ? Is it possible to do so?

for example, a webpage contain 2 textbox which require user to key in data. Once click submit button. the info will saved to 2 tables....

View 3 Replies View Related

Forms To View / Edit / Submit To Server

Nov 5, 2013

Currently, I have a set of data that is available on a SQL Server. I want to be able to display the information in the front-end (ie. Access form, excel, webpage?), and if the user wants to edit any information they may do so and with a click of a button, submits to the sql server.

View 1 Replies View Related

All I Wanted Was To Submit Customers Info To My Emailbox

Jan 28, 2008

I have created an order form for my business. I placed a submit button at the bottom. I wanted all the clients information to go into my emailbox. Someone told me about MS SQL Server. I got excited and downloaded the 2005 Express version with all the trimmings. Now I am more confused than I was before. Someone please explain to me what I should do first. Redo the form with the studio then work with the server? I think I may have deleted something important from the server trying to figure it out. Help!!!!!!!!!!

View 7 Replies View Related

Unable To Submit More Than 8000 Characters With Stored Procedure

Jul 20, 2005

Hi all,I have a internet page written in asp to submit into authorscurriculum vitae publications (title, author, year, etc.).If the author submit less than 8000 characters it functions OK, but Ifthe author try's to submit more than 8000 characters the asp page doesnot return an error but the text is not saved in the database or,sometimes, it returned a "Typ mismatch" error.Here is the sp:---------------------------------------------------------------------CREATE PROCEDURE sp_CV_publications(@formCommandnvarchar(255)='process',@id numeric=null,@id_personint=null,@typPubID tinyint= NULL,@publicationstext=null)ASif @formCommand='process'beginINSERT INTO CV_publications(idperson,typPubID,publications)VALUES (@id_person@typPubID,@publications);select 1 as status, @@IDENTITY AS insertedID, * FROMCV_publications WHERE id=@@IDENTITYend----------------------------------------------------------------------------The server is running IIS5 and SqlServer 2000Any ideas ???

View 1 Replies View Related

Please Help Me &"Remove Srting&" On Submit.

Aug 18, 2007

Ok, my host is free and for some reason when my users submit there code inside the discreption "textarea" with this (don't) it crashes the form without sending it to the database?
But if it is sent like this (dont) its ok!

So i am working on replacing the invalid strings so it'll be ok if they forget not to do it. But i am stuck...

Function CleanInput(strIn As String) As String
' Replace invalid characters with empty strings.
Return Regex.Replace(strIn, "[^w.@-]", "")
End Function


Any help i will love you forever :P

View 7 Replies View Related

Scheduled DTS

Jul 23, 2005

Hi!I scheduled a DTS-Import from MySQL, whenever I run it manually(Right-Click on the DTS package) it runs through without any problems.But firing it by a schedule doesn't work!?Just to exclude any issues regarding users/roles, I created a DTS toexport files to my desktop to an EXCEL-sheet. Manually export as wellas scheduled export works fine.My Application Log shows me following error message:Event Type:WarningEvent Source:SQLSERVERAGENTEvent Category:Job EngineEvent ID:208Date:6/8/2005Time:10:05:02 AMUser:N/AComputer:*****Description:SQL Server Scheduled Job 'ImportFromMySQL'(0xC89612CE034F6642BD585B048DBC0F06) - Status: Failed - Invoked on:2005-06-08 10:05:02 - Message: The job failed. The Job was invoked bySchedule 22 (ImportFromMySQL). The last step to run was step 1(ImportFromMySQL).Anybody know what's wrong!?

View 11 Replies View Related

Insertion Scheduled Job In SQL

Jun 19, 2005

Hi guys,i want to make a scheduled job that inserts 10 user defined row each minute continously in enterprise manager

View 1 Replies View Related

DTS Failure When Scheduled As A Job

Dec 27, 2001

I have designed a DTS Package and it can be run successfully from Enterprise Manager. However, when I schedule the DTS package to run as a job then it fails with an error message of "Error string: The system cannot find the file specified.".

Anyone any idea as to why the job cannot find the DTS package?

Can it be something to do with SQL Server 7 and 2000 tools as 2000 Client tools have recently been installed onto my PC and the package and job ran fine when I had designed everything in SQL Server 7.

Thanks in advance
Vince.

View 1 Replies View Related

Scheduled Backup

Mar 1, 2002

Hi,
I am trying to do an automatic backup of my database and for some reason it does not do it.
I have it set to backup daily at 4:00 pm.
Please let me know if you know why it is not backing up on it's own.
The Server manager is on always and a manual backup is not a problem for me,
only the automatic.
Thanks very much.

View 1 Replies View Related

Scheduled DTS Failures

Mar 12, 2002

Hello

I have a number of DTS packages which when run manually complete successfully however, when run as scheduled tasks they always fail. Can anyone offer any advice?

Many thanks

View 3 Replies View Related

Scheduled Jobs-Can You Have Too Many?

Jul 27, 2001

I'm thinking of using the SQL Agent Job Scheduler as part of a larger application and I'm wondering if anyone knows of a limit on how many schedules or jobs that can exist on a SQL Server at one time.

Thanks!

View 1 Replies View Related

Error In Scheduled Job

Aug 9, 2000

Hello,
I have many dts packages scheduled as jobs . job always fails when executed. It runs fine if i execute the dts package.
the follwing is the error message
Error: -2147217887 (80040E21); Provider Error: 0 (0) Error string: Errors occurred Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1 DTSRun: Package execution complete. Process Exit Code 1. The step failed.
any help would be welcome
thenk you

View 2 Replies View Related

Scheduled DTS Failing

Mar 6, 2000

When I create a DTS to import data from Visual FoxPro it will work if I run immeadiately, but when I schedule it to run at a specific time it will Fail.
Any ideas why??

Thanks for any input,
Tom

View 1 Replies View Related

Scheduled DTS On Local SQL 7

Mar 24, 2000

I have a DTS that executes fine except when run as a scheduled event. Where can I research the error codes that occur below?

DTSRun: Executing... DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1 DTSRun OnStart: DTSStep_DTSExecuteSQLTask_10 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_10 DTSRun OnStart: Copy Data from FirmDirExp to [CG_Directory].[dbo].[FirmDirExp] Step DTSRun OnError: Copy Data from FirmDirExp to [CG_Directory].[dbo].[FirmDirExp] Step, Error = -2147008507 (80074005) Error string: Unspecified error Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 700 Error Detail Records: Error: -2147008507 (80074005); Provider Error: 0 (0) Error string: Unspecified error Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 700 Error: -2147467259 (80004005); Provider Error: -534709256 (E020FBF8) Error string: The Microsoft Jet database engine ca... Process Exit Code 1. The step failed.

View 1 Replies View Related

Scheduled Jobs

Nov 15, 2000

hello All

I am trying to figure out a way , looking at the tables in MSDB (SysJobHistory) that if a scheduled job is running and not completed yet , for how long it has been running. I have to look for all the jobs with run_status = 4 (in process). But what i figured out it no history is written till the job is finished or cancelled. Can anyone help me with this

thanks
Alsi

View 5 Replies View Related

Scheduled Job, Urgent

Sep 6, 2000

Hi,
we run a nightly job processes, this job depends on the data entered from the frontend, since yesterday we have been entering lot of data in it, so the job that ran last night 10pm(09/05/00) is still running now and its next schedule time 10pm today(09/06/00), if the same job is already running since yesterday and if it still runs till 10pm today, will it starts again as per the schedule or it will not run, since the same job is running since yesterday.

Thanks,

Madhuker.

View 3 Replies View Related

Scheduled Jobs

Oct 10, 2000

Hi,

I have a scheduled job that run one time a day at 10 pm. My problem is that if the job fail, i want that the job run 10 minutes after until it complete with success.

Any tips on how to do this

Martin

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved