Wrox Programmer Forums
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language 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 November 22nd, 2003, 10:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
quote:Originally posted by erin
 I created input form in asp page and I am storing the entries in the access database and displaying the data on the web.
Run the query in the database directly to insure you are getting output from your data. This will help to figure out if the problem is in your ASP code and/or how you are connecting to the database.
Quote:
quote:
I don't want to display any duplicate record if exists in the X,T and P columns.
Yes, you've said that many times. The query I gave you will do that.
Quote:
quote:
I use 'distinct clause' but it eliminates all the duplicate records in the database. So for no luck
Have you been following along in this thread? Nowhere has anybody suggested that the DISTINCT clause will do what you need. If you don't wish to follow the suggestions, then good luck and I wish you well in your attempts to solve your problem on your own.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
 
Old November 22nd, 2003, 10:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

To run the query in tha database directly, create a view, switch to SQL-view and paste in Jeff's query.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How Run .sql Script file in MS SQL Server 2000? aarkaycee SQL Server 2000 5 October 12th, 2009 05:43 AM
creating ssis packagte for sql server to sql serer Laxmikant_it ASP.NET 3.5 Professionals 0 November 26th, 2008 12:23 AM
Converting from MS SQL 2005 to Sql Epress edition saif44 SQL Language 0 February 16th, 2007 04:17 PM
Failed to copy objects from SQL server to SQL Serv monfu SQL Server 2000 4 December 4th, 2005 05:54 PM
Move SQL DB from one sql to another sql server Israr SQL Server 2000 3 January 24th, 2005 02:13 PM





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