Viewing 15 posts - 1 through 15 (of 15 total)
Is there a process that could be running at the same time on Server B causing the package to only work intermittenly? I would check your database connections as...
October 14, 2005 at 12:39 pm
I figured it out. I was attaching the file in two places. Thanks again for your help.
September 28, 2005 at 9:57 am
That works. Only thing is now it attaches two copies of the Excel File. Do you know why that happens?
Thanks for your help.
September 28, 2005 at 9:48 am
I'm sending the mail using an Active X Script. See code below:
'**************************************************************************
' Visual Basic ActiveX Script
'************************************************************************
Function Main()
'Send email with file attachment
Dim objMail'Mail Object
Dim strFilePath, strSubject, strHeader, strEmailBody, strFooter
strFilePath...
September 27, 2005 at 1:00 pm
Here is what it is delivered as I believe.
Field Name: X_MimeOLE
Data Type: Text List
Data Length: 49 bytes
Seq Num: 1
Dup Item ID: 0
Field Flags:
"Produced By Microsoft MimeOLE V6.00.2800.1409"
September 27, 2005 at 12:35 pm
Pre-Windows 2000 Compatible Access Group is an upgrade. It is necessary if your receiving the following error:
The job failed. Unable to determine if the owner (domain\username) of job testjob...
September 15, 2005 at 11:44 am
When I try and run this I get the error message -
Server: Msg 156, Level 15, State 1, Procedure sp_ALZ_check_failed_jobs, Line 26
Incorrect syntax near the keyword 'AS'.
Server: Msg 170, Level...
September 13, 2005 at 2:20 pm
So by runnning EXEC sp_update_job @job_name that will make you the owner of the SCHEDULED JOB but not the packages in it?
September 8, 2005 at 9:51 am
What if the job runs under a different login name then mine? Can I still be the owner or does the login it runs under need to be the owner? Basically...
September 7, 2005 at 7:31 pm
I know they won't make me a member of SA because that gives you too much system access. How do you make someone the owner of a job?
September 7, 2005 at 7:18 pm
Phil
You can return a value from a stored procedure to a global variable this way. See below:
SET NOCOUNT ON
DECLARE @ReturnValue int, @OutTest intEXEC @ReturnValue=dbo.spReturnAndOutputTest @OutTest OUTPUTSELECT @ReturnValue AS ReturnValue,...
April 18, 2005 at 6:21 pm
Actually the output parameter box will only allow me to select ReturnValue. It isn't @ReturnValue and I can't change or select @ReturnValue. ReturnValue is the only choice.(without @)
April 17, 2005 at 9:07 am
Yes I do have it mapped to @returnValue. That is why I don't understand why it isn't working. Any suggestions??
April 16, 2005 at 9:13 pm
I was able to get this to work just like the example I gave at the top of this post. I passed in the global variable directly into a SQL...
February 4, 2005 at 9:08 pm
Answered my own question - See example below.
' 205 (Change SourceSQLStatement)
Option Explicit
Function Main()
Dim oPkg, oDataPump, sSQLStatement
' Build new SQL Statement
sSQLStatement = "SELECT * FROM dbo.employee WHERE hire_date > '" &...
February 2, 2005 at 2:48 pm
Viewing 15 posts - 1 through 15 (of 15 total)