sqlserver icon indicating copy to clipboard operation
sqlserver copied to clipboard

GORM sqlserver driver

Results 17 sqlserver issues
Sort by recently updated
recently updated
newest added

Having a table like the following, with triggers ``` CREATE TABLE [dbo].[test]( [id] [bigint] IDENTITY(1,1) NOT NULL, [test] [varchar](50) NULL, CONSTRAINT [PK_test] PRIMARY KEY CLUSTERED ( [id] ASC)) GO CREATE...

我在获取sql server的uniqueidentifier类型的数据时,乱码了,我go的接收数据类型是[]byte,接收到了后转为string类型时,乱码!以下是乱码信息:Db\u000b��C.A�E\u0005QǪWB,实际上应该是5CD6C26F-DD9E-4713-BBA2-0028E0F8DF47这种样子才对,试过很多转的方法,都没用

## Your Question With the update to the driver (microsoft/go-mssqldb) I'd like to use connecting with Managed Identities. That method appears to require a connector passed to sql.OpenDB rather than...

- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? Support to set the field comment according to...

## GORM Playground Link https://github.com/go-gorm/playground/pull/1 ## Description dc.go文件 ![dc](https://github.com/user-attachments/assets/25b74ecd-1b21-4450-b259-5ed2fadc4f8e) 出现如下错误: ```sh 2024/08/24 11:57:33 /mooc/app/etl/service/dc.go:128 [info] replacing callback `gorm:create` from /mooc/app/etl/service/dc.go:128 2024/08/24 11:57:33 /mooc/app/etl/service/dc.go:128 [info] replacing callback `gorm:update` from /mooc/app/etl/service/dc.go:128 2024/08/24...

- [x] Do only one thing - [x] Non breaking API changes - `GetColumnComment(*gorm.Statement, string) string` => `GetColumnComment(*gorm.Statement, string) sql.NullString` - [x] Tested ### What did this pull request do?...

due to the mismatch between the `Index` struct field order and the `indexSQL` field order - [x] Do only one thing - [x] Non breaking API changes - [x] Tested...