Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)

  • RE: SQL Query help

    You are right, and that is why I wanted to avoid doing it this way.. I first did it like this- a user can click on a device name and...

  • RE: SQL Query help

    There is no relation, idea is to display the recent data first row.. So if there are two type 1 and type 2 measurements at 10:00 and 9:00 each then...

  • RE: SQL Query help

    Hi Jared,

    There is a single observations table with these columns I listed here and some more columns. The database is connected to a WS.. the web service accepts HL7 data...

  • RE: SQL Query help

    But what you've done won't work, you need to limit the Observations table in a subquery.

    Ahh yes.. Thank you very much

  • RE: SQL Query help

    Hi Cadavre

    Thanks for this, it seems like I am going somewhere now with this way.. and yes it is not simple to use pivot with this.. btw I think you...

  • RE: SQL Query help

    Hi,

    Thanks for your reply. Yes I am familiar with Joins, I tried many ways, one of them is:

    With MeasurementType1 As

    (Select * from Observations where measurementtype=1 and date=.........)

    measurementtype2 AS

    (

    ...........)

    ...............

    then joining each...

Viewing 6 posts - 1 through 6 (of 6 total)