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 > lock several database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-18-06, 06:03
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Lightbulb lock several database

Hi all,

Anybody can tell me if informix allow lock more than one database same time.

Thank you for you help.
Reply With Quote
  #2 (permalink)  
Old 08-19-06, 08:59
Tyveleyn Tyveleyn is offline
Registered User
 
Join Date: Aug 2006
Location: The Netherlands
Posts: 248
A database can be opened in locked mode with the SQL statement
Code:
DATABASE dbname EXCLUSIVE
but in an interactive session you will first have to close the current database. I presume in an application you can make multiple connections to databases and lock them with this statement. Keep in mind that for opening a database in locked mode no other connection to that database may exist at the time.

Regards
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