Accessing SQL Server transaction Log with Visual C++ or Visual Basic

Accessing SQL Server transaction Log with Visual C++ or Visual Basic

Post by Khurram Jave » Mon, 24 Jul 2000 04:00:00



Dear friends: -
                      I am an internee at a firm and i am working on a
project in which i am supposed to synchronize two databases separated via
LAN without using DTS facilities provided by SQL server. So i am having
problem in accessing the transaction log to find out the previous
transactions that were made by the DBMS  via Visual C++(preferable) or
Visual Basic so that i can generate an XML file and make the same changes in
the other database. Reply me by giving  me some reference to MSDN or a site
or some book(not really because i donot have much money to buy some new
one).
                                         Thanking in anticipation
                                             Khurram Javed

 
 
 

Accessing SQL Server transaction Log with Visual C++ or Visual Basic

Post by BPMargoli » Tue, 25 Jul 2000 04:00:00


Khurram,

Rather than re-inventing the wheel, why not just use replication?

---------------------------------------------------------------
BP Margolin
Please reply only to the newsgroups.
When posting, inclusion of SQL (CREATE TABLE ..., INSERT ..., etc) which can be
cut and pasted into Query Analyzer is appreciated.


Quote:> Dear friends: -
>                       I am an internee at a firm and i am working on a
> project in which i am supposed to synchronize two databases separated via
> LAN without using DTS facilities provided by SQL server. So i am having
> problem in accessing the transaction log to find out the previous
> transactions that were made by the DBMS  via Visual C++(preferable) or
> Visual Basic so that i can generate an XML file and make the same changes in
> the other database. Reply me by giving  me some reference to MSDN or a site
> or some book(not really because i donot have much money to buy some new
> one).
>                                          Thanking in anticipation
>                                              Khurram Javed


 
 
 

Accessing SQL Server transaction Log with Visual C++ or Visual Basic

Post by Khurram Jave » Tue, 25 Jul 2000 04:00:00


Dear friends: -
                      I am an internee at a firm and i am working on a
project in which i am supposed to synchronize two different databases
separated via LAN . The databases have different schemas and each change in
a database is to trigger some change specified in the mapping rules in the
other database. So i am having problem in accessing the transaction log to
find out the previous transactions that were made by the DBMS  via Visual
C++(preferable) or Visual Basic to trigger the appropriate changes in the
other database.
Unfortunately the DTS facilities cannot be applied here because the
databases might have a different schema.
                                            Reply me by giving  me some
reference to MSDN or a site or some bookone so that i know a way to access
the transaction Log to find out about the commands executed in a particular
database to trigger the appropriate changes in the other database.
                                         Thanking in anticipation
                                             Khurram Javed
 
 
 

1. Accessing SQL Server transaction Log with Visual C++ or Visual Basic

Dear friends: -
                      I am an internee at a firm and i am working on a
project in which i am supposed to synchronize two databases separated via
LAN without using DTS facilities provided by SQL server. So i am having
problem in accessing the transaction log to find out the previous
transactions that were made by the DBMS  via Visual C++(preferable) or
Visual Basic so that i can generate an XML file and make the same changes in
the other database. Reply me by giving  me some reference to MSDN or a site
or some book(not really because i donot have much money to buy some new
one).
                                         Thanking in anticipation
                                             Khurram Javed

2. smalldateTime help

3. Q: How do you detect if a Record is locked in an multi user environment?

4. NC-WILMINGTON-113234--Visual Basic-RDBMS-ORACLE-SYBASE-MS ACCESS-MS SQL Server-VISUAL BASIC/RDBMS

5. Error with Seek function

6. MS-Access, Visual Basic, SQL Server, SyBase, C++, Java

7. US-OH-DBA