Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Can someone explain it clearly please.
Thanks in advance.
Here is an example of how to do this. The example is with postgresql but it should also work with mssql. Add a "returning 1" to your query and wrap it in a select:
WITH rows AS (
DELETE FROM warehouse.public.inv_sum
WHERE "YYYYMM" >= '20200401'
RETURNING 1
)
SELECT count(*) AS "RecCnt" FROM rows;
Then after your tmssqlrow, use a tParseRecordSet to get the value of "RecCnt". Then finally you can store the record count in a global variable with tSetGlobalVar and use it later in your job.
Do we need to change any settings in any of the components. If possible can you please share the screenshot of the component settings.
No special settings. If you look of the online doc for the components they have good examples.