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 configur...
mahoneypat
5 years agoMicrosoft 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
cgil
5 years agoAdvocate I
If I use the parameters as a a part of my sql statement after I can not change the origin of data without change it in the Query.
The parameter that appears in the first picture works perfectly but the thing is after that when I need to change the origin on the configuration option you can see that is disable.