SQL Code

prabhuk78522504

22-02-2017

Hi,

   I want to directly write a  SQL Query in adobe campaign to pull the data. Is it possible? If possible means please share the document or link to learn me. Please help me

Accepted Solutions (1)

Accepted Solutions (1)

Vapsy

Employee

23-02-2017

Hi Prabhu,

In addition to the valuable input shared by Florent, an important point to note here is SQL code activity will only allow you to make UPDATEs, INSERTs and DELETEs from an existing table.

If you wish to fire a SELECT query, you can do so in a JS code activity using functions like sqlGetString(), sqlGetInt(), sqlSelect().

Please get in touvh with Adobe Support and request for access to JSAPI documentation. Details related to these functions are listed there.

Support will validate whether your license and then make this documentation available.

Hope this helps.

Regards,

Vipul

Answers (1)

Answers (1)

florentlb

23-02-2017

Hi,

You can use a SQL code activity in a workflow.

To be able to execute a workflow with an SQL code activity in it, you will need the WORKFLOW and SQL SCRIPT EXECUTION named rights.

Hope this helps,

Florent.