shanghai2004
Programmer
Hi,
I need to use bulk insert to load text files to tables. Since the tables are all in different structures, I want the bulk insert be a procedure, then I can execute the procedure in a loop by assinging different table name and text file name. But SQL does not allow me to take a database object as a parameter of a procedure, now what can I do?
Help please!
Thanks
I need to use bulk insert to load text files to tables. Since the tables are all in different structures, I want the bulk insert be a procedure, then I can execute the procedure in a loop by assinging different table name and text file name. But SQL does not allow me to take a database object as a parameter of a procedure, now what can I do?
Help please!
Thanks