G
Guest
I've created a make-table query that produces a table named "tblStocks". The
SQL is as follows:
SELECT qryUnionStocks.CompanyName, qryUnionStocks.Profitability,
qryUnionStocks.BusinessRisk, qryUnionStocks.Industry,
qryUnionStocks.MarketCap, qryUnionStocks.FairValueEstimate,
qryUnionStocks.Date INTO tblStocks
FROM qryUnionStocks;
I run the make-table query at least once each day in order to produce a
unique table (a snapshot of the data) associated with the date and time that
the query was run.
The above query writes over the previous file of the same name each time I
run it. So I'm having to manually rename each file each time I run the query.
How can I write a make-table query that will produce a uniquely named table
each time I run the query? A table that can be easily associated with a
specific date and time. The following is just an example, the naming
convention can be different.
tbleStocks07252005094555 (run on 07/25/2005 at 09:45:55 GMT)
tbleStocks07262005150511 (run on 07/26/2005 at 15:05:11 GMT)
Thank you for your time and expertise.
JD
SQL is as follows:
SELECT qryUnionStocks.CompanyName, qryUnionStocks.Profitability,
qryUnionStocks.BusinessRisk, qryUnionStocks.Industry,
qryUnionStocks.MarketCap, qryUnionStocks.FairValueEstimate,
qryUnionStocks.Date INTO tblStocks
FROM qryUnionStocks;
I run the make-table query at least once each day in order to produce a
unique table (a snapshot of the data) associated with the date and time that
the query was run.
The above query writes over the previous file of the same name each time I
run it. So I'm having to manually rename each file each time I run the query.
How can I write a make-table query that will produce a uniquely named table
each time I run the query? A table that can be easily associated with a
specific date and time. The following is just an example, the naming
convention can be different.
tbleStocks07252005094555 (run on 07/25/2005 at 09:45:55 GMT)
tbleStocks07262005150511 (run on 07/26/2005 at 15:05:11 GMT)
Thank you for your time and expertise.
JD