Thanks for your reply.
But there is not deadlock at all.
Table1 is not depended on table2.
Table1's primary key is deviceid which is referenced by table2.
My script for creating the table is
create table tbDeviceDescription
(
txtDeviceID varchar(10) primary key,
txtDeviceType varchar(14) references tbDevice,
txtDeviceName varchar(100),
txtDeviceLocation varchar(100),
txtroomid varchar(10) references tbroom,
numPositionX number,
numPositionY number,
numPositionZ number,
numPositionH number,
numPositionP number,
numPositionR number
);
create table tbTransLoad
(
numTransID int primary key,
txtDeviceID varchar(10) references tbDeviceDescription,
txtStatus varchar(21),
txtPropertyValue int,
dtTransDateTime date,
txtCommandSource varchar(30)
);
And insert is done in the usual Proc/C++ Exec SQl insert.....
I am not able to see any problems anywhere.....
Thanks....