I have a multiple text file and I want to insert it on a #Temp table. Below is the sample script I made.
create table #Temp
(
Column1 Varchar(max),
Column2 Varchar(max),
Column2 Varchar(max)
)
BULK INSERT #Temp FROM 'C:\File1.txt'
WITH (FIELDTERMINATOR =',')
select * from #Temp
drop table #Temp
Since my path is for File1.txt only, how can I insert the rest? *.txt doesn't work for me.
Please help!
Regards,