Forum Discussion
cgil
5 years agoAdvocate I
IBM DB2 with Parameters
Hi all!
I have an IBM DB2 connection and I want to add a parameter into a where clause.
I can do that but the thing is that if I do like this:
I can not change the origen in the configuration options.
Is there any way to that with the posibility of change the origin after?
Thank you so much
4 Replies
- mahoneypatMicrosoft Employee
Please clarify what you mean. Can you not change the value in the parameter to get different results?
Pat
- cgilAdvocate I
Hi!!
No, I can change the value of the parameter but, I put the parameter into the query I have disable this option:
Thanks!
- mahoneypatMicrosoft Employee
You can use a parameter that holds the database name and use it in place of your redacted part of Sql.Database( ). Or you can use parameters in your where clause or other parts of your SQL statement.
Pat