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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Not able to get the count from database table

Hi ,
 I want to know the count of database table once data is loaded into database table.
here is my workflow:

tFileInputExcel-->tMap-->tOracleOutputBulExec

|
trigger--if subJob Ok
|
tJava (here I want to know the count of excel sheet and the database table and will store into 2 context variables separately and then I will put a RunIf condition (if both variable match then execute the next process otherwise send an email stop the process)
 
I am able to get the count of excel sheet "((Integer)globalMap.get("tFileInputExcel_1_NB_LINE"))"
but not able to get the count of database table ( I tried OracleRow and wrote a query "select count(*) from db_table" but getting null in the global variable "((Integer)globalMap.get("tOracleRow_1_NB_LINE_INSERTED"))"
 
Can you please assist.
 
Regards,

Rakesh D

Labels (2)
1 Reply
Anonymous
Not applicable
Author

tOracleRow will not return you the count. Please use tOracleInput instead to get the count of records from the database.