2018-09-28 02:46:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-05-08 14:11:19 +00:00
|
|
|
#if USE_ODBC
|
2018-09-28 02:46:33 +00:00
|
|
|
|
2021-03-22 11:40:29 +00:00
|
|
|
#include <Interpreters/Context.h>
|
|
|
|
#include <Poco/Logger.h>
|
|
|
|
#include <Poco/Net/HTTPRequestHandler.h>
|
2020-05-14 21:51:07 +00:00
|
|
|
#include <Parsers/IdentifierQuotingStyle.h>
|
2021-03-22 11:40:29 +00:00
|
|
|
#include <nanodbc/nanodbc.h>
|
|
|
|
|
2020-05-14 21:51:07 +00:00
|
|
|
|
2018-09-28 02:46:33 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2021-03-22 11:40:29 +00:00
|
|
|
std::string getIdentifierQuote(nanodbc::connection & connection);
|
2020-05-08 14:11:19 +00:00
|
|
|
|
2021-03-22 11:40:29 +00:00
|
|
|
IdentifierQuotingStyle getQuotingStyle(nanodbc::connection & connection);
|
2020-05-14 21:51:07 +00:00
|
|
|
|
2018-09-28 02:46:33 +00:00
|
|
|
}
|
2020-05-08 14:11:19 +00:00
|
|
|
|
2019-01-04 13:32:08 +00:00
|
|
|
#endif
|