If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > development with transactions.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-03, 10:38
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Red face development with transactions.

Hi,

I need development a system for a database with transactions, how to do for this development.

Thank you.
Reply With Quote
  #2 (permalink)  
Old 10-22-03, 11:44
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
I am not sure I get this right.

If you want to develop your application using transactions, you need a logged database.

and the following statements:

BEGIN WORK;
INSERT....
UPDATE...
DELETE...

ROLLBACK; or COMMIT;
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 10-22-03, 11:49
sundialsvcs sundialsvcs is offline
Registered User
 
Join Date: Oct 2003
Posts: 706
Talking

Lots of database management systems provide "real transactions." The most obvious and available is probably Microsoft Access. Nearly all SQL-based servers can be expected to provide them.

The implementation of transactions can vary, however. While the familiar "Microsoft SQL Server" (nee Sybase) uses logfiles and locks, other systems do it differently. Both Postgres and Interbase use "versioning" which actually allows one long query to run, seeing its version of the data consistently, while subsequent updates occur apace, each one creating a "new version" of the data that eventually replaces the old.

Many people use transactions improperly. In my humble, "a transaction is not meant to exist for a long period of time; only milliseconds." Data in an SQL-based server is really not meant to remain "locked" for a long time. The performance of an SQL-based system can be very, very good if you play into its strengths and very, very bad if you don't.
__________________
ChimneySweep(R): fast, automatic
table repair at a click of the
mouse! http://www.sundialservices.com
Reply With Quote
  #4 (permalink)  
Old 10-24-03, 09:47
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi,
But I want to development in informix 4GL.

Thank you.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On