How do I lock a table in oracle with php?
Why do you want to lock the table. Oracle will handle any locking that it needs.