bug fixed
This commit is contained in:
parent
66ba6f849e
commit
8402302cc7
|
@ -1235,7 +1235,7 @@ func (statement *Statement) genSelectSql(columnStr string) (a string) {
|
||||||
}
|
}
|
||||||
var orderStr string
|
var orderStr string
|
||||||
if len(statement.OrderStr) > 0 {
|
if len(statement.OrderStr) > 0 {
|
||||||
orderStr = " " + statement.OrderStr
|
orderStr = " ORDER BY " + statement.OrderStr
|
||||||
}
|
}
|
||||||
mssqlCondi = fmt.Sprintf("(%s NOT IN (SELECT TOP %d %s%s%s%s))",
|
mssqlCondi = fmt.Sprintf("(%s NOT IN (SELECT TOP %d %s%s%s%s))",
|
||||||
column, statement.Start, column, fromStr, whereStr, orderStr)
|
column, statement.Start, column, fromStr, whereStr, orderStr)
|
||||||
|
|
Loading…
Reference in New Issue