Thanks Ido
would the query not first need to be attached to a transaction, which is in turn attached to a database ? I would like to create the actual database file on the disk, so there must be a function (I guess) to begin with

ik wrote:

Hi,

Do you mean the SQL syntax or the functions in the component needed to do so ?

For SQL syntax it is :
create database <databasename>;

Usually (I never worked with SqlDb) the syntax is
Query.Lines.Add(SQLStatment);
Query.Execute;

There are other ways as well to execute a query (speacialy when you do
not expect it to return a value at the end like the above query), so
please also take a look at
http://wiki.lazarus.freepascal.org/index.php/Lazarus_Database_Tutorial
for additional examples ...

Ido

On 5/29/06, SteveG <[EMAIL PROTECTED]> wrote:

Would somebody be able to point me in the correct direction for creating
a database (the actual file, not a table within it)
for Interbase using the SqlDb components ?

Thanks


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to