You are viewing limited content. For full access, please sign in.

Question

Question

sql statement returns ORA-32033: unsupported column aliasing

asked on June 1, 2015 Show version history

Since a couple of weeks, I am occasionally seeing this message in the Windows Event Viewer about an SQL statement issued by LaserFiche (v9.2).

I wasn't closely monitoring the Event Viewer before so I may have missed past occurrences.

Does anyone know what tool can issue such a statement ? No user complaints, no Workflow process errors, or anything else so far that can lead me to identify the source of this.

It can have something to do wit hmy database being 10.2 and this query using recursion which is not fully supported until 11.2, but still I'd like to know where this is coming from.

 

Thank you !

 

Here is what I finde in the Event Viewer :

 

Database statement execution error encountered. Session ID: ; Dialog ID: ; Repository: 'XXX'; CLI routine: CatalogManager::SubmitSingleEntry; Message: ORA-32033: unsupported column aliasing ; SQL Statement: 'WITH t(ids) AS (SELECT :id<int> FROM DUAL) SELECT tocid, 1 as mptid, 0 as sptid, 0 as metaid, name as value, native_language FROM toc WHERE EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT tocid, 2, 0, 0, edoc_ext, native_language FROM toc WHERE edoc_ext IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 4, 0, 0, notes, native_language FROM version_group, toc WHERE version_group.tocid = toc.tocid AND notes IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 5, 0, vhist_toc.version, vhist_toc.toc_comment, toc.native_language FROM toc, vhist_toc WHERE vhist_toc.tocid = toc.tocid AND vhist_toc.toc_comment IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 6, propval.prop_id, pos, str_val, native_language FROM propdef, propval, toc WHERE BITAND(propdef.prop_flags, 4) <> 0 AND propdef.prop_id = propval.prop_id AND propval.tocid = toc.tocid AND str_val IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 7, 0, document_signatures.sig_id, sig_comment, native_language FROM document_signatures, toc WHERE document_signatures.tocid = toc.tocid AND sig_comment IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 8, 0, document_signatures.sig_id, cert_subject, native_language FROM document_signatures, toc WHERE document_signatures.tocid = toc.tocid AND cert_subject IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 9, 0, tag_id, et_descrip, native_language FROM entry_tag, toc WHERE toc.tocid = entry_tag.tocid AND et_descrip IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 10, ann.ann_type, ann_id, ann_text, toc.native_language FROM ann, toc, doc WHERE toc.tocid = doc.tocid AND doc.pagenum >= 0 AND doc.page_id = ann.page_id AND ann_text IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) UNION ALL SELECT toc.tocid, 11, ann.ann_type, ann_id, ann_comment, toc.native_language FROM ann, toc, doc WHERE toc.tocid = doc.tocid AND doc.pagenum >= 0 AND doc.page_id = ann.page_id AND ann_comment IS NOT NULL AND EXISTS (SELECT ids FROM t WHERE ids = toc.tocid) '; SQL variable: ''; SQL State: .

0 0

Answer

APPROVED ANSWER
replied on June 2, 2015

This problem should be fixed in Laserfiche Server 9.2.1.

1 0
replied on June 3, 2015

Do you have a bug id for reference ?

Thank you !

0 0
replied on June 3, 2015

SCR 123512

0 0
replied on June 4, 2015

Is that a non-published bug ? I don't see a reference to 123512 in the release notes or list of changes for 9.2.1, or in the KB.

I'm just trying to assess what was going on (and may have gone wrong or crashed) when this error occurred.

 

Thank you !

0 0
replied on June 4, 2015

The alias in the WITH clause is not supported in versions of Oracle Server prior to 11g. You'd typically see this issue when reindexing. Laserfiche Server 9.2.1 has addressed the matter.

1 0
replied on June 4, 2015

Thank you

0 0
replied on June 4, 2015 Show version history

The release notes for updates and patches do not mention every issue that the updates address. This particular issue is unpublished.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.