Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CASE-OPENED] SQL code is not working in IWAY DM 8005
Go
New
Search
Notify
Tools
Reply
  
[CASE-OPENED] SQL code is not working in IWAY DM 8005
 Login/Join
 
Gold member
posted
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
SQL SQLMSS

DECLARE @StartDate DATE
, @EndDate DATE

SELECT @StartDate = MIN(BEGIN_DT), @EndDate = MAX(END_DT)
FROM DEPT_TABLE
WHERE BEGIN_DT >= '01/01/1970'

WHILE (@StartDate <= @EndDate)
BEGIN
INSERT INTO DEV.dbo.DATE_CTE_STG1(DEV.dbo.DATE_CTE_STG1.DateValue) VALUES (@StartDate);
SET @StartDate = DATEADD(d,1,@StartDate);
END

END


Please help me.

Thanks,
MAdhu

This message has been edited. Last edited by: Tamra,
 
Posts: 53 | Registered: September 30, 2008Reply With QuoteReport This Post
Guru
posted Hide Post
Hi Madhumitha,

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.

Tamra Colangelo
iWay Focal Point Moderator


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CASE-OPENED] SQL code is not working in IWAY DM 8005

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.