- Local time
- Tomorrow, 07:26
- Joined
- Jan 20, 2009
- Messages
- 12,895
When I use a CTE in a View, and open it in Design mode, MSSQL Server Studio 2008 says it cannot represent the SQL text in the grid and diagram panes.
That wouldn't matter except it and strips out the first of the parts it can't handle (WITH whatever AS), turning perfectly valid SQL into rubbish. Even after this it still can't handle the SQL text in the grid anyway so why doesn't it just leave it alone?
Usually all I want to do is type some trivial alteration.
Is there way to have the Designer just leave my SQL text alone. Otherwise it seems I have no alternative but to add the stripped part back in each time or script my changes.
That wouldn't matter except it and strips out the first of the parts it can't handle (WITH whatever AS), turning perfectly valid SQL into rubbish. Even after this it still can't handle the SQL text in the grid anyway so why doesn't it just leave it alone?
Usually all I want to do is type some trivial alteration.
Is there way to have the Designer just leave my SQL text alone. Otherwise it seems I have no alternative but to add the stripped part back in each time or script my changes.