The following code sample opens and closes a connection to the SQL Anywhere sample database.
Two tables in the SQL Anywhere sample database contain financial results data.
This tutorial uses the SQL Anywhere sample database, demo.db.
This example uses the SQL Anywhere sample database.
This example uses the SQL Anywhere sample database.
The application connects to the SQL Anywhere sample database.
The following statement returns when executed against the SQL Anywhere sample database.
For this code to succeed, the SQL Anywhere sample database must be running.
Execute the following query while connected to the SQL Anywhere sample database.
Führen Sie die folgende Abfrage aus, während Sie mit der SQL Anywhere-Beispieldatenbank verbunden sind.
Undo the changes to the SQL Anywhere sample database by executing the following statement
Machen Sie die Änderungen der SQL Anywhere-Beispieldatenbank mit folgender Anweisung rückgängig
Start the SQL Anywhere sample database, demo.db.
To import data from a file into the SQL Anywhere sample database
So importieren Sie Daten aus einer Datei in die SQL Anywhere-Beispieldatenbank
You may have to specify the location of the SQL Anywhere sample database on the command line.
Sie müssen in der Befehszeile möglicherweise den Speicherort der SQL Anywhere-Beispieldatenbank angeben.