Added space in SELECT TOP clause
This commit is contained in:
parent
b783311248
commit
4f02886c2b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func buildSelectQuery(q *Query) (*bytes.Buffer, []interface{}) {
|
|||
|
||||
if q.dialect.UseTopClause {
|
||||
if q.limit != 0 && q.offset == 0 {
|
||||
fmt.Fprintf(buf, " TOP (%d)", q.limit)
|
||||
fmt.Fprintf(buf, " TOP (%d) ", q.limit)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue