PC Review


Reply
Thread Tools Rate Thread

Crosstab to table

 
 
John
Guest
Posts: n/a
 
      28th Dec 2006
Hi

Is it possible to make table from a crosstab query?

Thanks

Regards


 
Reply With Quote
 
 
 
 
aaron.kempf@gmail.com
Guest
Posts: n/a
 
      28th Dec 2006
I would reccomend select * in this situation

I believe that SQL 2005 also has the pivotKeyword that is available..
so if you wanted to do this natively in SQL Server you could get a LOT
better performance

-Aaron

Jerry Whittle wrote:
> Sure. The SQL would look something like:
>
> SELECT DivisionNum,
> Months,
> Count(Employee) AS CountOfEmployee,
> Count(Employee) AS [Total Of Employee]
> INTO tblCrosstab
> FROM qryCrosstab
> GROUP BY DivisionNum, Months;
> --
> Jerry Whittle
> Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
>
>
> "John" wrote:
>
> > Hi
> >
> > Is it possible to make table from a crosstab query?
> >
> > Thanks
> >
> > Regards
> >
> >
> >


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Crosstab to Table Richard John Microsoft Access 2 4th Jun 2008 05:06 PM
Crosstab to table John Microsoft Access Queries 1 28th Dec 2006 08:47 PM
Crosstab or pivot table =?Utf-8?B?RGViIEg=?= Microsoft Access Queries 1 2nd Nov 2006 04:43 PM
Excel Pivot Table Plugin? (crosstab to data table) HoMoon115 Microsoft Excel Misc 0 22nd Feb 2006 08:20 PM
Q: Make Table from Crosstab? =?Utf-8?B?TWFyaw==?= Microsoft Access Queries 7 13th Jan 2006 08:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:08 PM.