Forum Replies Created

Viewing 15 posts - 46 through 60 (of 189 total)

  • RE: Capturing The Error Description In A Stored Procedure

    If you are using a transformation to fill your spreadsheet:

    Create an Excel template that you always use for the destination. (Just the field names on the worksheet.) 

    Upstream of the transform,...

    [font="Courier New"]ZenDada[/font]

  • RE: DTS Error

    Go back to your dts package in design view.  Right click in the design window.  Select Package Properties, the logging tab, and then have the package execution log to your...

    [font="Courier New"]ZenDada[/font]

  • RE: invalid data value from source table

    Here's a thought, try truncing the date in it's native language and make sure the year part is formatted as YYYY to avoid the 2000 thing (year 30 is the default - but...

    [font="Courier New"]ZenDada[/font]

  • RE: Excel in DTS

    This is what you need to know right here! 

    http://www.sqlservercentral.com/columnists/jsack/capturingtheerrordescriptioninastoredprocedure.asp

    [font="Courier New"]ZenDada[/font]

  • RE: how to format a concanated field at DTS

    BTW, a good rule of thumb is to store your data scrubbed and display your data formatted.  In other words, don't format your phone numbers when you import them into...

    [font="Courier New"]ZenDada[/font]

  • RE: how to format a concanated field at DTS

    I wrote that function in t-sql for myself today, but you can do the same thing in your activeX Jess.

    When you are on the transformations tab

    remove your automapping

    highlight areacode and...

    [font="Courier New"]ZenDada[/font]

  • RE: how to format a concanated field at DTS

    Here's a function I just wrote to format phone numbers:

    CREATE FUNCTION dbo.FormatPhone(@inphone varchar(20))

    RETURNS varchar(20)

    AS

    BEGIN

     declare @outphone varchar(20)

     declare @ext varchar(6)

     declare @pos smallint

     --remove any non-numeric characters

     set @pos = patindex('%[^0-9]%',@inphone)

     while @pos > 0

     begin...

    [font="Courier New"]ZenDada[/font]

  • RE: Need to parse text field

    And don't forget about this handy little baby:

    This example uses PARSENAME to return information about the authors table in the pubs database.

    USE pubs
    SELECT PARSENAME('pubs..authors', 1) AS 'Object Name'
    SELECT PARSENAME('pubs..authors', 2)...

    [font="Courier New"]ZenDada[/font]

  • RE: DTS package that manages execution of SQL Server jobs

    Forget managing this in DTS.  This is what the job scheduler already excels at!  Viewing the job history of the job makes it really easy to undertand your progess/retry status...

    [font="Courier New"]ZenDada[/font]

  • RE: what might be causing queries to run painfully slow all the sudden?

    Not necessarily a fix for this situation, but a good reminder just the same:

    After altering a stored procedure, execute with recompile.

    [font="Courier New"]ZenDada[/font]

  • RE: how to Zip a file

    Thanks Eric!  I have shared with my team - crediting you of course!

     

    [font="Courier New"]ZenDada[/font]

  • RE: Apologies to Ken Henderson

    Hopefully at least this coverage will prompt more people to buy and read Ken's book.  I consider it to be the most valuable book on my desk at work.  It...

    [font="Courier New"]ZenDada[/font]

  • RE: DTS pull with dynamic sql

    BTW, I was wondering if this might be helpful - can you save your DTS package as a BAS module in SQL 7?  If so, that would help you with...

    [font="Courier New"]ZenDada[/font]

  • RE: DTS pull with dynamic sql

    Create an ExecSQL task that selects the date you want from your date table.  The date you capture should become an output parameter.  Assign the output parameter to a global...

    [font="Courier New"]ZenDada[/font]

  • RE: DTS pull with dynamic sql

    http://www.sqldts.com/default.aspx?205,1

     

    [font="Courier New"]ZenDada[/font]

Viewing 15 posts - 46 through 60 (of 189 total)