Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)

  • RE: DTS newbie help...

    Yes... you can do it as shown below.  Or, you can also use a Exec SQL task to do the count, and put the result into a global variable.  You...

  • RE: DTS newbie help...

    Example for a "conditional" Data Transformation Task:

    IF (SELECT Count(*) from table_A) >  0
    BEGIN

      SELECT    A,B,C,D

      FROM my_table
    END

    ELSE
    BEGIN

     --This Query does not return any data

        SELECT     A,B,C,D  

        FROM my_table...

  • RE: DTS newbie help...

    What kind of task do you want to execute? 

    If the task can be completed with a T-SQL statement, then you can use a T-SQL IF statement to either execute...

  • RE: Registering DLLS on the Webserver for DTS

    Can't help you much with the dll registration.  I did have a slightly similar problem last week.  My prod server stopped talking to my Domain Controller.  Since it couldn't see...

  • RE: Registering DLLS on the Webserver for DTS

    I understand your situation now.  I would suggest that you do not register the DLL's on your web server.  Especially since it isn't working for you.

    In your ASP page, create...

  • RE: Registering DLLS on the Webserver for DTS

    Well... try this article:  http://www.sqldts.com/default.aspx?225

    I'm not quite sure why you are trying to "install" dts on your web server.  Do you want the packages to actually run on the...

  • RE: DTS newbie help...

    Even doing this doesn't work?

    EXEC master.dbo.xp_cmdshell 'dir c:\'

     

     

  • RE: DTS newbie help...

    This is assuming that you have your package saved as a "Local Package" on the server.

    When looking at the list of Local Packages, right click on the package and hit...

  • RE: Registering DLLS on the Webserver for DTS

    Are you specifying the entire path for the dll?

    From redist.txt on the SQL Server Installation CD:

     

    INSTALLATION NOTES FOR DATA TRANSFORMATION SERVICES (DTS)

    ---------------------------------------------------------

    The following files must be registered using the regsvr32.exe...

  • RE: DTS newbie help...

    Why are you trying to use xp_cmdshell to execute the package?  You can schedule the DTS package as a job... and then just start the job (can do this with...

  • RE: Registering DLLS on the Webserver for DTS

    Use regsvr32.exe to register each of the DLL's. 

Viewing 11 posts - 1 through 11 (of 11 total)