Solved

DTS run syntax

Posted on 2008-10-16
3
283 Views
Last Modified: 2012-06-21
This is saying incorrect syntax near '/'

Cant see what im missing ?
DTSRun /S "ServerA" /U "sa" /P "password" /N "DTS - Fusion - Create User"

Open in new window

0
Comment
Question by:mooriginal
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 22730666
I must assume that you try to run that as SQL statement, but it needs to be run as Dos Command statement.
0
 

Author Comment

by:mooriginal
ID: 22730748
this is being run from sql agent 2005 as cmd step

but im getting that error message and it looks fine to me
0
 

Author Comment

by:mooriginal
ID: 22730890
solved it
it wasnt running as cmd mode !
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using a hta file with MSSQL agent to schedule a script job 4 42
T-SQL 10 36
SQLCMD Syntax 2 17
Evaluate Twice? 2 11
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question