Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 16th, 2003, 07:56 AM
Registered User
 
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Complex Dataviews

Hi,

I have a dataset with one datatable with 2 columns, 'R_ID' and 'Miles'.

I want to create a dataview based on the datatable.

The SQL for the view I want is:

SELECT R_ID
  FROM datatable
 GROUP BY R_ID
HAVING count > 1

can this be done or can dataviews only be created with trivial criteria? and if so is there anyway I can do this? (I can't run this query against the data provider).

Cheers,

A.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex calculation. rupen Classic ASP Professional 0 May 18th, 2006 04:37 AM
Dataviews Louisa VB.NET 2002/2003 Basics 2 November 4th, 2004 09:20 AM
Dataviews Louisa VB.NET 2002/2003 Basics 1 October 15th, 2004 11:09 AM
Complex Table (at least for me) lcsgeek Classic ASP Basics 1 August 19th, 2003 02:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.