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

Escape "_" in SQL queries #66

Open
nikmagini opened this issue May 27, 2015 · 0 comments
Open

Escape "_" in SQL queries #66

nikmagini opened this issue May 27, 2015 · 0 comments

Comments

@nikmagini
Copy link
Contributor

The "_" character is an Oracle wildcard, so it should be escaped where appopriate in SQL queries.
This affects in particular the Victorinterface APIs, where the results for the "T2_TH_CUNSTDA" site contain entries both for "T2_TH_CUNSTDA" (CMS name) and "T2-TH-CUNSTDA" (GOCDB name for the same site):

https://cmsweb.cern.ch/popdb/victorinterface/accessedBlocksStatLastAcc/?sitename=T2_TH_CUNSTDA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant