Snowflake Parameterized Query Isn't Working?
Greetings,
I've integrated with the Snowflake DB and was seeing relative success in building parameterized queries to the DB. However, now that I'm trying to pass in variables, I seem to be running into some issues. For example, I have a query that reads:
SELECT * FROM mytable
WHERE item = @itemname
Running this gives me a 42000 error. Any ideas as to how to get my query running?
Comments
-
Hello there!
If you are connecting to a Snowflake DB, you will probably need a to alter your query to:
SELECT * FROM mytable
WHERE "item" = ?
Be sure to exclude the '?' from the parameter section. We hope this helps!
-Gregory
Howdy, Stranger!
Categories
- 4.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 699 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 180 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions