Question : EXCEL TO SQL Table

WEB page local intranet, I need to have the capability to take an excel file then automatically get this into a table of the SLQ,  I been searching but nothing seems to work. any ideas of the easy way to do this, I am using VB2005 on the VB code  .net

Answer : EXCEL TO SQL Table

If your table has constraints, then issue

delete from #temp

if not, then

truncate table #temp

In your case, since you try to create #temp for the first time and if you don't want to retain older records, then

drop table #temp

followed by Select * INTO #temp statement

Hope this helps
Random Solutions  
 
programming4us programming4us