Forum Replies Created

Viewing 15 posts - 8,716 through 8,730 (of 10,144 total)

  • RE: Error in Stored Procedure with view :SSRS

    Interesting - if you're dropping and recreating the view in this sproc, then everything else which references the view must do the same - otherwise, the view definition is unknown...

  • RE: How to find Week start date and Week end date

    karthikeyan (3/6/2009)


    Thanks a lot to all.

    I just wanted to know what about my solution? won't it be a god solution? I think 'YES'. Becuase i have used UPPER function. Right?...

  • RE: Updating Multiple row subquery ..!! Help ..

    If you were to write a SELECT against these two tables which returned just the rows you want to update from the target table, along with the target column and...

  • RE: Are the posted questions getting worse?

    Bob Hovious (3/5/2009)


    Add some green peas to get the canister effect. Yum.

    Mushy peas! Yum! Mushed ballistically!

  • RE: give me your suggestion

    Jeff Moden (3/5/2009)


    Bob Hovious (3/5/2009)


    I just tested the function from that article ... it is SLOW!!!!

    9999 rows converted using that function takes almost 20 seconds!!!

    Heh... I absolutely love it... let...

  • RE: Distinct going slower than *

    Derek Dongray (3/5/2009)


    Actually, I vaguely recall hearing that before.

    These days I just avoid UDFs wherever possible, 'cos I know there's going to come back and haunt me later! 😀

    They're cool,...

  • RE: Distinct going slower than *

    Putts (3/5/2009)


    Derek Dongray (3/5/2009)


    Looking at the plan....

    Sorry for a bit of confusion, Derek, but have brought up a new query that is doing something very similar here on page 4....

  • RE: Distinct going slower than *

    Hey, thanks for going the extra mile, Putts. Can we have some table row counts as well, please? Off the top of your head is fine so long as they're...

  • RE: Are the posted questions getting worse?

    GilaMonster (3/5/2009)


    Chris Morris (3/5/2009)


    Hey Grant, your chum's back in town. I'm in the bleachers with a couple of beers.

    I'll join you. Got any coffee?

    Plenty, make yourself comfortable. You might want...

  • RE: Are the posted questions getting worse?

    Hey Grant, your chum's back in town. I'm in the bleachers with a couple of beers.

  • RE: Distinct going slower than *

    Putts (3/5/2009)


    As mentioned later in my post, it's a view.

    I've read the Forum Etiquette but not sure how that applies to my question ..... unless you just always paste that...

  • RE: Distinct going slower than *

    Is IREP_V_POSITION_STANDARDS a table or a view?

  • RE: How to get day of a specific week

    peter.marshall (3/5/2009)


    Ah - nevermind, thanks for the help but I've just found a solution! 🙂

    I wrote a function which steps through the days of the month until it hits the...

  • RE: UPDATE a datetime field with a datetime from another database

    Interesting...have a look at this...

    SELECT u.[Last run], t.LastRunField

    FROM [SQLSERVER\SQLINSTANCE].[Database].dbo.[UploadStatus] u

    INNER JOIN [Table] t ON t.CashDesk = u.CashDesk and t.UploadJob = u.UploadJob and t.Store = u.Store

    WHERE u.[Upload job] = @UploadJob

    AND...

  • RE: UPDATE a datetime field with a datetime from another database

    agh100 (3/5/2009)


    No, here it returns the date as it should.

    2009-03-04 20:58:41.083

    The usual suspects here are the backslash in the server name and the setting of quoted_identifiers... what does...

Viewing 15 posts - 8,716 through 8,730 (of 10,144 total)