Forum Discussion
yasmeenwilde
2 years agoAdvocate II
decimal parameter in custom sql when connecting to oracle from power query
Hello community members, I'm looking for the correct syntax for decimal parameter. The below m script below works if rate is a text parameter. It produces an error if rate is a decimal parameter. Th...
- 2 years ago
let Source = Oracle.Database("databasename", [HierarchicalNavigation=true, Query="SELECT * FROM schema.tablename#(lf) where stringcol='" & Text.From(rate) & "'"]) in Source
lbendlin
2 years agoSuper User
let
Source =
Oracle.Database("databasename",
[HierarchicalNavigation=true,
Query="SELECT * FROM schema.tablename#(lf) where stringcol='" & Text.From(rate) & "'"])
in
Sourceyasmeenwilde
2 years agoAdvocate II
Thank you so much lbendlin this works when I changed the = to >=.
On my original script above, I received a syntax error when I changed = to >=.