Unable to determine association between statement parameters

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Developer9
Premium Member
Premium Member
Posts: 187
Joined: Thu Apr 14, 2011 5:10 pm

Unable to determine association between statement parameters

Post by Developer9 »

Hi ,

I am getting the following error while updating data in SQL server database using ODBC connector stage

Code: Select all

UPDATE 
   SCHEMA.TABLE
 SET
	  EMP  = ORCHESTRATE.EMP ,  COLC  = 'N'
 WHERE
	EMP = 1
	AND COLA = ORCHESTRATE.COLA
	AND COLB = ORCHESTRATE.COLB
	AND COLC  = ORCHESTRATE.COLC
Warning message :

Code: Select all

TABLE: Unable to determine association between statement parameters and table columns. The connector will not be able to obtain external schema and only limited schema reconciliation will be performed
Please let me know any issues with the SQL I used in the job

Thank you
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Have it generate the SQL then modify it.
Mamu Kim
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Exactly, so you can get an idea how you should have crafted the SQL based on your column metadata. I suspect the first cause noted here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply