Forum Replies Created

Viewing 15 posts - 21,721 through 21,735 (of 26,490 total)

  • RE: Not Trigger few Columns

    Go to Books Online (BOL) and lookup COLUMNS_UPDATED and UPDATE functions. That is where I'd start. let us know if you have any additional questions after reading about...

  • RE: The March 2009 Car Update

    Everyone is different. What is comfortable for one person may not be for someone else. We own a GMC Envoy, a Suzuki Forenza, and a Ford Focus. ...

  • RE: Please Help me Very Urgent

    Since you haven't provided us with the DDL (CREATE TABLE statement) for the table, the code you are running, or sample data, its hard to say for sure. I...

  • RE: Help with SUM

    RBarryYoung (3/31/2009)


    Lynn Pettis (3/30/2009)


    RBarryYoung (3/30/2009)


    Hey, Lynn got to use HAVING! Wohoo! 😛

    I think that we ought to award a prize anytime someone gets to use HAVING legitimately. 😀

    You...

  • RE: Deploying to SharePoint changes the look of report

    Double posted. Please reply here.

  • RE: Help with SUM

    And it should be noted, that both of my rewrites using the derived table and CTE are equivalent to my original code using the HAVING clause.

    Also, arun.sas, in your code...

  • RE: Help with SUM

    arun.sas (3/30/2009)


    Hi,

    Try this

    select a.weekno,b.invtotal

    from

    invoices as a,

    (

    select weekno,sum(gross) as invtotal

    from invoices

    group by weekno

    )as b

    where

    a.weekno = b.weekno

    and b.invtotal > 10000

    ARUN SAS

    As this is SQL Server 2005, you really...

  • RE: Help with SUM

    RBarryYoung (3/30/2009)


    Hey, Lynn got to use HAVING! Wohoo! 😛

    I think that we ought to award a prize anytime someone gets to use HAVING legitimately. 😀

    You know, if I...

  • RE: Sort Order Help Please

    Looks like you need to use the Latin1_General_BIN or Latin1_General_BIN2 collation to get the sort order you want. My test code:

    select * from (

    select 'Pr1' as Title union all

    select...

  • RE: Sort Order Help Please

    It is one way. I'm still wondering what your collation is on your system. Latin1_General_BIN2 is a case sensitive collation. Your server may be using a case...

  • RE: Sort Order Help Please

    What is your system/database collation? It works fine on my system, collation Latin1_General_BIN2.

  • RE: Help with SUM

    Try this:

    select

    weekno,

    sum(gross) as invtotal

    from

    invoices

    group by

    weekno

    having

    sum(gross) > 10000

    order by

    ...

  • RE: Help!

    Oh well, guess 80 compatibility mode allows some things that the actual SQL Server 2000 engine won't. It worked fine on my SQL Server 2005 system with a database...

  • RE: Are the posted questions getting worse?

    Jeff Moden (3/30/2009)


    Lynn Pettis (3/30/2009)


    Jan Van der Eecken (3/30/2009)


    Geez, you are quick to pull out the rule book. Admitted, the pic is about the red card in the finals of...

  • RE: Are the posted questions getting worse?

    Jack Corbett (3/30/2009)


    Lynn Pettis (3/30/2009)


    Jack Corbett (3/30/2009)


    Lynn Pettis (3/30/2009)


    Jan Van der Eecken (3/30/2009)


    Geez, you are quick to pull out the rule book. Admitted, the pic is about the red card...

Viewing 15 posts - 21,721 through 21,735 (of 26,490 total)