Forum Replies Created

Viewing 15 posts - 5,491 through 5,505 (of 6,486 total)

  • RE: Do We Need a PK?

    James Goodwin (12/11/2007)


    Excellent question, James. Our policy is to never use auto number columns for anything other than identifying a row for update or delete.

    I guess that doesn't really...

  • RE: How to check if a Stored Procedure is running?

    If you don't care about actual tracking, you can still use a "blocking table" with a unique index on it (i.e. something allowing only one record in the particular table).

    First...

  • RE: Returning Rows Where Some Are Null

    I think you just need to change the LEFT JOIN to be an INNER JOIN?

  • RE: Delay in executing a query from VB

    Depending on the syntax - an oleDB provider can execute the query client-side (or locally). That means you might be pulling a LOT of data only to have it...

  • RE: Difference between 32bit & 64 bit computer

    My version of Suse had BOTH CD's in the package. Try the other disk?

  • RE: Cross Tab Query

    I was a bit disappointed by it as well after the testing. The syntax is cleaner, but it's limiting (only on specific type of operation per PIVOT statement for...

  • RE: Do We Need a PK?

    Will Summers (12/11/2007)


    Maybe I'm just asking what is the advantage of a PK over just a simple unique index? Is there any potential increase in speed? Cause if...

  • RE: All I Want For Christmas Is ...

    Steve Jones - Editor (12/7/2007)


    No one wants their boss to do something?

    Peter, no first class travel? Extra night on the road?

    Will, no dedicated time to experiment with mouse speeds/sensitivity?

    Matt,...

  • RE: All I Want For Christmas Is ...

    Start shipping your ice, snow, sleet to the southeast. Black Ice, clear or otherwise. Really - we'll take it.

  • RE: Case, IF or something different

    If I understand correctly - you only want repromotes when they return to their previous highest level.

    This ought to do it:

    --run this once

    alter table volume

    ADD PrevMaxLev int

    create index ix_volume...

  • RE: Case, IF or something different

    I'm pretty sure that code catches multiple occurrences, but just so I'm sure - could you mock up some data as you'd expect it to look after such an update?...

  • RE: Should DBA's need to know the physical details of a SAN??

    TheSQLGuru (12/10/2007)


    My comment was directed at an optimally sized/configured SAN. I don't consider a SAN with 512 LUNs to be optimally configured for database throughput. DAS with that...

  • RE: Case, IF or something different

    I'm sure we could collapse this into a single statement, but...

    Careful about the "reset" at the beginning, in case you're using the repflag for anything else.

    update volume set repflag=''

    update a

    set...

  • RE: Sort Order

    If you want a specific order - you should specify an ORDER BY clause. Because of the way SQL server accesses data, you can't count on it using a...

  • RE: Case, IF or something different

    Happy to help!

Viewing 15 posts - 5,491 through 5,505 (of 6,486 total)