Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Using CS3 - MS-SQL/ASP - HELP USING CTE

New Here ,
Jan 24, 2011 Jan 24, 2011

I am attempting to create a record set starting with cte as in my SQL statement. I have successfully ran the statement on the SQL server but DW says I need to start with a SELECT when creating a record set. Any way around this besides creating a stored procedure?

Any help is greatly appreciated

TOPICS
Server side applications
385
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 24, 2011 Jan 24, 2011

I've never used a CTE with DW, but my guess is that you will need to code this by hand. Other than that, can you use a derived table to accomplish your goal?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 24, 2011 Jan 24, 2011
LATEST

Thanks bregent I'll give the derived table a shot

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines