I'm working with a SQL Server stored procedure by calling it in my Java app and writing the results to a spreadsheet.
I noticed that there some rows in my spreadsheet with no data.
When i was debugging my app, I noticed that this line:
boolean hasResults = stmt.execute();
is returning false on the rows that are missing in my spreadsheet. If i run the stored procedure manually, it returns results for the same input data that it's failing on in my Java code.
How can this return false if it returns data when I run the stored procedure manually in SQuirreL SQL?