From e075f77af3a09c22a8bec660c69c9fa7a9808d8e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Nov 2011 14:54:27 +0200 Subject: Implement remaining database constructors, update options --- odb/mssql/details/options.cli | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'odb/mssql/details') diff --git a/odb/mssql/details/options.cli b/odb/mssql/details/options.cli index 693f644..2158bea 100644 --- a/odb/mssql/details/options.cli +++ b/odb/mssql/details/options.cli @@ -13,35 +13,42 @@ namespace odb { class options { - std::string --user | --username + std::string --user | -U { "", - "PostgreSQL database user." + "SQL Server database user. If not specified, then Windows + authentication is used." }; - std::string --password + std::string --password | -P { "", - "PostgreSQL database password." + "SQL Server database password. Omit this option if the user + password is blank or Windows authentication is used." }; - std::string --database | --dbname + std::string --database | -d { "", - "PostgreSQL database name." + "SQL Server database name. If not specified, then the default + database for this user is used." }; - std::string --host + std::string --server | -S { - "", - "PostgreSQL database host name or address (localhost by default)." + "", + "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 --port + std::string --driver { - "", - "PostgreSQL database port number or socket file name extension for - Unix-domain connections." + "", + "SQL Server Native Client ODBC driver name. If not specified, then + the latest available driver is used." }; std::string --options-file -- cgit v1.1