Forum Replies Created

Viewing 15 posts - 45,376 through 45,390 (of 59,063 total)

  • RE: What are the Party Plans?

    jgrubb (1/30/2009)


    Lynn Pettis (1/29/2009)


    Jeff Moden (1/29/2009)


    jgrubb (1/29/2009)


    Completely Off-Topic, I wanted to see who started the Pork Chop thing,

    Heh... do you really have to wonder? ๐Ÿ˜›

    Cardinal Moden himself,...

  • RE: Are the posted questions getting worse?

    Sounds like a lot of fun but, consider this, would you like it if your post and name showed up on a "Twit List". Bad enough they show up...

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    Thanks for the detailed explanation... I'll take a look tonight after I get home.

  • RE: Multiple Resultset in a single resultset (UNION)

    See the following...

    http://www.sqlservercentral.com/articles/Test+Data/61572/

    Better question would be, what are you really concatenating and why?

  • RE: tempdb - Restricted File Growth option

    You can shrink temp DB through the GUI without bouncing the server or the service.

    My question would be... what's causing it to grow to 50GB? There's definately something like...

  • RE: Determining whether a Stored Procedure returns a resultset

    krayknot (1/29/2009)


    PhilPacha (1/28/2009)


    A former co-worker has asked this question; I admit, I'm a bit intrigued.

    Given the name of a stored procedure, is there an โ€œefficientโ€ way to determine...

  • RE: records with distinct IDs

    rog pike (1/29/2009)


    nabajyoti.b (1/28/2009)


    the record that appears first in order

    select emp_id,emp_name,emp_address,rank

    from

    (select emp_id,emp_name,emp_address,

    row_number()over(partition by emp_address order by emp_name) as rank

    from ##emp) as A

    where rank=1

    order by emp_address,emp_name

    emp_id emp_name ...

  • RE: Calculating UnitPrice Discounts

    AFCC Inc. Com (1/29/2009)


    Thanks,

    Is the UnitPriceDiscount a percentage or a number ?

    select 10 *((1.0)-4)* 6

    or

    select 10 *((1.0)-.25)* 6

    Heh... you tell us... you're the one that can see the table....

  • RE: records with distinct IDs

    Tim Wilson-Brown (1/29/2009)


    Lowell (1/28/2009)


    in that case, it is impossible, unless you modify your table to include an identity column.

    Which is not reliable either - what if the identity values wrap?

    There...

  • RE: Calculating UnitPrice Discounts

    The 1.0 is to implicity force the calculation to a FLOAT datatype if everything turns out to be an INTEGER. The rest is a matter of simple substitution and...

  • RE: count of consecutive value

    I'll trade ya... ๐Ÿ˜‰ Tell me the business reason behind this and I'll give you some code to do it. The reason for the "trade" is, I'm writting...

  • RE: performance issues

    I recently ran into a similar problem (this morning, in fact). The backups to disk had taken up all the harddrive space because they had a problem getting moved...

  • RE: Slack SQL Server

    Gift Peddie (1/29/2009)


    Oracle does not sell developer edition...

    Correct... instead, they give it away as a free download. ๐Ÿ˜‰

  • RE: CLR Running in Mirrored Environment

    Jonathan Kehayias (1/28/2009)


    Does it really matter for the context of the question posed in this thread?

    Your aversion to CLR takes every thread in this forum completely off topic...

  • RE: Linking to the Previous Row

    David McKinney (1/25/2009)


    As Peter pointed out a few posts ago, a CTE is more akin to a subquery than a temp table, in that it is constructed when it is...

Viewing 15 posts - 45,376 through 45,390 (of 59,063 total)