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 is the difference between index seek vs. Index scan?

0 Answers  


What is the order by used for?

0 Answers  


What is policy management?

0 Answers  


How to select an exiting database using mssql_select_db()?

0 Answers  


What are the different types of sql server replication? : sql server replication

0 Answers  


Do you know what are acid properties of transaction?

0 Answers  


plz tell me the new features of sqlserver2000,sqlserver2002,sqlserver2005

3 Answers  


Where are stored procedures in sql server?

0 Answers  


How to convert numeric expression data types by assignment operations?

0 Answers  


How do clustered indexes store data?

0 Answers  


In which situation you use Self joins?

1 Answers   CarrizalSoft Technologies, HP, TCS,


What stored by the master?

0 Answers  


Categories