Answer:
1. Open a database connection using open method of the connection object.
2. Begin a transaction using the Begin Transaction method of the connection object.
3. Execute the SQL commands using the command object.
4. Commit or roll back the transaction using the commit or rollback method of the transaction object.
5. Close the database connection.
Asked In: Many Interviews |
Alert Moderator