0

Hi folkz,

Need help in writing a C program..The scenario is as follows:

We need to copy a log file frm the database to a txt file and the txt file should automatically get updated whenever the log file is modified... Also there shld be a facility to filter data frm the txt file based on a condition...

Cud anyone help me out with diz..

Thnx in advance.

Nirmala.

2
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by Ancient Dragon
0

what kind of database? MySql or something else?

>>and the txt file should automatically get updated whenever the log file is modified
This might require a trigger on the database. When the table is updated then a trigger will be activated to run a stored procedure that maintains the text file. This has nothing to do with c or c++, but is a database feature.

0

The database is - TIMBERLINE which is mostly used by construction companies 2 maintain their records. I've written the code 2 copy the log file into a text file. Need 2 knw how to update it and also how to select records tht satisfy a particular condition frm the text file.
Cud u plz help me with these..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.