Click here to Skip to main content
15,914,255 members
Home / Discussions / Database
   

Database

 
GeneralRe: Using mySQL Pin
Jean-Marc Molina29-May-03 13:54
Jean-Marc Molina29-May-03 13:54 
GeneralRe: Using mySQL Pin
Joshua Nussbaum30-Apr-03 7:57
Joshua Nussbaum30-Apr-03 7:57 
Generalconnectionstrings Pin
Hesham Amin21-Apr-03 23:07
Hesham Amin21-Apr-03 23:07 
GeneralUpdating SQL Row Data Pin
gollnick20-Apr-03 4:33
gollnick20-Apr-03 4:33 
GeneralGet Auto-Increment columns from Access using OleDb Pin
krisp19-Apr-03 13:43
krisp19-Apr-03 13:43 
QuestionODBC driver and MSAccess, what's wrong? Pin
Konstantin S. Diguine18-Apr-03 1:59
Konstantin S. Diguine18-Apr-03 1:59 
GeneralApplication is still running or a crash occured Pin
ovidiu_pon17-Apr-03 22:08
ovidiu_pon17-Apr-03 22:08 
GeneralRe: Application is still running or a crash occured Pin
andyharman18-Apr-03 4:21
professionalandyharman18-Apr-03 4:21 
I have used a different method successfull in the past.

The database table has the following columns tacked on the end:
LeaseUserId Varchar(10)
LeaseExpiryTime Datetime

Whenever a user wants to do an update, I set the LeaseExpiryTime to a time that is five minutes in the future. The update stored procedure is designed to raise an error if the LeaseUserId is not the current user, or if the LeaseExpiryTime has passed (cos the user doesn't "own" the lease any more). The client may explicitely extend the lease (if the user is taking a long time entering their information).

This mechanism is similar to the method that most server operating systems use to "lock" files.

Hope this is helpful.
Andy
GeneralRe: Application is still running or a crash occured Pin
ovidiu_pon20-Apr-03 20:51
ovidiu_pon20-Apr-03 20:51 
Generalstored procedure problem Pin
AlphaS17-Apr-03 12:36
AlphaS17-Apr-03 12:36 
GeneralRe: stored procedure problem Pin
Rein Hillmann17-Apr-03 13:49
Rein Hillmann17-Apr-03 13:49 
GeneralRe: stored procedure problem Pin
AlphaS18-Apr-03 10:35
AlphaS18-Apr-03 10:35 
GeneralRe: stored procedure problem Pin
Rein Hillmann18-Apr-03 13:25
Rein Hillmann18-Apr-03 13:25 
GeneralRe: stored procedure problem Pin
AlphaS18-Apr-03 21:03
AlphaS18-Apr-03 21:03 
GeneralMSDE server performance question Pin
Member 9617-Apr-03 7:27
Member 9617-Apr-03 7:27 
GeneralRe: MSDE server performance question Pin
Mark Smithson17-Apr-03 8:22
Mark Smithson17-Apr-03 8:22 
GeneralRe: MSDE server performance question Pin
Member 9617-Apr-03 8:51
Member 9617-Apr-03 8:51 
GeneralRe: MSDE server performance question Pin
andyharman18-Apr-03 4:07
professionalandyharman18-Apr-03 4:07 
GeneralRe: MSDE server performance question Pin
Member 9619-Apr-03 18:08
Member 9619-Apr-03 18:08 
QuestionSQL Server Insert and trigger question? Pin
Bart-Man17-Apr-03 4:57
Bart-Man17-Apr-03 4:57 
AnswerRe: SQL Server Insert and trigger question? Pin
Chris Meech17-Apr-03 7:47
Chris Meech17-Apr-03 7:47 
GeneralRe: SQL Server Insert and trigger question? Pin
Bart-Man17-Apr-03 9:48
Bart-Man17-Apr-03 9:48 
GeneralRe: SQL Server Insert and trigger question? Pin
Chris Meech17-Apr-03 10:06
Chris Meech17-Apr-03 10:06 
GeneralRe: SQL Server Insert and trigger question? Pin
Bart-Man17-Apr-03 10:43
Bart-Man17-Apr-03 10:43 
GeneralSQL problem Pin
John-theKing16-Apr-03 21:53
John-theKing16-Apr-03 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.