Solved

DTS run syntax

Posted on 2008-10-16
3
284 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running total between 2 sql tables in Sql 6 45
Create a Calendar table 29 38
When are cursors useful? 8 55
database audit for object access 6 37
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

738 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