• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Netscape's Server-Side Additions > database.commitTransaction()

database.commitTransaction()

NES2+Syntax

							database.commitTransaction()

Description

The commitTransaction() method of the database object commits a new SQL transaction. This commits all the actions against the database since the last commit. If the commit is successful, 0 is returned. If a non-zero number is returned, an error was encountered. In this case, you can use the various methods of the database object to retrieve the code and message of the error.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint