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 |
which database is best to use in oracle and sql server? explain reasons?
How many types of attribute relationships are there? : sql server analysis services, ssas
Explain stored procedure?
Define outer join?
What is indexing and its types?
Which command is used for user defined error messages?
What are the main control-of-flow T-SQL constructs?
What kind of problems occurs if we do not implement proper locking strategy?
How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?
How many types of system privileges are there, Can we add or delete privileges?
How can you find out how many rows returned in a cursor?
What is merge statement?