Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft Access: How do I concatenate several logs into one log?

Status
Not open for further replies.

Pulp

MIS
Jul 22, 2002
18
US
Could someone please help me with a question I have dealing with Microsoft Access? I am wondering if someone knows what steps I would need to take to concatenate numerous logs from a server into one log? If someone could help me out with this question it would be greatly appreciated.

Thank You,
Pulp
 
Assuming that all of the logs have the same format and that you want to add old logs 1 thru 3 into new log you could do something like the following:

INSERT INTO tblNewLog
SELECT tblOldLog1.* FROM tblOldLog1;

INSERT INTO tblNewLog
SELECT tblOldLog2.* FROM tblOldLog2;

INSERT INTO tblNewLog
SELECT tblOldLog3.* FROM tblOldLog3;

Good Luck!
 
Thanks a lot!! I'll give it a try!!!

Pulp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top