dbTalk Databases Forums  

Text Qualifier Already in Collection

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Text Qualifier Already in Collection in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TomTait747
 
Posts: n/a

Default Text Qualifier Already in Collection - 07-16-2004 , 02:24 PM






When I launch a package from the query analyzer, I receive a "text qualifier already exists in the collection" error. I get the error whether I have "none" or double quotes chosen for the text qualifier drop down within the package. I do pass it a global variable upon execution.
here is what I have in the QA:
EXEC master..xp_cmdShell 'dtsrun /S myserver /U mylogin /P mypassword /N mypackage /A strFilePath:8=J:\tmphs\DUBSYS\200407\20040715\00_0 0\cel_ntid.unl'

What gives?

Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: Text Qualifier Already in Collection - 07-19-2004 , 07:54 AM






Shouldn't you have double quotes in parameter definition:

EXEC master..xp_cmdShell 'dtsrun /S myserver /U mylogin /P mypassword /N
mypackage /A
"strFilePath":"8"="J:\tmphs\DUBSYS\200407\20040715 \00_00\cel_ntid.unl"'
?

Ilya

"TomTait747" <TomTait747 (AT) discussions (DOT) microsoft.com> wrote

Quote:
When I launch a package from the query analyzer, I receive a "text
qualifier already exists in the collection" error. I get the error whether
I have "none" or double quotes chosen for the text qualifier drop down
within the package. I do pass it a global variable upon execution.
Quote:
here is what I have in the QA:
EXEC master..xp_cmdShell 'dtsrun /S myserver /U mylogin /P mypassword /N
mypackage /A
strFilePath:8=J:\tmphs\DUBSYS\200407\20040715\00_0 0\cel_ntid.unl'
Quote:
What gives?



Reply With Quote
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: Text Qualifier Already in Collection - 07-20-2004 , 02:56 AM



xp_cmdshell 'DTSRun /S "(local)" /N "GlobalVariableDiagnostics" /G
"{98D70364-DB4F-4013-8F98-CDFF36BCA2E7}" /A
"strFilePath":"8"="J:\tmphs\DUBSYS\200407\20040715 \00_00\cel_ntid.unl" /E'


Getting Syntax Help for DTSRun
(http://www.sqldts.com/default.aspx?301)


--
Darren Green
http://www.sqldts.com
"TomTait747" <TomTait747 (AT) discussions (DOT) microsoft.com> wrote

Quote:
When I launch a package from the query analyzer, I receive a "text
qualifier already exists in the collection" error. I get the error whether
I have "none" or double quotes chosen for the text qualifier drop down
within the package. I do pass it a global variable upon execution.
Quote:
here is what I have in the QA:
EXEC master..xp_cmdShell 'dtsrun /S myserver /U mylogin /P mypassword /N
mypackage /A
strFilePath:8=J:\tmphs\DUBSYS\200407\20040715\00_0 0\cel_ntid.unl'
Quote:
What gives?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.