Pkailas,
If the SQLSEVERAGENT is using the same log as my account shouldn't it still work? I tried doing a bulk insert in query analyser and using the mapped drive is still doen't recogonise it. It seems strange I thought there would be more maintenance using UNC.
If I try import a file located on a network drive isH:\xxxx.txt, DTS fails that it cannot find the path specified. How ever if I have the full path name ie <server>\<directory>\xxxx.txt it works?????
is there something im missing here
I have the following code:-
declare @cmd varchar(1000)
set @cmd = 'BCP ' + '"Operating.dbo.Mobile"' + ' out '
+ 'jingl1.txt' +' -c -S '+ @@servername + ' -Uxxx -Pxxx'
exec master..xp_cmdshell @cmd
which works fine however after reading BOL I tried putting a select Statement
declare @cmd...
Im having a look at my permission at the moment. The only thing is I have set the agent to run under my account so I would imagine it has my security. I have loggen on the Server as myself so when I execute the package it works with my permissions and sqlagent has my Service Startup account yet...
the event log gives the following message:-
************************************************************
The system cannot find the file specified.
DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSCreateProcessTask_1
DTSRun OnError: DTSStep_DTSCreateProcessTask_1, Error...
I have a DTS package which executes a .bat If I execute the package it works fine but when I schedule it, it fails.
All im doing in the .bat is renaming a text file and I have change directory to point to the correct location of the text file.
Any ideas?
I have a Unix text file which has a fieldterminator of || and a rowterminator of LF. If I use DTS the import works perfectly however if I use BULK INSTERT i get :-
Server: Msg 4863, Level 16, State 1, Line 1
Bulk insert data conversion error (truncation) for row 1, column 2 (c2).
I know it's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.