S
Steve Kelley
What is considered the correct way to archive a table from one database
to another i.e. myDataBase.mdb -> myArchiveDataBase.mdb. In the past I
have used "insert into myArchiveDataBase.Results select * from
myDataBase.Results where ..." This always worked in VB6 using Jet 4 but
database access was different. I would like to do this in the '.Net'
paradigm but don't see how to do it without lots and lots of typing. The
table I want to archive has 33 fields (not my design and I'm not allowed
to change it) so having to create an InsertCommand object with all of
those parameters seems a bit much. Any advice will be greatly appreciated.
to another i.e. myDataBase.mdb -> myArchiveDataBase.mdb. In the past I
have used "insert into myArchiveDataBase.Results select * from
myDataBase.Results where ..." This always worked in VB6 using Jet 4 but
database access was different. I would like to do this in the '.Net'
paradigm but don't see how to do it without lots and lots of typing. The
table I want to archive has 33 fields (not my design and I'm not allowed
to change it) so having to create an InsertCommand object with all of
those parameters seems a bit much. Any advice will be greatly appreciated.