Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Comparing two tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JJ297 - 28 Sep 2007 14:36 GMT
Could someone assist me...I'm trying to compare data in two tables
called Books and Titles

They both have the title field and I'm using SQL 2000 but have access
to SQL 2005.  Tried the except method in 2005 but getting invalid
syntax on except.

Thanks
David R. Longnecker - 28 Sep 2007 16:06 GMT
Are you trying to compare these in DataTables in .NET or with TSQL code?
Also, what are you trying to compare?  If information exists in one table
and not the other?  If the two tables are identical?  etc?

-dl

--
David R. Longnecker
http://blog.tiredstudent.com

> Could someone assist me...I'm trying to compare data in two tables
> called Books and Titles
[quoted text clipped - 4 lines]
>
> Thanks
JJ297 - 28 Sep 2007 17:15 GMT
On Sep 28, 11:06 am, David R. Longnecker
<dlongnec...@community.nospam> wrote:
> Are you trying to compare these in DataTables in .NET or with TSQL code?
>  Also, what are you trying to compare?  If information exists in one table
[quoted text clipped - 15 lines]
>
> - Show quoted text -

I was trying to compare the values in two tables in SQL but just
realized I don't have to do so.  Will get the user to do this since
they know the data.
Patrice - 28 Sep 2007 17:14 GMT
The first step would be to post the query and the error message.

Instead of using the title to link both tables, it would be likely better to
use an identifier field (for example if you correct a mistake in the title
or if two books are using the same title you won't be able anymore to find
out the authors).

--
Patrice

> Could someone assist me...I'm trying to compare data in two tables
> called Books and Titles
[quoted text clipped - 4 lines]
>
> Thanks

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.