Skip to content

Commit 6cf2976

Browse files
committed
parens around top for sql server
1 parent d2fc79f commit 6cf2976

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)