Hi!

I just tried using openoffice to create a SQL query, but it failed when I tried using left outer joins. The contructed query from OO contains curly braces to group things. I've never seen this construct before. Is it OO doing bad things, or does postgresql not understand it? It's on pg-7.3.4. Perhaps 7.4 behaves differently?

SELECT "personer"."foretag", "personer"."fnamn", "personer"."enamn", "befattningnamn"."namn"
FROM { OJ "public"."befattning" "befattning"
LEFT OUTER JOIN "public"."personer" "personer" ON "befattning"."personid" = "personer"."personid" },
"public"."kommentar" "kommentar", "public"."personer" "personer", "public"."befattning" "befattning",
"public"."befattningnamn" "befattningnamn" WHERE 0 = 1



ERROR: parser: parse error at or near "{" at character 100


(The WHERE 0 = 1 seems to be OO's way of checking the query syntax.)

Thanks
Palle


---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Reply via email to