How to turn off warnings when Invoke-SqlQuery returns 0 rows? #144
-
In version 2 of SimplySql, when I issue Invoke-SqlQuery such that it returns no data, I now get the polite warning that "This occurs when the query has no select statement or invokes a stored procedure that does not return a resultset." |
Beta Was this translation helpful? Give feedback.
Answered by
mithrandyr
Apr 4, 2024
Replies: 1 comment 1 reply
-
The cmdlets all support common parameters. So you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kwein123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The cmdlets all support common parameters. So you can use
-WarningAction Ignore
to silence the warnings.