Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)

  • RE: Reading URL and storing file as Blob in SQL2000 using DTS.

    Fixed the problem, the following is the working code.

    '**********************************************************************

    ' Visual Basic Transformation Script

    '************************************************************************

    ' Copy each source column to the destination column

    Function Main()

    Const adTypeBinary =...

  • RE: Reading URL and storing file as Blob in SQL2000 using DTS.

    When I try to run the ActiveX script I get the following exception.

    "ActiveX Scripting Transformation 'DTSTransformation__2':Error parsing script - Error Code:0

    Error Source=Microsoft VBScript compilation error

    Error Description: Expected statement

    Error on Line...

  • RE: Reading URL and storing file as Blob in SQL2000 using DTS.

    In the ActiveX Transformation Script I have the Main Function calling the ReadBinaryFile Function.

    Am I doing this correct?

    '**********************************************************************

    ' Visual Basic Transformation Script

    '************************************************************************

    function Main()

    {

    ...

  • RE: Reading URL and storing file as Blob in SQL2000 using DTS.

    This is what I have setup in the Transformation Data Task. Is this what you are suggesting?

    '**********************************************************************

    ' Visual Basic Transformation Script

    '************************************************************************

    function Main()

    {

    DTSDestination("Cutsheet").Value = ReadBinaryFile(DTSGlobalVariables("sFileName").Value);

    return(DTSTransformStat_OK);

    }

    Function ReadBinaryFile(sFileName)

    Const adTypeBinary...

  • RE: Reading URL and storing file as Blob in SQL2000 using DTS.

    Hey I am new to the DTS thing, so I am just trying to figure out what your suggestion is.

    I am with you now.

    Thanks

  • RE: Reading URL and storing file as Blob in SQL2000 using DTS.

    So I make the "Function ReadBinaryFile(sFileName)" a User Defined Function in SQL?

Viewing 6 posts - 1 through 6 (of 6 total)