The below SQL code is not working in IWAY DM 8005. The same code is working in SQL Management studio. Please help me how to execute the below code in DM
SQL SQLMSS SET SERVER DEFAULT_CONNECTION
SQL SQLMSS SET ERRORTYPE DBMS
DECLARE @StartDate DATE
, @EndDate DATE
SELECT @StartDate = MIN(BEGIN_DT), @EndDate = MAX(END_DT)
WHERE BEGIN_DT >= '01/01/1970'
WHILE (@StartDate <= @EndDate)
INSERT INTO DEV.dbo.DATE_CTE_STG1(DEV.dbo.DATE_CTE_STG1.DateValue) VALUES (@StartDate);
SET @StartDate = DATEADD(d,1,@StartDate);
Please help me.
MAdhuThis message has been edited. Last edited by: Tamra,
This is a friendly follow-up. The Focal Point Support group has requested that a case be opened for your question.
Can you also be more specific when you say " the code is not working". Do you get an error message? Where is the code be run? Also if you can add the Report server version when you open the case.
The more details you provide will help with getting to quicker solution.
As always please post the resolution so that others can be helped in the future.
iWay Focal Point Moderator
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
|Powered by Social Strata|