Syntax :Update/Insert/Delete
public void update(){
ttsbegin;
select forupdate custable
where custable.AccNo="123"
custable.Custname="dileep"
custable.update()
ttscommit;
}
public void insert()
{
ttsbegin;
cusTable cusTable;
cusTable.name="Name"
cusTable.accno="123";
cusTable.Insert();
}
public void delete()
{
custable custable;
ttsbegin;
select forupdate cusTable
where cusTable.accno="123"
cusTable.delete();
ttscommit;
}
No comments:
Post a Comment