I would like to copy (publish for MsAccess users) some tables from sqlserver 2K to an MsAccessDatabase. Is this possible in TSQL?
If not, as an alternative, is it possible to call DTS-packages from the command-line?
UPDATE : tx to the answer of John Sansom I explored DTSrun, and it works just fine. This update for the syntax :
dtsrun /S[serverName] /N[packageName] /EMicrosoft OLE DB Provider for SQL Server
Two questions for the price of one eh.
For question 1: I am not certain if this can be achieved using only pure T-SQL. You may be able to achieve the same end goal however via the use of either Linked Servers or SQL Server Replication to Heterogeneous data sources.
For questions 2:
You can indeed run a DTS package from the command line. Take a look at the dtsrun utility.
dtsrun utility