summaryrefslogtreecommitdiff
path: root/libodb-mssql/odb/mssql/details/options.cli
diff options
context:
space:
mode:
Diffstat (limited to 'libodb-mssql/odb/mssql/details/options.cli')
-rw-r--r--libodb-mssql/odb/mssql/details/options.cli63
1 files changed, 63 insertions, 0 deletions
diff --git a/libodb-mssql/odb/mssql/details/options.cli b/libodb-mssql/odb/mssql/details/options.cli
new file mode 100644
index 0000000..dcf92e5
--- /dev/null
+++ b/libodb-mssql/odb/mssql/details/options.cli
@@ -0,0 +1,63 @@
+// file : odb/mssql/details/options.cli
+// license : ODB NCUEL; see accompanying LICENSE file
+
+include <string>;
+
+namespace odb
+{
+ namespace mssql
+ {
+ namespace details
+ {
+ class options
+ {
+ std::string --user | -U
+ {
+ "<name>",
+ "SQL Server database user. If not specified, then Windows
+ authentication is used."
+ };
+
+ std::string --password | -P
+ {
+ "<str>",
+ "SQL Server database password. Omit this option if the user
+ password is blank or Windows authentication is used."
+ };
+
+ std::string --database | -d
+ {
+ "<name>",
+ "SQL Server database name. If not specified, then the default
+ database for this user is used."
+ };
+
+ std::string --server | -S
+ {
+ "<addr>",
+ "SQL Server instance address in the
+ \c{[\i{protocol}\b{:}]\i{host}[\b{\\}\i{instance}][\b{,}\i{port}]}
+ format, where \ci{protocol} can be \cb{tcp} (TCP/IP),
+ \cb{lpc} (shared memory), or \cb{np} (named pipe). If not specifid,
+ then \cb{localhost} is used."
+ };
+
+ std::string --driver
+ {
+ "<name>",
+ "SQL Server Native Client ODBC driver name. If not specified, then
+ the latest available driver is used."
+ };
+
+ std::string --options-file
+ {
+ "<file>",
+ "Read additional options from <file>. Each option should appear on a
+ separate line optionally followed by space or equal sign (\cb{=})
+ and an option value. Empty lines and lines starting with \cb{#} are
+ ignored."
+ };
+ };
+ }
+ }
+}