Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
Error: "¿Variable de vinculación? No establecida"... al vincular el parámetro varias veces en Procedimientos almacenados de Snowflake, el siguiente es mi Procedimiento almacenado
create or replace procedure check(vendor varchar) returns varchar language javascript execute as caller as $$ var command7=`update test set id_null=( select count(*) from table where lower(trim(source))=? and id is null), 1_null=(select count(*) from table where lower(trim(source))=? and 1 is null), 2_null=(select count(*) from table where lower(trim(source))=? and 2 is null) where vendor=concat('${VENDOR}','ABC')`; var stmt7=snowflake.createStatement({sqlText: command7, binds: [VENDOR], binds: [VENDOR], binds: [VENDOR]}); var rs7=stmt7.execute(); $$

Error devuelto: "¿Variable de enlace? No establecida"

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

En lugar de esta línea:

 var stmt7=snowflake.createStatement({sqlText: command7, binds: [VENDOR], binds: [VENDOR], binds: [VENDOR]});

Prueba este:

 var stmt7=snowflake.createStatement({sqlText: command7, binds: [VENDOR, VENDOR, VENDOR]});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!