php-sql ROLLBACK TRANSACTION

what is rollback transaction

Page 1 of 1

2 Replies - 2054 Views - Last Post: 07 October 2010 - 04:40 AM Rate Topic: -----

#1 priyankamalusare  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 11-August 10

php-sql ROLLBACK TRANSACTION

Posted 07 October 2010 - 04:17 AM

hi

What is Rollback Transaction? how it works?As i have tried rollback.inserting a values from front-end to two different tables...but still my concept is not clear about rollback.I am attaching a files below.please guide me.

Attached File(s)

  • Attached File  emp.php (2.63K)
    Number of downloads: 65
  • Attached File  empval.php (1.53K)
    Number of downloads: 55

Is This A Good Question/Topic? 0
  • +

Replies To: php-sql ROLLBACK TRANSACTION

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3576
  • View blog
  • Posts: 10,439
  • Joined: 08-June 10

Re: php-sql ROLLBACK TRANSACTION

Posted 07 October 2010 - 04:21 AM

in a database Transaction you temporarly execute database actions (that may depend on each other), which are finally written to the DB on Commit or discarded on Rollback (e.g. if one of the actions failed).

This post has been edited by Dormilich: 07 October 2010 - 04:22 AM

Was This Post Helpful? 0
  • +
  • -

#3 priyankamalusare  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 11-August 10

Re: php-sql ROLLBACK TRANSACTION

Posted 07 October 2010 - 04:40 AM

View PostDormilich, on 07 October 2010 - 03:21 AM, said:

in a database Transaction you temporarly execute database actions (that may depend on each other), which are finally written to the DB on Commit or discarded on Rollback (e.g. if one of the actions failed).

thanks
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1