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?
Answer Posted / 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 View All Answers
What are audit control procedures?
What is NOT NULL Constraint in sql server 2012?
Explain throw statement in sql server 2008?
how you can move data or databases between servers and databases in sql server? : Sql server administration
What are the recovery models for a database?
What is 2nf normalization form?
How to add code to the existing article (using improve article)?
When does a workload on SQL Azure get throttled?
How to select an exiting database using mssql_select_db()?
What are the indexes in sql server?
Show Practically Sql Server Views are updatable?
How can we rewrite sub-queries into simple select statements or with joins?
Explain cursor as data base object?
If the job running very slow what is the action you do
How to create new table with "create table" statements?