6. QUEL and EQUEL Statements : Begin Transaction Statement--Begin an MQT : Example
 
Share this page                  
Example
This example shows a simple transaction that adds two rows to the table "emp."
## begin transaction
## append to emp(empname="jones,bill", sal=10000,
##   bdate=1914)
## append to emp(empname="smith,stan", sal=20000,
##   bdate=1948)
## end transaction  /* commits both appends to table */