Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

About dtsrun
when I run the following in sql Analyzer :
dtsrun /S"Local"  /Ntestemail /UExternalRO /P"changmail"

got this error:
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '/'.

Is the command right?And how to run this dts package in commandline?
Thanks

Report this thread to moderator Post Follow-up to this message
Old Post
Kevin
11-18-05 08:23 AM


Re: About dtsrun
DTSRUN is a command-line utility so you execute it from the command-prompt
instead of Query Analyzer.  If your requirement is to execute the package on
the SQL Server instead of the client, you can run DTSRUN from a SQL Agent
job CmdExec step.  It is also possible to execute command-line utilities
like DTSRUN from Transact-SQL using xp_cmdshell but the SQL Agent job is
generally preferred.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Kevin" <hua@lucent.com> wrote in message
 news:dlk0to$kju@netn
ews.net.lucent.com...
when I run the following in sql Analyzer :
dtsrun /S"Local"  /Ntestemail /UExternalRO /P"changmail"

got this error:
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '/'.

Is the command right?And how to run this dts package in commandline?
Thanks



Report this thread to moderator Post Follow-up to this message
Old Post
Dan Guzman
11-18-05 12:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 03:09 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006