sql - MS Access Updating Oracle Database - Query Problems -


i having problem update query updates 1 column in 1 of our oracle tables. import csv file access, call 'newuln' criteria file used update our table.

this script works fine if you're entering person codes manually. updates table accordingly correct results. code below:

update newuln inner join fes_people on newuln.misidentifier = fes_people.person_code set fes_people.unique_learn_no = [newuln].[uln] (newuln.uln not null) , (fes_people.person_code=[enter person code]); 

we wish update records in 1 go have had difficulties doing this. here's me thinking code below ok:

orginal code:

update newuln inner join fes_people on newuln.misidentifier = fes_people.person_code set fes_people.unique_learn_no = [newuln].[uln] (newuln.uln not null) , (fes_people.person_code=newuln.misidentifier); 

most date version (based on suggestions):

update newuln inner join fes_people on newuln.misidentifier = fes_people.person_code set fes_people.unique_learn_no = [newuln].[uln] (newuln.uln not null); 

but we've had sorts of errors crop - access crash when try , run access query.

sometimes come lock violations (interestingly enough it'll update first record, fail rest). error "fes_people - 'invalid number'" pops up, other times "can bind long value insert long column".

the field uln has been text , has worked before, misidentifier text (when had running version of on windows xp) have changed long int.

i didn't write orginally, stopped working after upgraded our machines windows 7 having rewrite little knowledge of access.

thanks replies in advance

in second query doing join on newuln.misidentifier = fes_people.person_code including condition in clause redundant. perhaps throwing wrench works?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -