Forum Replies Created

Viewing 15 posts - 1,156 through 1,170 (of 2,486 total)

  • RE: Trapping the Error of a Task

    Are you looking to capture the error message? Best method I came up with was to turn on package logging and have a stored procedure extract the required text from...

  • RE: backups via dts

    Well I simplified the code a bit. It's much easier to use the convert function to generate the required date/time format for the filename. The this code ran without a...

  • RE: lost password to dts

    Unless you frequent some handy underground hacking sites, you can't open the package

     

  • RE: copy tables with indexes

    The better approach is to provide a bit more information

    What servers are you running? Are the databases on the same server? How much...

  • RE: DTS Weird Error?

    What are your transaction settings for the package?

     

  • RE: How to update column mappings dynamically??

    Do you modify the column mappings explicitly? If not then that's what you have to do. Basically you have to feed in all the Meta data that DTS automatically grabs...

  • RE: Output db and log file size during DTS

    Create stored procedure to capture the sizes and send the email. There should be plenty of example scripts in the Script Library.

    Then put an ExecuteSQL task in between each step...

  • RE: DTS ERROR

    What does the package do?

    I've come across this frequently when the package contains an ExecutePackage task. The only way I got around it was to start a new package from...

  • RE: Overcome CDOSYS mailing limitation ?

    We use a combination of sp_makewebtask and xp_smtp_sendmail to acheive this. Eliminating any reliance on CDO and/or SQL Mail.

    sp_Makewebtask generates a HTML file which is then used as the email...

  • RE: error when executing DTS

    If the foreign key constraint  is correct, then you need to replace the TRUNCATE statements with DELETE statements.

    Sounds like you're loading directly into "production" tables, which would explain why you...

  • RE: Extracting SQL Server Information

    You could also take a look at the SERVERPROPERTY function in Books Online

     

  • RE: error when executing DTS

    You most likely have an ExecuteSQL task in the package that's trying to issue the TRUNCATE statement against the mentioned table. As the error message suggests, you can't truncate a...

  • RE: Number formats in a view

    Ok, if it "MUST" be done in T-SQL then here are a couple of methods to try,

    With decimals

    SELECT CONVERT(varchar(30), CONVERT(money, 1234567.890), 1)

    Without decimals

    SELECT SUBSTRING(CONVERT(varchar(30), CONVERT(money, 1234567.890), 1), 1
    , CHARINDEX('.', CONVERT(varchar(30),...
  • RE: Number formats in a view

    Isn't this a presentation issue that should be defined on the client, not tying up database server resources?

     

  • RE: Alternative to DTS wizard

    The reason I raise this is because I did some work for a client that had a DTS solution involving just Excel spreadsheets and no SQL server. MS told them...

Viewing 15 posts - 1,156 through 1,170 (of 2,486 total)