Forum Replies Created

Viewing 15 posts - 3,331 through 3,345 (of 6,036 total)

  • RE: how to remove numbers from strings?

    Kenneth Wilhelmsson (11/1/2007)


    I don't see the point with that demonstration of yours, it seems to be about something that hasn't yet come up anywhere in this thread?

    Would you care to...

  • RE: how to remove numbers from strings?

    I used loop to guarantee the order of INSERTING the rows.

    Are you agree that ORDER OF INSERTING was the same for both tables?

    So, what the SELECT proves in this case?

    P.S....

  • RE: how to remove numbers from strings?

    Kenneth,

    they are too dumb to put some effort into explaining how SQL Server works to them.

    Perfect members of the community. 😀

    They were informed about the error right in the...

  • RE: Large Table Delete 105+ Million Rows...

    And clustered index on DATE columns for both tables would help A LOT.

    If it's impossible try (not on production, if possible :))

    [Code]

    DELETE A

    FROM TABLE_A A

    INNER JOIN (

    select...

  • RE: Large Table Delete 105+ Million Rows...

    Then go with your loop.

    Just add

    WAITFOR DELAY '00:00:02'

    to let other Server to pay attention to other processes.

    You may also include something like this:

    [Code]-- Before entering the loop

    ...

  • RE: Just give me two digits, pleeeeze

    It's done in front end application - EM.

    Same about datetime values.

  • RE: Attempting multiple updates on table in same transaction

    These are kind of contradicting each other:

    /* update all users in same agency profile */

    ....

    AND [UserId] = @Original_UserId);

    Second update does not look right to me at all.

    Not because of SQL...

  • RE: Missing Sequence

    rmcknight (10/31/2007)


    Sorry for the confusion.

    I'm looking for gaps in the sequence. The ID and Code are just record fields, and I need to know if someone skipped a sequence number....

  • RE: how to remove numbers from strings?

    rog pike (10/30/2007)


    The entire sql community,

    that means MS, Oracle, IBM etc., acknowledged before 1999 that sql

    cannot offer an efficient solution to ranking or cummulative aggregate

    queries.

    I don't care about entire...

  • RE: No Business Logic in the Data Layer....

    If they believe they know how to do database and queries, and you think they don't then don't argue, just sit and prepare set of scripts to populate their tables...

  • RE: SELECT * FROM A UNION QUERY QUESTION

    Another thing:

    1st query will perform one transaction, 2nd will do 2 transactions.

    But your performance hit definitely is caused by grouping invoked by UNION.

    You should also take into consideration the fact...

  • RE: how to remove numbers from strings?

    Kenneth Wilhelmsson (10/30/2007)


    I'll just quote it from the guys who wrote the stuff we're all using:

    Nobody is perfect.

    Don't ever copy someone's words without good thinking about it, no matter how...

  • RE: Why Does This Return NULL?

    David, you should take care of it in front end.

    If value in text box is '' then you pass NULL in SP, if it any kind of integer value you...

  • RE: Why Does This Return NULL?

    David (10/30/2007)


    Jez, a paramater IS passed. If '' is passed, need all records. If 0 or any other number is passed, need the record for that number.

    You declare a...

  • RE: how to remove numbers from strings?

    Kenneth Wilhelmsson (10/30/2007)


    So you agree? 😉

    With what?

    'Not always useful' does mean that it does have it's usefulness?

    At the end of the day, the execution plan is what decides how things...

Viewing 15 posts - 3,331 through 3,345 (of 6,036 total)