How to give a user the option of importing Excel and a
delimited text file into a SQL Server Database without
manually using SQL DTS?



How to give a user the option of importing Excel and a delimited text file into a SQL Server Datab..

Answer / guest

You can use the DTS object model to programmatically create,
modify and run DTS packages.
You can do this many ways, but essentially this object model
has objects for anything you can do in DTS.
If you already have the package created and saved as a file,
add a reference to the DTS Library.
Then you can call it like this:

Dim Package As New DTS.Package

Package.LoadFromStorageFile App.Path "\DTSPackage.dts"
Package.Execute

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What are different types of views?

0 Answers  


How to convert character strings into numeric values?

0 Answers  


Can you have a nested transaction?

4 Answers   HCL,


What triggers long term care?

0 Answers  


Explain what are the authentication modes in sql server?

0 Answers  






What is the significance of master, tempdb and model databases?

0 Answers  


when would you go for denormalization? : Sql server database administration

0 Answers  


Can we use custom code in ssrs?

0 Answers  


How to insert new line characters into strings?

0 Answers  


What types of integrity are enforced by a foreign-key constraint

1 Answers  


What is abstracting periodical?

0 Answers  


What is the difference between clustered index and primary key?

0 Answers  


Categories