replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db #46

Merged
merged 1 commit into from Apr 29, 2011

Conversation

Projects
None yet
2 participants

Like MSSQL, IBM DB2 uses a different syntax to limit the number of rows returned. This patch makes it work.

tenderlove added a commit that referenced this pull request Apr 29, 2011

Merged pull request #46 from semmons99/master.
replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db

@tenderlove tenderlove merged commit dd07005 into rails:master Apr 29, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment