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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlik_97
Partner - Contributor
Partner - Contributor

Load MS SQL Stored Procedure - Out of Range Value Error

Hi,

we have to use a stored procedure to laod data from MS SQL DB. In each case where the procedure  has to handle a date information, an out of range value occured. All tested procedures are working fine if started from MS Management Studio.

A simple Example: this procedure should deliver the start date to a contract, parameter is the contract number:

SELECT dbo.VTR_GetStartDat('999053143');

The procedure delivered the Out of Range Error for contract 999053143 and a wrong value for contract 23.

It seams the Day and Month Number of the date field are changed during the calculation on DB.

The screenshot shows the date values for this two contracts and the error message which occured for the contract 999053143.

Qlik_97_0-1596526603044.png

Any advice? Thanks for help in advance.

 

0 Replies