Thanks Deja, dont worry my english is very bad too, i had a global connection on my DBI object, just like u said, but i changed, but stills doesnt working, when u refer that i should use a connection for each function what are u refering to? . A connection for every insert for example?. I have the same problem that U had with the constrainsts in the RDBMS, i am inserting on a table (the father) and when i try to insert in the child table, gives me a constraint error, because is not using the same connection, and when i monitor the connections i have a lot of sessions, , i have to make a transaction for each table, the transactions doesnt work with COM+?

Thanx for your help