Build a Temporary Table

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
1,678
I am trying to see if want I want to do is even possible before I do more research.
I would like to have a "Temporary" table. I want to build a table on the fly when the user Uploads data from excel and then when they close the database the table and its data are deleted (Or just the data that was uploaded).
Big Picture: I want the users to be able to upload a list of parts, I then want to query that data against other permanent tables. But once the user is done, I no longer want that list of parts in my database.

Any suggestions are appreciated. Thanks
 

welshgasman

Well-known Member
Joined
May 25, 2013
Messages
678
Yes it is possible.
Perhaps use Google and the CREATE TABLE statement.?
 

xenou

MrExcel MVP, Moderator
Joined
Mar 2, 2007
Messages
16,522
It depends on what you mean by the user uploading data. In general I would prefer to have a real table that is not temporary but is used temporarily. However, it's pretty much potato potato on that ... you create a table use it, and delete. Or you clear a staging table and use it. Having some extra tables in the DB used for processing is no big deal. As far as creating a table - that's really not hard at all so a quick google search will turn up many examples I am sure.
 

Forum statistics

Threads
1,078,123
Messages
5,338,367
Members
399,228
Latest member
Bucephalas

Some videos you may like

This Week's Hot Topics

Top