Forum Replies Created

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

  • RE: SSIS CSV failure to import

    They are probably carriage return/line feed characters. Have you got the header row delimiter set to {CR}{LF} in the connection manager?

  • RE: Pulling data in one set based on existence in another

    I'd be tempted just to copy the data from server B to server A, run my query with an inner join and then delete the newly copied data from server...

  • RE: T SQL

    CZakraysek (5/27/2009)


    Also really stupid to use such typo freindly names: just use A, B, C if you can't bring yourself to use Jim , Tim, Pat, etc.

    I suspect they're only...

  • RE: T SQL

    Leo Hesen (5/27/2009)


    Made the obvious mistake myself.

    My assumption:

    1 Not correct

    2 Not correct

    So it had to be 3 without examining this answer properly.

    Reminded me to not jump to conclusions to...

  • RE: Dealing with incoming mail

    That's more like the answer I'd expected than the answer I'd hoped for, but thanks.

  • RE: Trigger

    I know this is less of an issue with Database Mail than SQL Mail, but if your mail service fails then your trigger will fail too. I've got into the...

  • RE: Msg 8152, Sev 16: String or binary data would be truncated. [SQLSTATE 22001]

    Same issue here. I did notice that my insert query wasn't actually returning any rows, so changed the job from

    INSERT INTO Table (Field1, Field2, Field3)

    SELECT a.F1, a.F2, a.F3 FROM Table2

    to

    IF...

  • RE: Avoiding cursors

    Ooh - that's much better. I knew I was looking at this the wrong way. Thank you.

  • RE: Avoiding cursors

    That's correct. TRXID is a unique value in my source data, but not in my desired output. I should also add that in the source I can't guarantee that the...

  • RE: xp_sendmail adding trailing spaces

    RTRIM has no effect. I suppose fewer spaces is an improvement, but the client won't be happy until there are none. It's good, but it's not right.

  • RE: xp_sendmail adding trailing spaces

    Hi Jack

    Setting @width=25 just pads each line out to 25 characters, which isn't the desired effect.

  • RE: XP_SENDMAIL Error Handling

    Instead of using xp_sendmail like this, I create a table with fields for recipient, subject, message body and a nullable date field message_sent. I then have a job running every...

  • RE: Data type changing on SSIS extract from Oracle

    Looks like I'll carry on kludging then. Thanks for the help.

    Scott

  • RE: Data type changing on SSIS extract from Oracle

    The metadata says DT_NUMERIC (38,0) for the column, even when I do an explicit cast to decimal(10,2) in the source query. I can't see a way to edit the metadata.

    Scott

  • RE: How can I disable a Job via TSQL

    Can you do this on a remote server? We have a mirrored database and I want to write a script to enable and disable jobs on both servers in the...

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