szymon_dybczak
Esteemed Contributor III

Hi @RickB ,

Which API are you using to invoke this? Parameter markers can be provided by:

Because in each one there are subtle differences how to provide arguments to unnamed parameter markers. Take a look at below documentation entry:

Parameter markers | Databricks on AWS

 

If you are using sql, you should have something like below (example from documentation)

> DECLARE stmtStr = 'SELECT current_timestamp() + ?, ? * ? AS square';
> EXECUTE IMMEDIATE stmtStr USING INTERVAL '3' HOURS, 15.0, 15.0;