Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 18th, 2010, 12:39 PM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting a Global Variable value help

I have a dts that uses a global variable that is used in the dynamic properties and has a value of a file location and filename. The variable is set using a query which adds the file location and filename and also current day and month to the end ie

\\directory\folder\filename.filetype + current day-month

I need to change the value of the global variable when my dts gets to a specific process. I have an activex script that changes the value (file location and filename) and this work fine but i cant same to get the code to add the current day and month to the end, how do i concatenate the global variable value with the the current day and month added on at the end?





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to declare the global variable in global.asax? calyn_gately ASP.NET 3.5 Basics 0 August 6th, 2008 08:06 PM
comapring global variable value to local variable amhicraig XSLT 6 December 5th, 2007 12:16 PM
Setting Global Parameters in the SimpleAxisServer nigel.sim J2EE 0 October 8th, 2005 06:46 PM
Setting NLS_TIMESTAMP_FORMAT global parameter pankaj_daga Oracle 0 May 24th, 2004 07:27 AM
Setting a DTS Global Variable ioates SQL Server 2000 0 October 23rd, 2003 04:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.