Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
RVeitch_84
Creator
Creator

How to get the record count from an insert statement, MySql and tDBRow

I have a basic job that insert records with a tDBRow and then I would like to get the results of the insert statement. 

How many records where inserted with a, SELECT ROW_COUNT() as inserted_count

When I run this in MySQL workbench it works as expected, but in TS, its returning a -1 

And I'm using a MySQL connection at the start and not closing it until the end.

 

I've tried getting the count with a tDBrow and a Recordset and also a tDBInput with the same result, -1.

 

Thanks for any help...

 

Bob

 

Labels (1)
1 Reply
Denis_Segard
Support
Support

Hello,
Do you have a constraint to use tDBRow and not tDBOutput  ?

Denis_Segard_0-1759477723258.png

Kind regards
Denis