Hi all !
It is all about an outer join problem & SQL ANSI_92 syntax. I looked for messages dealing with this problem, but none has been corresponding (actually, the ones I found were the oppposite of mine …).
My problem is that I have complex joins with outer joins melted (one would say “quite ugly” but that’s the ways it is and I have to deal with it to build my universe). Since outer joins are disabled on outerjoins, I have to write it by hand in the join syntax. As a result, when some querries are generated by BO, I have an error because both *= and ANSI syntax are melted.
I cannot modify the sybase prm file because it is likely to be used by another application in my company, but I guess such modifications can be done at universe level using the parameter tab.
I then tried adding:
OUTERJOINS_GENERATION=USUAL (instead of ANSI_92 in the prm file)
LEFT_OUTER=$* (instead of nothing)
RIGHT_OUTER=*$ (instead of nothing)
I did not touch ANSI92=No (in the tab) and EXT_JOIN=YES (in the file)
whether modifications are made directly in the file on in the parameter tab; the result is still the same. everything looks like the changes have no effect at all …
So here are my questions :
1/ is it correct that the universe parameter tab will override the prm file settings ?
2/ how can I enable the *= syntax ? Am I missing something ?
3/ is it normal that with a ANSI92=No in the universe paremeters and a OUTERJOINS_GENERATION=ANSI_92 in the prm file, i have SQL ANSI syntax generated ?
4/ subsidiary : is it better to have ANSI syntax and enabling complex outer joins (if possible) ? these are disabled, so if you answered yes, can you tell me how to enable outerjoins on complex joins ?
If it can help, i’m running sybase v12, BO 6.1 thick client
Many thanks for the help,
david
blinitz (BOB member since 2004-04-20)