You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: database/sqlserver/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
|`encrypt`||`disable` - Data send between client and server is not encrypted. `false` - Data sent between client and server is not encrypted beyond the login packet (Default). `true` - Data sent between client and server is encrypted. |
18
18
|`app+name`|| The application name (default is go-mssqldb). |
19
19
| `useMsi` | | `true` - Use Azure MSI Authentication for connecting to Sql Server. Must be running from an Azure VM/an instance with MSI enabled. `false` - Use password authentication (Default). See [here for Azure MSI Auth details](https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-connect-msi). NOTE: Since this cannot be tested locally, this is not officially supported.
iferr:=d.(*SQLServer).conn.QueryRowContext(context.Background(), "Select COUNT(1) from sysobjects where type = 'P' and category = 0 and [NAME] = 'uspB'").Scan(&exists); err!=nil {
230
+
t.Fatal(err)
231
+
}
232
+
ifexists!=1 {
233
+
t.Fatalf("expected proc uspB to exist")
234
+
}
235
+
})
236
+
}
237
+
194
238
functestErrorParsing(t*testing.T) {
195
239
dktesting.ParallelTest(t, specs, func(t*testing.T, c dktest.ContainerInfo) {
0 commit comments