Viewing 12 posts - 31 through 42 (of 42 total)
Got it!
'**********************************************************************
' Visual Basic ActiveX Script
'************************************************************************
dim mySQL
Function Main()
dim oPK,sqlParam,myTask
set oPK=DTSGlobalVariables.Parent
set myTask= oPK.Tasks("DTSTask_DTSDataPumpTask_1")
set sqlParam=myTask.properties("SourceSQLStatement")
sqlParam.value=LoadSQL
Main = DTSTaskExecResult_Success
End Function
Rocker you put me on the right path. Stuck an Active X script...
September 10, 2002 at 11:58 am
Getting closer with firing an Active X script before rest of package.
*****************************************
' Visual Basic ActiveX Script
'*****************************************
Dim objConn, objPkg
function main()
Set objPkg = DTSGlobalVariables.Parent
Set objConn = objPkg.Connections("excelconn")
objConn.DataSource=objPkg.GlobalVariables.Item("strpathfile").Value
Main = DTSTaskExecResult_Success
end function
'*****************************************
I'm right...
September 10, 2002 at 8:59 am
Rocker much thanks.
I get the jist of that and will give it a go.
September 9, 2002 at 4:14 pm
Thanks again Rocker,
Not there yet though. Back to my original post, if you cannot use sql source loader params with 7.0 like 2k, can I still do what I...
September 9, 2002 at 3:36 pm
Thanks Rocker,
lol
I am not currently having the problem in the ASP. The problem I am experiencing is perhaps a difference between 7.0 and 2000.
From what I have read seems...
September 9, 2002 at 1:22 pm
The Column is not computed.
Example of data in xls column
758ghf
463304
ghdfj7
451121
The items that are numeric in value come thru as nulls. The table column they go into is a varchar.
Has anyone...
July 3, 2002 at 7:42 am
To all those interested in Passing Params from ASP to execute DTS package look at this link.
http://www.asp101.com/articles/carvin/dts/default.asp
Excellent Article as primer. Do the Following.
1) Create DTS package, add global...
June 26, 2002 at 12:31 pm
I have just found the wonderful world of executing dynamic DTS packages from ASP.
The package in particular starts off by taking in an input param transforming some data from one...
June 26, 2002 at 8:35 am
Just some of the values for that column are turning up null after the DTS, the ones that were numeric.
I am doing ONE transformation for all values involved...
June 25, 2002 at 7:30 am
Hello again,
I am using SQL2K. I am making ground in passing params. Actually I am trying to pass them from ASP. In the DTS my Source is an...
June 24, 2002 at 7:19 am
Thanks for the Replies,
My original plan was to use the FSO to get the file, then have DTS pour it into SQL DB
The reason for my post is I...
February 6, 2002 at 12:32 pm
Viewing 12 posts - 31 through 42 (of 42 total)