Forum Replies Created

Viewing 15 posts - 31 through 45 (of 58 total)

  • RE: if / else statement?

    OOps...I can't cut and paste very well it seems! Here is the full query.

    I only have 2 options...james1 & james2...I'd still have to use case?

    To be honest, I don't even know...

  • RE: SQL Transaction deadlock

    Hi guys...

     

    no cursors....

     

    how do you run a query with trace flags on, especially from an ASP script?  Or do I have to use sql server query analyzer?

    Thank you

     

     

  • RE: Simple JOIN question

    Thanks guys...

     

    does it need to be a LEFT OUTER JOIN?  Or can I use INNER, LEFT, RIGHT, etc...

     

    thank you!

     

     

  • RE: Sum(Column) issue

    wow, I'm a rookie now.

     

     

  • RE: Sum(Column) issue

    Paul,  each item has a force(OOForcedAmount) and each force is in a group.  I wanted to display the individual force amounts, as well as the sum of...

  • RE: Sum(Column) issue

    OOPS, I meant to type Sushila!  Sorry!

  • RE: Sum(Column) issue

    Sushia,

    AND IURaysAmount > '00:00:00' 

    the time it takes for a certain amount of  infrared and ultraviolent rays to reach a lense...

    don't ask me what that means, I'm just...

  • RE: Sum(Column) issue

    Paul,

    I understand your join example would work, but I meant something like this:

    FROM A

    INNER JOIN B on A.id=B.id

    INNER JOIN C on D.id=C.id

    INNER JOIN E on F.id=E.id

    etc...

    thank you

     

  • RE: Sum(Column) issue

    sushila,

    Thank you for your reply.  My problem with the joins, is that I think I have too many tables to be able to use a join.

    September 23, 2005 at 9:16 am

    #592638

  • RE: Sum(Column) issue

    Paul...if I don't put OO.OOForcedAbount in the Group By clause, I get this error:

    Column 'OO.OOForcedAbount' is invalid in the select list because it is not contained in either an...

  • RE: Disasterous Sql Query Modification

     

    Wow...how did you do that?

     

    It works now...thank you very much!

    BTW, that query maker is awesome!

     

     

  • RE: Disasterous Sql Query Modification

    Do you mean hire a query designer?  We are trying to hire a DB programmer, but til then, I'm stuck with this mess. 

    BTW, the old query worked beautifully.  Adding...

  • RE: Disasterous Sql Query Modification

     

    No, not yet...I modified the query to look like this:

    select OO.OOid, AdminNetwork.IONetworkName as AdminNetwork,

    YU.YUNetworkName as ClientNetwork,

    ZX.ZXnameLast + ', ' + ZX.ZXnameFirst As Client,

    Sum(OOForcedAmount) As Forced

    from workOzone EE, Ozonegenerator...

  • RE: Disasterous Sql Query Modification

    Yes RGR'us, I am getting a TON of duplicate data.  I've been experimenting with using LEFT JOIN, but something I'm doing is wrong. 

     I can't believe I'm getting paid $8/hour to do this...

  • RE: Syntax error help

    Hello RGR'us, thank you for your comment, changing it to '0' got rid of the error.

     

    Thank you dear

     

Viewing 15 posts - 31 through 45 (of 58 total)