Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

In DataBase Actions using SQL code

$
0
0

I have three SQL queries that I need to run and they need to be executed in a particular order.  Once one query runs and the data is loaded I need to kick of the next query to pull the data and then load and so on. How could I get this accomplished using the In Database option in one work flow?  Or would I need to create multiple workflows and call each workflow after one has completed.

 

I.e.

1st query to run

Select *

from table a

where column1 is not in (select distinct column1 from historytable)

2nd query to run after the data is loaded from first

select *

from table a

where column2 <> '12345'

and column1 is not in (select distinct column1 from historytable)


Viewing all articles
Browse latest Browse all 4999

Trending Articles