it is a very simple problem, but I get lost!
instead of this:
'select field1, f2, f3 from obs where id = 2800 order by obs.sort;'
I want this:
'select field1, f2, f3 from obs where id = ' $obsid ' order by obs.sort;'
where $obsid
is a variable.
but I get lost in the apostrophe jungle when I try it.
I don't have much experience with sql and my native language is not english. I'd really like to find a place where I can learn about apostrophes in sql-code.
thank you.
regards from Niels