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.5K All Categories
- 88 General
- 13 Training
- 213 Installation / Setup
- 1.2K Flows
- 112 Rules
- 277 Administration
- 215 Portal
- 503 General Q & A
- 722 Forms
- 356 Reports
- 3 Designer Extensions
- 47 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 190 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 72 Repository
- 238 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 26 Active Directory
- 12 Version 7
- 37 Version 8
- 143 Lunch And Learn Questions