>Wait a minute buddy!
>I was revising your code, and you are not using the same table name...
>
>SELECT output_file.* INTO #tblNewTables
>(...)
>SELECT * FROM #tblNewNames
>
>Try to use the same name... Maybe this will work?
>
>Patrice Merineau
Sometimes the simple things are the most easy to overlook..