Forum Replies Created

Viewing 15 posts - 51,481 through 51,495 (of 59,072 total)

  • RE: Dropping Stored Procedures

    Matt Miller (3/26/2008)


    At least try a different approach or something....

    Not blasting the OP by any means... but sometimes a "different approach" means getting someone that knows how to put the...

  • RE: DTS Issues

    Dunno about that, but there sure is in a BCP import. But, I think the DTS route would be better because if you're using text qualifiers in the file,...

  • RE: Is there any way I can find out who deleted the database?

    Totally awesome find... but despite the DROPS I've done on tables and the like, there's nothing in the log. There is something, however, for someone dropping a database.... gives...

  • RE: Remove leading zeros and add spaces at the end

    Ummmm.... you don't really need a CLR or external RegEx to do something so simple as to remove leading zeros. For example...

    DECLARE @Sku NVARCHAR(500)

    SET @Sku...

  • RE: Dropping Stored Procedures

    Even if you are - shouldn't you be keeping the audit trail of the updates to said stored procedure? You know, as in Source control? I kind of...

  • RE: dynamic sql

    SMO would just slow you down and I don't think you need real dynamic SQL.

    Why can't you just populate a table with the Old/New values and do a simple joined...

  • RE: Selecting non assigned items

    Sure, I get the same on the small test... times for the outer join vary between 16 ms and 67 ms with the norm being 47 ms... but look at...

  • RE: TSQL to Check if SP is Currently Running?

    Matt Miller (3/26/2008)


    Jeff - George has inherited one of your long-term Nemeses as a problem ("manual" identity fields, and yes, used RBAR).

    How do you know that, Matt? Shoot, that's...

  • RE: Tuning CASE Staement

    Matt Miller (3/26/2008)


    Personally, I'd apply a Dr. Kevorkian to this app (meaning - take it out back and shoot it), and start over. There has GOT to be a...

  • RE: data type question

    Wasn't your fault... the "other" person started it that way.

  • RE: DTS Issues

    One way to find the bad row is to import it into a two column table (1 for a row num, the other for the data). You know how...

  • RE: DTS Issues

    If nothing has changed on the system, then keep looking in the source file... the problem is there and you've just not seen it yet. My favorite error is...

  • RE: Bulk-Logged Recovery Model

    If it's for "point in time", then I'm pretty sure you need FUll Recovery and differential backups multiple times per day. Do 1 full backup a week... differential backups...

  • RE: Is there any way I can find out who deleted the database?

    Balmukund Lakhani (3/26/2008)


    Default trace would help you in such cases if you are on SQL 2005. very few knows the power of it.

    Heh... don't tease us, now. Would you...

  • RE: parameters in a table

    I agree with Michael Earl... I've done this many, many times (cofiguration table that looks like a name/value or "EAV" table). I've found that it's very handy. When...

Viewing 15 posts - 51,481 through 51,495 (of 59,072 total)