← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #216578]: apostrophe and quote in a string issue

 

Question #216578 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/216578

    Status: Open => Answered

RaiMan proposed the following answer:
using " inner quotes can be ' and vice versa independently of using raw
string or not.

so your case simply:

os.popen('osql -S bsgen810ciiw -d GenesysMCR -U sa -P sa -Q "delete from
interactions where media_type=\'chat\';update interaction set status=3
where mediatypeid=\'chat\'"')

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.