Forum Discussion

andre_mangatal's avatar
andre_mangatal
New Contributor
7 years ago

SQL Server Execute - Dealing With No Results

Dear Snaplogic Community

I am calling an SQL Server Execute to return the field value of “CLI_SUR_NM” i.e. surname in the table based on a “$FinalIngenPolicyNo” primary key fed by a mapper. If the ID primary key is not found then how do I trap this scenario in the snaplogic snaps? What is a good way to deal with no results from an sql execute snap? If it returns no results and i map the “$CLI_SUR_NM” value I get an error.

Thank you very much!

7 Replies

  • skodali's avatar
    skodali
    New Contributor III

    I have tried by adding these JDBC JAR’s it worked.

  • dmiller's avatar
    dmiller
    Former Employee

    As we have a Teradata Snap Pack, I don’t know if someone has recently tried to use the JDBC Snap Pack to try and connect. You might want to look at the account information for the Teradata Account to see if that information helps you make progress.