LXXII. Ovrimos SQL functions
Ovrimos SQL Server, is a client/server, transactional RDBMS
combined with Web capabilities and fast transactions.
Ovrimos SQL Server is available at . To enable ovrimos
support in PHP just compile php with the '--with-ovrimos'
parameter to configure script. You'll need to install the sqlcli
library available in the Ovrimos SQL Server distribution.
Esimerkki 1.
Connect to Ovrimos SQL Server and select from a system table
<?php
$conn = ovrimos_connect ("server.domain.com", "8001", "admin", "password");
if ($conn != 0) {
echo ("Connection ok!");
$res = ovrimos_exec ($conn, "select table_id, table_name from sys.tables");
if ($res != 0) {
echo "Statement ok!";
ovrimos_result_all ($res);
ovrimos_free_result ($res);
}
ovrimos_close($conn);
}
?> |
|
This will just connect to SQL Server.