668 |
dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
669 |
if( !dbc )return false; |
if( !dbc )return false; |
670 |
if( !dbc->IsConnected() )return false; |
if( !dbc->IsConnected() )return false; |
671 |
|
stringstream myquery; // EMILIANO |
672 |
|
myquery.str(""); // EMILIANO |
673 |
|
myquery << "SET time_zone='+0:00'"; // EMILIANO |
674 |
|
dbc->Query(myquery.str().c_str()); // EMILIANO |
675 |
if(TrkParams::VerboseMode()){ |
if(TrkParams::VerboseMode()){ |
676 |
cout << " ...done"<<endl; |
cout << " ...done"<<endl; |
677 |
cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl; |
cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl; |