TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: MATHEAS MANSSEN
date: 1997-07-25 01:34:00
subject: SQL

Hello All,
Is the following SQL statement(especially the key section) possible in 
Delphi? Is it possible in Delphi 3? I'm now using Delphi 2.0. It's to be used 
in a stand-alone application.
CREATE TABLE PERSON (
NAME      VARCHAR(25) NOT NULL,
NR        INT         NOT NULL,
RELATEDTO INT         NOT NULL   DEFAULT 0,
PRIMARY KEY (NR),
FOREIGN KEY (RELATEDTO) REFERENCES PERSON(NR)
  ON DELETE SET DEFAULT ON UPDATE CASCADE );
CYa,
Matheas (M.S.L.F.Manssen@wing.rug.nl)
--- FMail/386 1.02
---------------
* Origin: Ichthus bbs, The Netherlands +31-318-548598 (2:283/218.133)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.