- will gardner
- PowerBuilder
- Tuesday, 30 November 2021 05:00 PM UTC
Hello,
We have an app with about 423 different sql queries that use *= in them which is causing errors when migrating to a newer sql server.
Apparently this syntax was deprecated in the early 90s and it is was used for left outer joins.
Do any of you have any advice for a good way to do this, or perhaps a tool that could convert the syntax?
any help/advice is greatly appreciated.
Thanks
example is below:
select a.code_id, b.code_id, c.code_id
into :ls_cat, :ls_type, :ls_subtype
from mc_perm, mc_cod2 a, mc_cod2 b, mc_cod2 c
where (mc_perm.mc_perm_id = :ll_mc_perm_id)
and (mc_perm.category *= a.code_id and a.code_type_id = 22)
and (mc_perm.type *= b.code_id and b.code_type_id = 24)
and (mc_perm.subtype *= c.code_id and c.code_type_id = 66);
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.