Forum Replies Created

Viewing 15 posts - 1,741 through 1,755 (of 2,487 total)

  • RE: Retrying a failed ftp job

    Take a look at,

    http://www.sqldts.com/default.aspx?103

    Looping, Importing and Archiving

    How can I check if a file exists?

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS newbie help...

    You really have two paths to achieve this.

    1) use a Data driven query. This way you supply T-SQL statments for each of the actions (INSERT/UPDATE/Etc...) and the data transformation is...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Installing RS possible?

    Have you run aspnet_regiis.exe to register ASP.Net with IIS?

    --------------------
    Colt 45 - the original point and click interface

  • RE: how to change the QUERY to get todays timespent ??

    How about this?

    select fk_assid,
    CASE WHEN sum(datediff(n,wt_starttime,wt_stoptime)) IS NULL THEN '0' 
    ELSE sum(datediff(n,wt_starttime,isnull(wt_stoptime,getdate()))) 
    END as 'timespent',
    SUM(CASE WHEN datediff(d, CONVERT(varchar(15), GetDate(), 106), CONVERT(varchar(15), wt_starttime, 106)) = 0 
    THEN datediff(n,wt_starttime,isnull(wt_stoptime,getdate()))
    ELSE '0' END) ...

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL Script to pull DTS/JOB Start/Stop/Duration

    If you run the stored procedure without any parameters it will return everything since midnight. If you want to change that just alter the line after the "IF @dteMinStart IS...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Must declare the variable @myVar???????????????

    Look up sp_executeSQL in Books Online.

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL Script to pull DTS/JOB Start/Stop/Duration

    Here's what we have for our status check. This is used to check on 80+ packages, of which about a dozen run on an hourly basis, the rest run overnight.

    It...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Executing a DTS package from an ASP page

    Firstly, what error is the package failing with?

    Second, why not just trigger the scheduled job from your ASP page using sp_start_job?

    --------------------
    Colt 45 - the original point and click interface

  • RE: Space usage qtn: decimal (18,2) vs decimal (9,2)

    Another quick way to check space usage for columns is to look at the length field in EM's table design screen.

    --------------------
    Colt 45 - the original point and click interface

  • RE: Which items are not linked??

    Good solution.

    Funnily enough, after working on something else for a day, I came back to this and knocked up a similar query. Amazing what a clear head can do

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS Package fails when SCHEDULED (Only fails with non-MS dbs / drivers)

    Are you able to, or have you, logged in locally on the server(not via Remote Desktop) using the SQL account? Try running the package manually like this and see if...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Calling package from within another package

    Ahhh ... yes ... DTS in all it's glory.

    When I'm trying to track down a pesky problem I do the following.

    Turn on DTS package logging.

    Set each task to fail package...

    --------------------
    Colt 45 - the original point and click interface

  • RE: ActiveX Script Problems

    One option is to use some logic to check the source columns before you concatenate them.

    Eg:

    If DTSSource("Col009") is null

    DTSDestination("CLO") = DTSSource("Col010")

    elseif DTSSource("Col010") is null

    DTSDestination("CLO") = DTSSource("Col009")

    --------------------
    Colt 45 - the original point and click interface

  • RE: Get completion task to execute if any branch succeeds

    The only real way to get this to work is by using workflow scripts.

    Take a look at this article,

    http://www.sqldts.com/default.aspx?218

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS csv

    Ok, I created the table, built a DTS package, put the select query into the source and successfully ran the package.

    What options have you used for the csv file?

    --------------------
    Colt 45 - the original point and click interface

Viewing 15 posts - 1,741 through 1,755 (of 2,487 total)