> Is there a way in which I can create a database (using DBI, of
course)? All
> the examples I have seen seem to connect to a database rather than
creating
> one.
>
> Is this possible?
There's always a way, but...
Depends on the underlying DBMS and which DBD you are using. Read the
appropriate documentation.
For example you can create MS-SQL databases using the CREATE DATABASE
statement, of course you would need to use the DISK INIT statement to
create a device first and you would need to connect to the SQL server in
order to execute the SQL statements.
Alternatively, you can shell out and use the DBMS's tools to create the
database or if you're using Win32 most DBMS's have a Win32::OLE
interface for this.
--
Simon Oliver