Is it possible to import different excel file with different schema to different table in Sql Server dynamically.
Let say i have two .xls file
1. Employee.xls(empid, ename,salary,detno)
2.Department.xls(deptno,Dname,Dcity)
Need to import into 2 different table in Sql Server named 'Employee' and 'Department'. It should be done by using variable.
Is it possible to create table schema as of .xls file dynamically.
Please suggest.