Have you an example for connecting MS SQL Server and checking for existing database. If database not existist create the database without the directory values of SQL Server (http://crlab.com/forums/viewtopic.php?t=1350 without
ON PRIMARY
( NAME = [rgeadat],
FILENAME = 'C:\Programme\Borland\Delphi7\Projects\rgea.21\daten\rgeadat.mdf',
SIZE = 1 MB,
MAXSIZE = UNLIMITED,
FILEGROWTH = 10 % )
LOG ON
( NAME = [rgealog],
FILENAME = 'C:\Programme\Borland\Delphi7\Projects\rgea.21\daten\rgealog.ldf',
SIZE = 1 MB,
MAXSIZE = UNLIMITED,
FILEGROWTH = 10 % )
THX AK
Example for check database existst and create it if not
-
- Posts: 7
- Joined: Wed 20 Sep 2006 09:44