shared fields between tables
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Versions, Editions & End-of-Life
Hi, I am using Informix IDS 7.1 w/ ESQL/C. Now, I have two table that are defined like these: Table_a fieldOne integer fieldTwo integer Lock integer Table_b fieldXX integer Lock integer When a specific row of Table_a has the Lock value set, I need to go update all rows with a certain value of fieldXX to have their Lock field set. How do I establish a relationship between tables and shared fields ? Thanks, L Sent via Deja.com http://www.deja.com/ Before you buy.
Lora, This is another case of "Tell me how to make the solution to my problem that I can't make work, work." You're not the first to do this nor the last. PLEASE, post the problem not your solution and we can help. Based on the description here I have no idea what you want to accomplish. Are you trying to implement some kind of manual transaction locking? Why when the engine provides such good locking and concurrency features already? What is it you want to do? Art S. Kagel lora@ragingbull.com wrote: > > Hi, I am using Informix IDS 7.1 w/ ESQL/C. > > Now, I have two table that are defined like these: > Table_a > fieldOne integer > fieldTwo integer > Lock integer > > Table_b > fieldXX integer > Lock integer > > When a specific row of Table_a has the Lock value set, I need > to go update all rows with a certain value of fieldXX to have > their Lock field set. How do I establish a relationship between > tables and shared fields ? > > Thanks, > L > > Sent via Deja.com http://www.deja.com/ > Before you buy.