IBM Support

Guardium Query Rewrite returns 'Ambiguous Column Name' error when table aliases are used

Troubleshooting


Problem

Given a sample query which makes use of table aliases as follows:
SELECT TOP 1 p.col_1, ss.col_2
FROM tab_p p 
And the following query rewrite action:
Change 'col_1' to 'LEFT(col_1,4) + '****' AS col_1' (use regex and all rule = false)
An 'Ambiguous Column Name' error is returned when the sample query is run.

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
02 February 2019

UID

ibm10869036