feat: update target database type to sqlserver and clean up unused code in mssql.go
This commit is contained in:
@@ -43,9 +43,9 @@ func buildExtractQueryMssql(
|
||||
for i, col := range columns {
|
||||
fmt.Fprintf(&sbQuery, "[%s]", col.Name())
|
||||
|
||||
if col.Type() == "GEOMETRY" {
|
||||
fmt.Fprintf(&sbQuery, ".STAsBinary() AS [%s]", col.Name())
|
||||
}
|
||||
// if col.Type() == "GEOMETRY" {
|
||||
// fmt.Fprintf(&sbQuery, ".STAsBinary() AS [%s]", col.Name())
|
||||
// }
|
||||
|
||||
if i < len(columns)-1 {
|
||||
sbQuery.WriteString(", ")
|
||||
|
||||
Reference in New Issue
Block a user