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 / 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 |
What is the difference between views and stored procedures? Can we have input parameters for views?
Explain “@@rowcount” and “@@error” in sql server?
What are SQL Jobs, please mention the use of it and how to create them.
How to create prepared statements using odbc_prepare()?
Is null in sql server?
What is wide table?
What do you understand by SQL*Net?
How connect excel to sql server?
How to remove duplicate rows from table except one?
How to return the second 5 rows in ms sql server?
What is a transaction and what are ACID properties?
14 Answers Config Systems, IBM, TCS, Virtusa,
what exactly sql injuction.how to overcome.....