CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Español

 Bloque transaccional

Print topic Send  topic

Author Message
Laste

Posts: 11
Posted: 08/18/2006, 10:21 AM

Hola a todos:

Tengo una interrogante, ¿cómo prodría manejar un bloque de consultas a la BD en un bloque transaccional, de manera que si ha ocurrido algún error en una consulta se pueda deshacer las ya efectuadas?

Esto se los pregunto porque estoy trabajando con un query que involucra inserts a varias tablas y deseo controlar que todos se lleven con éxito o no se lleven a cabo.

Gracias por su ayuda.
_________________
Simply Laste
View profile  Send private message
lvalverdeb

Posts: 299
Posted: 08/18/2006, 3:05 PM

Cual base de datos usas?

_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
View profile  Send private message
Laste

Posts: 11
Posted: 08/21/2006, 11:34 AM

utilizo MySql

_________________
Simply Laste
View profile  Send private message
lvalverdeb

Posts: 299
Posted: 08/24/2006, 7:16 AM

Para MySQL 4.0 y superior con tablas InnoDB:

http://dev.mysql.com/books/mysqlpress/mysql-tutorial/ch10.html




_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.