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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

MSSQLROW - The multi-part identifier count not be bound

I have use this component to retrieve data from sql server table. it is a select statement.
"SELECT col1,Count(col2)
FROM TableA a, TableB b
WHERE TableA.= TableB.
  AND  CONVERT(varchar(12), IMPORTED, 101)=CONVERT(varchar(12), GETDATE(), 101)
AND TableA. ="+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+"
GROUP BY col1"
The multi-part identifier "filename.DAT" could not be bound.

Please help.
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi,
You are using tMSSqlRow to execute select statement? Have you tried to use tMSSqlInput to see if it works? What's the error message you are facing?
tXXXRow component is usually used to any type of sql statement excepts select statement,  we use txxxInput component to execute a select statement.

Best regards
Sabrina
Anonymous
Not applicable
Author

I missed single quote around ((String)globalMap.get("tFileList_1_CURRENT_FILE")) this variable.
it should look like '"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+'"
Thanks