TDQ-9543 Netezza DB: Error When Attempting to View Keys or Indexes

fix the issues from the comment:
https://jira.talendforge.org/browse/TDQ-9543?focusedCommentId=340792&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-340792