Viewing 15 posts - 106 through 120 (of 213 total)
Here's how you can execute a DTS package from a stored procedure. Look up dtsrun utility in the Books Online for more information on the switches.
EXEC master.dbo.xp_cmdshell 'DTSRUN /S...
May 6, 2008 at 4:13 pm
Replace the Copy Column data transformation with a Date Time String transformation.
On the General tab of this transformation type's details, click the Properties button and enter the date...
April 17, 2008 at 11:04 am
VBScript doesn't support mulit-line comment blocks. You're going to have to treat each line as a single-line comment.
March 28, 2008 at 10:27 am
Instead of using a Copy Column transformation, use an ActiveXScript transformation. Click on the properties button of this new transformation to edit the code. Enter something similar...
March 19, 2008 at 3:13 pm
There are a few different ways you can do this.
If the DTS package is executed via a SQL job, you can use the logging features of the job step. ...
March 13, 2008 at 10:54 am
Sounds to me like either you're not executing the loop correctly or the CountryCode global variable value isn't being updated like you expect to be.
How is CountryCode being populated and...
March 12, 2008 at 12:21 pm
February 20, 2008 at 3:43 pm
Here's the official word, straight from the horse's mouth:
February 20, 2008 at 3:30 pm
Yes, it's possible. You'll need to have global variables set up in your DTS package and use the DTSRUN utility to pass values to those global variables Look up...
February 15, 2008 at 10:39 am
The InsertFailureMain function isn't being called because you have the Fast Load option enabled.
Go to the Options tab of the transformation task properties window, and uncheck 'Use Fast...
February 14, 2008 at 4:54 pm
Simply add another Data Transformation task to your DTS package after your SQL task. The source of the tranformation would be your SQL Server and the destination would...
February 14, 2008 at 10:49 am
Add an Active X Script task before your Data Transformation task that does the following:
1) Disable the Data Transformation task
2) Uses the FileSystemObject to determine if the file...
February 14, 2008 at 10:44 am
That is the very reason why I don't use the lousy FTP task. Instead, I create an Active X Script task that executes a shell command to download the...
February 12, 2008 at 10:51 am
You can't execute a TRUNCATE TABLE command from a different server.
Here are 2 workarounds:
1) Add a SQL connection object to your DTS package that points to the server/database that...
February 11, 2008 at 4:57 pm
You're trying to execute a SQL Server stored procedure in an Execute SQL Task where the connection is an Access database? That's not going to work.
Here's one way...
February 5, 2008 at 1:54 pm
Viewing 15 posts - 106 through 120 (of 213 total)