Oracle 9i ignores query alias sent from vb.net -
the following code released version of application using framework version 1 , oracle 9i.
strsql = "select course_code code course_revisions doc_ref_code = '" & doc_ref_prevcode & "'" objdataset = stkdataassistant.gettable(strsql) course_code = objdataset.tables(0).rows(0)("course_code").tostring response.redirect("../courses/courserevisionnew.aspx?flag=add&course_code=" & course_code)
it throwing error on following line:
course_code = objdataset.tables(0).rows(0)("course_code").tostring
it known there error in sql string alias code. issue being ignored in clients environment , working until month ago throwing error in stated line above.
is error showing because of sort of framework change? or oracle?
the client states there has been updates server database resides application still working expected. error started showing 3 months later , there has no changes done either database or application environment.
oracle 9i has been out of support many, many years. have work have, try this:
select "course_revisions"."course_code" "course_revisions" "course_revisions"."doc_ref_code" = 'qdmsprod';
or make view alias want , select that.
Comments
Post a Comment