Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi
I am creating a DataSet using an Oracle DataSource and I'm trying to add Query Parameters.
The substitution syntax is different
WHERE MyField = @MyParam in a SQL Server query
becomes
WHERE MyField = &MyParam in an Oracle query.
MyField one is NUMBER(4)
MyParam is an Integer
I've tried amending the syntax of the Query to use the Oracle format but can't get it to work properly - I keep getting Invalid Number errors.
Does anyone have any experience of this, or any examples of how they have used Query Parameters with Oracle datasources?
Thanks,
Mark
Solved! Go to Solution.
Hi,
thanks for the reply. I worked out the problem
when using query parameters for an Oracle query in Paginated Reports
Where Field1 = :Parameter
i.e. use ':' where SQL Server query would use '@'
This will help on thi subject. For creating a parameter from Orcale source or using a parameter in Orcale query.
Hi,
thanks for the reply. I worked out the problem
when using query parameters for an Oracle query in Paginated Reports
Where Field1 = :Parameter
i.e. use ':' where SQL Server query would use '@'
The post below may be helpful:
Proud to be a Super User!
User | Count |
---|---|
84 | |
76 | |
74 | |
49 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |