#include <stdio.h>
RDM_RETCODE exampleTfs_rdbcTfsAllocDefault (
const char *databaseName)
{
SQLHENV hEnv;
SQLHDBC hDbc;
char connectStrIn[255];
char connectStrOut[255];
{
{
}
else
{
}
}
{
{
{
{
sprintf (connectStrIn, "databases=%s", databaseName);
hDbc, NULL, (SQLTCHAR *) connectStrIn,
SQL_NTS,
(SQLTCHAR *) connectStrOut, sizeof (connectStrOut),
{
}
else
{
NULL);
}
}
}
}
}
return rc;
}