See this article:
Since you are writing C++ code that will read the table informtion off SQL
Server and compare it in the application, why resort to writing the text
file in SQL Server?? You can create the text file from your application and
write to it as and when you see differences.
Please reply to the whole group only!
"mkarja" <mmmc_reptailhotmail.com> wrote in message
news:75a5303b.0307100305.22c150a9posting.google.c om...> Hi,
> I would have to make code in C++ that would check two database tables
> for differencies. The two tables should be identical. If there are any
> differencies then it would have to write the result to a text file.
> Is there any other way than bcp to write the results to that text file?
> Any help would be appreciated.
> I'm using VC++ 6.0 for coding and have a SQL Server 2000.