Forum Replies Created

Viewing 15 posts - 976 through 990 (of 5,504 total)

  • RE: Advice on running totals using a cursor

    Jeff Moden (9/13/2011)


    Oddly enough, it wouldn't take much more time to do the Quirky Update on a million row table than it would be to go through all the shenanigans...

  • RE: pivot data pairs SQL 2005

    Please have a look at the CrossTab article referenced in my signature. This concept will work if you have a known number of comments. Otherwise you might want to read...

  • RE: Advice on running totals using a cursor

    Step 1: get the c.u.r.s.o.r. *cough* approach out of your head.

    Step 2: get the relevant max values off the "big table".

    Step 3: perform the running total on the 10k rows...

  • RE: Transform rows in columns

    virgilrucsandescu (9/13/2011)


    I agree it is probably the most weird request ever, it is a request from a client ...

    They need one Excel column for each row in the dataset, and...

  • RE: Transform rows in columns

    Please have a look at the CrossTab article referenced in my signature.

    Even though it has a MAX() aggregation in there, it still provide the results you're looking for.... Don't be...

  • RE: Datetime

    change authorised_date <='2011-05-31' to authorised_date <'2011-06-01'

  • RE: Display Column Name verticly

    From my point of view the expected output doesn't match the original data:

    In the original data there's one update capture missing where Test changed to Test1. Also, ActionTime is not...

  • RE: "Broker Transaction Rollbacks" Performance Counter

    Thank you for the feedback.

    I'm not sure if we're just "chasing the wind" here since I'm observing exactly the same (everything runs fine except the number increase).

    If neither one of...

  • RE: "Broker Transaction Rollbacks" Performance Counter

    Hi Nils,

    thank you for your prompt reply!

    Unfortunately, there's no transaction involved (neither in the SEND nor the RECEIVE block).

    The concept is based on Rusanu's reusing-conversations script (link in the SQL...

  • RE: Currency conversion calculation

    Duplicate post. Already answered here

  • RE: simple sp

    I guess Jeff asked to decide whether a CrossTab or a DynamicCrossTab would be required.

    Both concepts are described in the related links in my signature. Disclaimer: Jeff is the original...

  • RE: Table size... need to reduce but how?

    How did you measure those numbers? It's unlikely a single table can be larger than the whole DB (unless there are different filegroups and not all have been taken into...

  • RE: Questioning virtualization

    Kevin Dahl (9/10/2011)


    ...

    All indications so far are that our new infrastructure/schema/app layers are all performing worse than what they're meant to replace, and the big glaring elephant in the room,...

  • RE: add a column and if else the select statement?

    Is this all possible within one sql statement and is it the most efficient way of doing this?

    It depends what you're looking for: if it's only a SELECT statement, then...

  • RE: Questioning virtualization

    can virtualizing the DB enable us to cut our CPU power by a factor of 6?

    No and yes.

    Virtualization cannot cut the absolute CPU power an application requires. But it can...

Viewing 15 posts - 976 through 990 (of 5,504 total)