Viewing 15 posts - 91 through 105 (of 223 total)
"The female application processors would also approve and change the billing address to send the bills to his wife"
And she would make sure the mistress's name somehow managed to make...
July 2, 2005 at 10:32 am
Remi,
I believe sushila was referring to Noeld's post in the Yukon Development site (the original post was from another thread where the two of you were going at each other...
July 1, 2005 at 6:38 pm
This should do the trick:
Function Main()
DIM oPkg
SET oPkg = DTSGlobalVariables.Parent
DTSGlobalVariables("g_PackageName").Value = oPkg.Name
msgBox("Package Name = " & DTSGlobalVariables("g_PackageName").Value)
Main = DTSTaskExecResult_Success
End Function
Good Luck,
Darrell
July 1, 2005 at 12:39 pm
I have seen the same issue but haven't researched the solution.
Sorry I couldn't give you a better answer.
Darrell
June 30, 2005 at 3:53 pm
June 28, 2005 at 9:43 am
I haven't tried that but I believe that would give you the "new" name in any log files that get generated.
Good Luck,
Darrell
June 28, 2005 at 9:36 am
Try something like this:
Create Procedure dbo.Create_Database
@DBNAME VARCHAR(50)
AS
DECLARE @SQL VARCHAR(100)
SELECT @SQL = 'CREATE DATABASE ' + @DBNAME
EXEC(@SQL)
RETURN
June 24, 2005 at 12:48 pm
Shouldn't this be done client side (I know that VB has a vbProper function that would handle it)?
June 24, 2005 at 12:14 pm
I believe your only option to rename a DTS package is to do a SAVE AS.
June 24, 2005 at 10:02 am
You can try this from an ActiveX Transform:
Function Main()
DIM sTemp
DIM sSource
DIM sOutput
sTemp = "000000"
sSource = "1234"
sOutput = LEFT(sTemp,(LEN(sTemp) - LEN(sSource))) & sSource
msgbox"Value = " & sOutput
Main = DTSTaskExecResult_Success
End Function
June 24, 2005 at 7:45 am
This code would go into the ActiveX task. You will also need a connection to the database and two Execute SQL Tasks (just put -- in for the query)
Function Main()
DIM...
June 22, 2005 at 10:52 am
You can use an Execute SQL Task to drop the table and then use an ActiveX script to create an OpenRowSet query (see BOL for use) that does a SELECT...
June 22, 2005 at 10:24 am
Create your Global variables and then in the Execute SQL task key in your query, then select the Parameters option and assign them from there. Now the ActiveX script can...
June 22, 2005 at 10:12 am
If the wait puts to much of a demand on the server (I don't think it will) you could try something like this.
Create a table with three columns (one for...
June 22, 2005 at 8:12 am
I believe that if you make a few modifications to Remi's code like this:
Dim MyCmd
Set MyCmd = CreateObject("ADODB.Command")
And do the same thing for each Dim/Set referencing the ADODB objects.
Good Luck
Darrell
June 15, 2005 at 8:59 am
Viewing 15 posts - 91 through 105 (of 223 total)