dbTalk Databases Forums  

Comparing two rows in a Table

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Comparing two rows in a Table in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yog
 
Posts: n/a

Default Comparing two rows in a Table - 03-17-2005 , 12:17 PM






Hi Gurus,

Is there any automated way to compare the contents of TWO rows in the same
table of SQL Server ?

Thanks in advance.

Regards,
Yog

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Comparing two rows in a Table - 03-17-2005 , 12:48 PM






Compare them?

In what way?

In DTS ?

DTS has no task to do this explicitly but you can do this in TSQL almost
certainly depending on what "Compare them means" exactly.

If you let us know more I'm sure we can help.

Allan

"Yog" <Yog (AT) discussions (DOT) microsoft.com> wrote


Quote:
Hi Gurus,

Is there any automated way to compare the contents of TWO rows in the same
table of SQL Server ?

Thanks in advance.

Regards,
Yog


Reply With Quote
  #3  
Old   
Yog
 
Posts: n/a

Default Re: Comparing two rows in a Table - 03-18-2005 , 01:41 AM



To precisely put it , the content of the problem is as below

Objective :- Compare TWO rows contents for few selected Columns. If they are
different then show those columns with the contents.
ENV:- SQL Server 2000 , T-SQL, SQL Server Tools (No other programming
language or front end)


"Allan Mitchell" wrote:

Quote:
Compare them?

In what way?

In DTS ?

DTS has no task to do this explicitly but you can do this in TSQL almost
certainly depending on what "Compare them means" exactly.

If you let us know more I'm sure we can help.

Allan

"Yog" <Yog (AT) discussions (DOT) microsoft.com> wrote in message
news:Yog (AT) discussions (DOT) microsoft.com:

Hi Gurus,

Is there any automated way to compare the contents of TWO rows in the same
table of SQL Server ?

Thanks in advance.

Regards,
Yog



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.