Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on How to make sure that the operation on database is successful? within the SQL Server forums, part of the Databases category; Suppose there is Insert or Update or Delete operation is performed on a database table. How you make sure that the operation(Insert, Update or Delete) is successful?...
|
|||||||
| SQL Server SQL Server is a Database Management System(DBMS) by Microsoft |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
How to make sure that the operation on database is successful?
Suppose there is Insert or Update or Delete operation is performed on a database table. How you make sure that the operation(Insert, Update or Delete) is successful?
|
| Sponsored Links |
|
|||
|
Re: How to make sure that the operation on database is successful?
If the transaction is not successful, you will get error message displayed like what you see in some web pages. In programming languages, like VB, if you execute sql statements through those language's built-in controls ie. ADODB, there are options to catch failed queries using properties/methods of those controls. Anyway a transaction will never be updated partially in SQL server, It will either updated fully or not at all.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How many four digit numbers can you make | mikalla5519 | Brainteasers | 2 | 03-01-2007 02:58 AM |
| Would like to make an entry into IT field... | kanchhana | Career Advice | 0 | 02-12-2007 08:29 AM |
| can you make a simple some? | psuresh1982 | Brainteasers | 14 | 12-25-2006 05:04 AM |
| We make them cry... | Lokesh M | Geeks Lounge | 1 | 12-19-2006 07:56 AM |
| Make me understand about make program in UNIX | Remasri | Unix/Linux | 1 | 08-06-2006 03:22 PM |