🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #1563

SQL record locking ?

#1563
From: Jeff ONeil
Date: Tue, 09 Dec 1997 00:00
23 lines
833 bytes
I'm new to SQL, and I haven't seen any reference to record locking. How
can I achieve record locking and how would I verify that a record is
locked before use ?

I'm currently using:

select 1
use customer order cname
>>>> search routine & selection

if rlock()
    msgbox('Record currently being edited...')
else
    >>> editing routine of customer record
    unlock
endif

please forgive the crudeness, but how would I implement this into a SQL
environment ?

TIA
Jeff
Technical Details
Message-ID: <348D4B0C.54FBEF60@map.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,c789209d8d0d9096,start
X-Google-Attributes: gidff5a1,public
From: Jeff ONeil <joneil@map.com>
Subject: SQL record locking ?
Date: 1997/12/09
Message-ID: <348D4B0C.54FBEF60@map.com>
X-Deja-AN: 296593287
Organization: None
Newsgroups: borland.public.vdbase.data.sql