Niveau 1
Niveau 2
Se connecter à la communauté
Connectez-vous pour voir tous les badges
    
    
    
          
        
Hi team,
I am unable to update temp table in using sql update script in v8
error:
PGS-220000 PostgreSQL error: ERROR: relation "wkf471730_534_2" does not exist LINE 1: Update WKF471730_534_2
The same code working in another instance but my instance only not working.
Any SQL update restriction in this instance?
@ParthaSarathy please help on this.
My code :
sqlExec("update "+vars.tableName +" set sCname ='"+New_Campaign_Name+"' where iInpk='"+result.inpk+"' ");
Résolu ! Accéder à la solution.
Les sujets facilitent la catégorisation du contenu de la Communauté et vous aident à retrouver le contenu le plus pertinent.
Vues
Réponses
Nombre de J’aime
          
        
Hi @Kumar_27,
To update temp table data in ACC v8 using the above script, you must use the "change data source" activity, and select "default data source" in the activity. Then your script should work fine..
Let me know if that helped.
BR,
Ishan
Vues
Réponses
Nombre de J’aime
          
        
Hi,
I'm facing the same issue and I have used change data source and i'm still facing some other issue
Vues
Réponses
Nombre de J’aime
          
        
Hi @Haricharan,
This error seems to be related to the Snowflake sql rights. Can you share the workflow activity settings and your exact code?
BR,
Ishan
Vues
Réponses
Nombre de J’aime
          
        
Hi,
Please find the attached screenshot for the reference and let me know what has to be done from my side to resolve this issue
Vues
Réponses
Nombre de J’aime
          
        
Hi,
Any update on this, please let me know I'm running out of time.
Vues
Réponses
Nombre de J’aime
          
        
Hi @Haricharan,
You are getting an error in your select queryDef itself, and that is happening because you are trying to query from the temp:query schema, whereas the schema changes to something like temp:changeDataSource when you change the data source. Please check your js inbound transition to know the correct temp schema name.
BR,
Ishan
Vues
Réponses
Nombre de J’aime
          
        
Vues
Réponses
Nombre de J’aime
          
        
@Haricharan, if you look at the error it says that the column you are trying to update "mmemodescription" in the temp table does not exist.
Make sure that you add this column in your workflow additional data in order to manipulate using the sqlExec statement.
BR,
Ishan
Vues
Likes
Réponses