Viewing 15 posts - 331 through 345 (of 345 total)
I kinda figured that I would do that step, but how do I set the global variable to a value that comes from the result of a query? I can...
May 12, 2005 at 8:33 am
Ok, here's the latest. I changed my ActiveX code to the following:
Function Main()
Dim DeleteStmt, SelectStmt, oPkg, oDataPump, sSQLStatement, PullDate
PullDate = "2005-05-05"
SelectStmt = "SELECT * FROM schedule WHERE status='A' and DATE=...
May 11, 2005 at 10:30 am
I changed line 27 to reference SQLStatement instead of SourceSQLStatement and it worked! Thanks for any replies to this post.
May 11, 2005 at 10:14 am
Ok, I changed DTSStep to DTSTask and ran it. Now I get the following error:
Error Code: 0
Error Source=Microsoft VBScript runtime error
Error Description - object doesn't support this property or method: 'oDataPump.SourceSQLStatement'
Error on...
May 11, 2005 at 9:25 am
I found it in on my 2000 server, but not on my 7.0 server. How do I do it in 7.0?
May 10, 2005 at 7:44 am
What is 'disconnected edit'? How do I get the name from that?
May 10, 2005 at 7:40 am
Ok, here's my code of my ActiveX object. It's the first thing executed in the package.
Function Main()
Dim SelectStmt
SelectStmt = "SELECT * FROM schedule WHERE status='A' and DATE= '" & CStr(Year(Date))...
May 9, 2005 at 11:08 am
How do I reference the sql of the DTS object that runs my SQL code? (Sorry for the delay, but I got pulled off on another project)
May 9, 2005 at 8:33 am
Ok, now I have to set this up in SQL Server 7. I have it all done except for the Dynamic Properties Task step. There is no Dynamic Properties Task...
May 5, 2005 at 10:12 am
I have my local server, the destination server setup to use the Local System Account to log into windows.
The DTS package uses an anonymous connection to log into the source...
May 4, 2005 at 10:40 am
How cow. I got it to work. Well, actually you told me how to get it to work. Now that I have this base working, I can run with this. ...
May 3, 2005 at 1:51 pm
The statement that I have found is the following:
SELECT * FROM SCHEDLE WHERE DATE=CURDATE()
Unfortunately this statement times out. You would think that the database engine on this machine would be...
April 26, 2005 at 9:06 am
provost - how do I dynamically build the SQL statement within an ActiveX Task?
April 26, 2005 at 7:46 am
provost - the global variable thing is what I am trying to do. How do I get the global variable pumped into the sql statement that I am going to...
April 26, 2005 at 7:44 am
I tried to put the quotes around the column and table name and it didn't work. The statement didn't even parse.
April 26, 2005 at 7:14 am
Viewing 15 posts - 331 through 345 (of 345 total)