support for stored procedures returning recordset

This commit is contained in:
Aleksandar Fabijanic
2007-10-28 23:08:35 +00:00
parent 9ea88d25dd
commit 424b717920
10 changed files with 136 additions and 64 deletions

View File

@@ -1257,7 +1257,11 @@ bool ODBCSQLServerTest::canConnect(const std::string& driver, const std::string&
{
std::cout << "DSN found: " << itDSN->first
<< " (" << itDSN->second << ')' << std::endl;
format(_dbConnString, "DSN=%s", dsn);
format(_dbConnString,
"DSN=%s;"
"UID=test;"
"PWD=test;"
"DATABASE=test;", dsn);
return true;
}
}