Skip to content

Commit 0f7eb95

Browse files
authored
Merge pull request #43 from irvirv/sql-server-fix
parens around top for sql server
2 parents d2fc79f + 6cf2976 commit 0f7eb95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/util/DBLogger.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ component accessors="true" singleton threadsafe {
245245
private function getLimitStart(){
246246
switch ( getDatabaseVendor() ) {
247247
case "Microsoft SQL Server": {
248-
return " TOP :top ";
248+
return " TOP (:top) ";
249249
}
250250
}
251251
return "";

0 commit comments

Comments
 (0)