G
Guest
Each month, I create several tables and scrub the data using SQL to import
clean data from a JD Edwards file. I use VBA to drop each table so that
the new monthly tables can be created. How can I first check to see if the
tables already exist in the database? If they exist, I want to drop the
table so I can create new ones. If they don't exist, I want it to create
the tables.
I've reviewed a function that checks for existing tables, however, I'm not
sure on where to place the function or how to use it. I would appreciate an
explanation of this funtion if that is the best route to use.
Thanks!
clean data from a JD Edwards file. I use VBA to drop each table so that
the new monthly tables can be created. How can I first check to see if the
tables already exist in the database? If they exist, I want to drop the
table so I can create new ones. If they don't exist, I want it to create
the tables.
I've reviewed a function that checks for existing tables, however, I'm not
sure on where to place the function or how to use it. I would appreciate an
explanation of this funtion if that is the best route to use.
Thanks!