473,473 Members | 4,297 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

cross-tab query for SQL server DB

rHi, All

I knew cross-tab quesy is easy done on the Access DB, is there easy way to
do cross-tab query for SQL server DB in VB.NET 2005 Dev environment? Thanks
Jul 24 '06 #1
3 2717
SQL 2005 adds the Pivot and Unpivot keywords to TSql. see http://msdn2.microsoft.com/en-us/library/ms177410.aspx
Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx
I knew cross-tab quesy is easy done on the Access DB, is there easy
way to do cross-tab query for SQL server DB in VB.NET 2005 Dev
environment? Thanks

Jul 24 '06 #2
Hi, Jim

My SQL Server is 2000, the pivot and Unpivot work for sql server 2000?

Thanks
"Jim Wooley" wrote:
SQL 2005 adds the Pivot and Unpivot keywords to TSql. see http://msdn2.microsoft.com/en-us/library/ms177410.aspx
Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx
I knew cross-tab quesy is easy done on the Access DB, is there easy
way to do cross-tab query for SQL server DB in VB.NET 2005 Dev
environment? Thanks


Jul 24 '06 #3
Hi, All,

Crosstab is not easy for sql 2000 DB, but alternative solution is query each
pivot parameter separatly, then combine each dataGridView/DataTable together,
anyone know hwo to consolidate the dataGridView/DataTable?

Thanks,

"martin1" wrote:
Hi, Jim

My SQL Server is 2000, the pivot and Unpivot work for sql server 2000?

Thanks
"Jim Wooley" wrote:
SQL 2005 adds the Pivot and Unpivot keywords to TSql. see http://msdn2.microsoft.com/en-us/library/ms177410.aspx
Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx
I knew cross-tab quesy is easy done on the Access DB, is there easy
way to do cross-tab query for SQL server DB in VB.NET 2005 Dev
environment? Thanks
Jul 31 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
3
by: rollasoc | last post by:
Hi, Doing a bit of system testing on a Windows 98 laptop. (.Net 1.1 app). Did a bit of testing. Loaded a previously saved file. A gray box appeared with the text and buttons all white...
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
23
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the...
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
8
by: Pieter | last post by:
Hi, I'm having some weird problem using the BackGroundWorker in an Outlook (2003) Add-In, with VB.NET 2005: I'm using the BackGroundWorker to get the info of some mailitems, and after each item...
3
by: jlamanna | last post by:
I was wondering if there was a utility that could tell you when your C# application is making cross-apartment COM calls. I have a fairly large application that makes extensive use of a 3rd party...
3
by: aspmonger | last post by:
Hello, I really believe that IE 6 has a new (intentional?) bug that severely limits the capability of dhtml and cross domain scripting. Yesterday, I read an interesting article about the subject and...
6
by: Robert Bravery | last post by:
Hi all, Can some one show me how to achieve a cross product of arrays. So that if I had two arrays (could be any number) with three elements in each (once again could be any number) I would get:...
6
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.