using namespace System::Diagnostics; using namespace Oracle::DataAccess::Client; using namespace Oracle::DataAccess::Types; : OracleConnection^ conn = gcnew OracleConnection (L"user id=****;password=****;data source=[host name]/[service name]"); conn->Open(); Debug::Print(L"Oracle Connection Opened."); OracleCommand^ cmd = gcnew OracleCommand(L"select * from all_tables"); cmd->Connection = conn;
{{#tags}}- {{label}}
{{/tags}}