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

Improve documentation for sqlInterpolate() #100

Closed
3 tasks done
krlmlr opened this issue Apr 28, 2016 · 1 comment
Closed
3 tasks done

Improve documentation for sqlInterpolate() #100

krlmlr opened this issue Apr 28, 2016 · 1 comment
Labels

Comments

@krlmlr
Copy link
Member

krlmlr commented Apr 28, 2016

  • dbQuoteString()
  • dbQuoteIdentifier()
  • sqlInterpolate()

#99 (comment)

@krlmlr krlmlr changed the title Improve documentation for dbQuote*() and sqlInterpolate Improve documentation for sqlInterpolate() Jan 30, 2017
@aschmu
Copy link

aschmu commented Sep 22, 2017

I'm upvoting this as I'd like to use the odbc package with parametrized queries but I can't figure out how to use sqlInterpolate. I've tried all sorts of combinations with dbQuoteString and dbQuoteIdentifier and sqlInterpolate but nothing doing so far.
My issue is some parameters need to be have single quotes surrounding them (like dates) others not, in the same query. Even though the sql generated by sqlInterpolate may look ok, it can produce strange results when used in dbGetQuery.

@krlmlr krlmlr closed this as completed in bf995dd Aug 23, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants