我想阻止用戶(所有人)更新主題的特定列以防止循環依賴。 CREATE TABLE Topic(
id serial NOT NULL PRIMARY KEY,
contenxt text DEFAULT NULL, -- can be freely updated
Dependency1 serial REFERENCES Topic(id) ON DELETE
我有德爾福例如: function SetLocalTimeWin9xWinNT(const ADateTime: TDateTime): Boolean;
var
ABuffer: LongWord;
ATokenPriv, ATokenPrivOrg: TTokenPrivileges;
AHandleToken: THandle;
begin
if
鑑於數據庫模式: CREATE SCHEMA Database;
CREATE TABLE DVD-Rental
(
Member-Email NVARCHAR(50) NOT NULL,
Member_firstname NVARCHAR(50) NOT NULL,
Member_lastname NVARCHAR(50) NOT NULL,
Birth_date DATE NOT