Skip to content

Commit 3bf4e22

Browse files
committed
uppercase
1 parent d7dfafc commit 3bf4e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/sqlserver/database_tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def charset
2828
end
2929

3030
def compatibility_level
31-
select_value "SELECT compatibility_level FROM sys.databases WHERE name = DB_NAME()"
31+
select_value "SELECT COMPATIBILITY_LEVEL FROM SYS.DATABASES WHERE NAME = DB_NAME()"
3232
end
3333

3434
def collation

0 commit comments

Comments
 (0)