Home All Groups Group Topic Archive Search About

Pivot can be use when creating TableAdapter

Author
21 Feb 2006 8:46 AM
ad
I use the new feature of TableAdapter of VS2005.
I want to use PIVOT in ths SQL when I create a TableAdapter, but it fail.
The system told me the PIVOT is not supported.

How can I do?

Author
21 Feb 2006 11:44 AM
Otis Mukinfus
On Tue, 21 Feb 2006 16:46:33 +0800, "ad" <fly***@wfes.tcc.edu.tw> wrote:

>I use the new feature of TableAdapter of VS2005.
>I want to use PIVOT in ths SQL when I create a TableAdapter, but it fail.
>The system told me the PIVOT is not supported.
>
>How can I do?
>
Use a stored procedure and code the PIVOT there (if the SQL engine you are using
supports it).

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com

AddThis Social Bookmark Button