mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-27 22:04:28 -04:00
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
15 lines
643 B
Go
Vendored
15 lines
643 B
Go
Vendored
// package mssql implements the TDS protocol used to connect to MS SQL Server (sqlserver)
|
|
// database servers.
|
|
//
|
|
// This package registers the driver:
|
|
// sqlserver: uses native "@" parameter placeholder names and does no pre-processing.
|
|
//
|
|
// If the ordinal position is used for query parameters, identifiers will be named
|
|
// "@p1", "@p2", ... "@pN".
|
|
//
|
|
// Please refer to the README for the format of the DSN. There are multiple DSN
|
|
// formats accepted: ADO style, ODBC style, and URL style. The following is an
|
|
// example of a URL style DSN:
|
|
// sqlserver://sa:mypass@localhost:1234?database=master&connection+timeout=30
|
|
package mssql
|