Merge branch 'master' into topic/constructor_rewrite
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / SQLMaker / MSSQL.pm
diff --git a/lib/DBIx/Class/SQLMaker/MSSQL.pm b/lib/DBIx/Class/SQLMaker/MSSQL.pm
new file mode 100644 (file)
index 0000000..f64d972
--- /dev/null
@@ -0,0 +1,13 @@
+package # Hide from PAUSE
+  DBIx::Class::SQLMaker::MSSQL;
+
+use base qw( DBIx::Class::SQLMaker );
+
+#
+# MSSQL does not support ... OVER() ... RNO limits
+#
+sub _rno_default_order {
+  return \ '(SELECT(1))';
+}
+
+1;