Hi to everyone!I don't know if this is the right position for post this topic, i hope !I have a strange deadlock problem with the follow statement, anyone can help me? Query failed:[3864] 2007-02-01T10:33:37,422 > SELECT TOP 128 "id", "sid", "domain", "topic", "status", "assignment", "priority", CAST("creation_date"-{ts '1970-01-01 00:00:00.000'} AS DOUBLE PRECISION)*86400.0, CAST("on_enter_date"-{ts '1970-01-01 00:00:00.000'} AS DOUBLE PRECISION)*86400.0, CAST("on_exit_date"-{ts '1970-01-01 00:00:00.000'} AS DOUBLE PRECISION)*86400.0, CAST("change_status_date"-{ts '1970-01-01 00:00:00.000'} AS DOUBLE PRECISION)*86400.0, "tries", "successful", "suspend_state", "abort_state", "annotation" FROM "flows_operationselector_view" WHERE "domain" = 'Mam.DataManager' AND "topic" = 'operation' AND "status" = 'OPENED' AND "suspend_state" <> 2 AND "abort_state" <> 2 AND "assignment" = 'video_line' AND "priority" <= 10 AND ( ("tries"=0) OR (dbo.ftries("on_exit_date","tries") < CURRENT_TIMESTAMP) ) ORDER BY priority,creation_dateSQLSTATE: 40001Native error code: 1205Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Nelle risorse lock della transazione (ID di processo 59) si è verificato un blocco critico (deadlock) con un altro processo e la transazione è stata scelta come vittima. Rieseguirla. How can i have a deadlock with a simply SELECT?? Excuse me if the info message is in italian.Thanks Emanuele Garuglieri