1

is it possible to connect to a SQL Anywhere Server without an existing database to create one. In SQL Anywhere Studio i always have to define an existing database.

Regards Martin

1 Answers1

0

You can use the dbinit utility to create a database without connecting to one. If you really want to connect to a SQL Anywhere server and execute the CREATE DATABASE statement yourself (which is all dbinit does), you can start the personal server (dbeng17) and use the utility database, which is a "virtual" database that always exists. To do this, specify "DBN=utility_db" in your connection string.

Graeme Perrow
  • 545
  • 1
  • 4
  • 16