Forum Replies Created

Viewing 15 posts - 6,676 through 6,690 (of 14,953 total)

  • RE: select the first records of each group

    Jack Corbett (4/8/2010)


    I think logically that Gus's query using a CTE and your query using the derived table are the same.

    They are.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: No Menu in Reportmanager?

    Cool biz.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/8/2010)


    GSquared (4/8/2010)


    Edit: Removed by popular demand.

    Expected to see some comments following this one; has me curious. 😛

    Was a response to Gift's implicit "nolo contendre". Nothing that...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Comparing dates of two years

    You need to select a Join between the current and previous data, not separate inserts.

    Something like:

    select *

    from #Current

    full outer join #Previous

    on #Current.InvoiceDate = #Previous.InvoiceDate;

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: can we add a radio button or button on ssrs 2005 report

    So far as I know, you can't add buttons to reports. Reports are just data presentation. Would a link do what you need?

    Or do you mean on the...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: How to execute Index?

    You don't select directly from the index. You select from the table.

    If the index is appropriate, SQL Server will use it when you do that.

    To really "get" indexing, you...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (4/8/2010)


    Lynn Pettis (4/8/2010)


    You know how at work one aw s**t wipes out a thousand atta boys? In parenting it's one atta boy wipes out a thousand aw...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Office Cleaning

    Good article.

    It's always a good thing to open yourself up to more viewpoints.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: No Menu in Reportmanager?

    That wouldn't be it. At least not directly. I'm running SSRS 2008 on Win 7 on my desktop right now, and it works there.

    I had to handle something...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (4/8/2010)


    WayneS (4/7/2010)


    As a parent, you always need to be ready to follow through on any threat that you make. And the sooner you do it, the sooner the...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Edit: Removed by popular demand.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: How many of you are not true DBA's?

    Michael Valentine Jones (4/7/2010)


    What's a "true DBA"?

    Shouldn't your screen name be "PPilate" if you're going to be asking that kind of question? 🙂

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: How to Play the SSC Game - SSC Points

    CirquedeSQLeil (4/7/2010)


    GSquared (4/7/2010)


    Alvin Ramard (4/6/2010)


    GSquared (4/6/2010)


    Steve Jones - Editor (4/6/2010)


    Those are good suggestions. We are getting some people up there, so I ought to add more.

    Since I'm closing in on...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Loop to insert data into a table

    This will break up the days/month string:

    DECLARE @Days CHAR(24);

    SELECT @Days = '252020251920242019251919';

    ;WITH Numbers (Number) AS

    (SELECT TOP 12 ROW_NUMBER() OVER (ORDER BY OBJECT_ID) * 2

    FROM sys.columns AS C)

    SELECT SUBSTRING(@Days, Number-1, 2)

    FROM...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Gift Peddie (4/7/2010)


    Lynn Pettis (4/7/2010)


    Gibraltar strikes again. She really needs to learn some tact.

    Lynn,

    When I say a product comes with limitations I know the current internals of the product...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 6,676 through 6,690 (of 14,953 total)