Open willemri opened 1 week ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @kbudde click here for bot help
I don't know the module and MSSQL at all, but maybe (just guessing) you have to use something like %%
to get a regular %
in the actual query that is run, to avoid the %
to be interpreted as an interpolation for a prepared statement.
I have tried with all the same result: %% \% \%
Summary
i'm having issues, using wildcard searches in the community.general.mssql_script module when changing the search query to: ([DisplayName] LIKE '%wildcardsearch%' OR [LoginID] LIKE 'wildcardsearch%') The query works does work. when changing it to: ([DisplayName] LIKE '%wildcardsearch%' OR [LoginID] LIKE '%wildcardsearch%'), give me the error ValueError: more placeholders in sql than params available
Issue Type
Bug Report
Component Name
community.general.mssql_script
Ansible Version
Community.general Version
Configuration
OS / Environment
RHEL8.10
Steps to Reproduce
Expected Results
I expected my variable query_result_raw to be filled in.
Actual Results
Code of Conduct