Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Apr 29, 2011

Conversation

semmons99
Copy link

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
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
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants