Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Topspeed ODBC SQL query question

Status
Not open for further replies.

istudio

Programmer
Oct 8, 2015
1
0
0
AU
I am trying to run a sql query to a topspeed db using odbc driver 5.05 however it would appear that it runs into infinite update loop - can anyone shed some light on this please?

table: eventlog
row: guid CHAR(16), userid CHAR(10), date INTEGER(10), time INTEGER(10), type CHAR(1)

update eventlog set time=time+360000 where date=78446 and userid='1111' <-- This runs into infinite update loop
update eventlog set time=time+1 where date=78446 and userid='1111' <-- This also runs into infinite update loop
update eventlog set time=time+0 where date=78446 and userid='1111' <-- This updates 4 rows which is correct

Is there anything that I have missed?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top