• Hi Jeff,

    I did it all over again several times and finally it worked.

    1- I ran the "CREATE PROCEDURE dbo.ImportEqFiles" > "Command(s) completed successfully.".

    2- I ran the EXEC dbo.ImportEqFiles 'C:\Temp\eq_files', 'Eq_sample_%.csv' > "Command(s) completed successfully.".

    3- I am able to see the LogFile table 2 rows.

    How do I get output from the staging table to the final table with the cleaned raw data?

    What about if I create another DB for this purpose and use it instead the TempDB used this time, would I be able to see the #eq_Staging and #Directory tables and its contents? If it is possible, what is the pros and cons for doing this way? Would it use more disk space than the TempDB??

    Thanks again!