----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: SriSamp Message 6 in Discussion There are many tools out there that will do this for you, but you will have to pay for it! There are some ways that you can do this operation, provided certain assumptions hold good. For example: (1) Do the columns in both the tables have the same names?? (2) If not, is there some mapping between Column1(table1) and Column2(table1)?? (3) Are data types the same?? My best bet would be to iterate over the columns of the first table and fetch the data from Table1 and Table2 (corresponding column) and then compare the values. The information_schema.columns schema view contains the columns of a table and you go based off this. HTH, Srinivas Sampath MVP - SQL Server http://www32.brinkster.com/srisamp ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
