You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:primary_key=>"int NOT NULL IDENTITY(1, 1) PRIMARY KEY",
257
256
:string=>{:name=>"varchar",:limit=>255},
258
-
:text=>{:name=>"text"},
257
+
:text=>{:name=>txt},
259
258
:integer=>{:name=>"int"},
260
259
:float=>{:name=>"float",:limit=>8},
261
260
:decimal=>{:name=>"decimal"},
262
261
:datetime=>{:name=>"datetime"},
263
262
:timestamp=>{:name=>"datetime"},
264
263
:time=>{:name=>"datetime"},
265
264
:date=>{:name=>"datetime"},
266
-
:binary=>{:name=>"image"},
265
+
:binary=>{:name=>bin},
267
266
:boolean=>{:name=>"bit"}
268
267
}
269
268
end
@@ -272,6 +271,23 @@ def adapter_name
272
271
'SQLServer'
273
272
end
274
273
274
+
defdatabase_version
275
+
# returns string such as:
276
+
# "Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) \n\tMay 3 2005 23:18:38 \n\tCopyright (c) 1988-2003 Microsoft Corporation\n\tEnterprise Edition on Windows NT 5.2 (Build 3790: )\n"
277
+
# "Microsoft SQL Server 2005 - 9.00.3215.00 (Intel X86) \n\tDec 8 2007 18:51:32 \n\tCopyright (c) 1988-2005 Microsoft Corporation\n\tStandard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)\n"
0 commit comments