Viewing 15 posts - 1,231 through 1,245 (of 1,353 total)
Here are some common ones. You can copy and paste this to the top of your active X script:
'---- DataTypeEnum Values ----
Const adBoolean = 11
Const adChar = 129
Const adCurrency =...
September 23, 2004 at 7:04 am
I don't think the mention of Notepad was "silly" at all. It sounded to me as if Outlook was forbidden simply because it is a client application, but there are...
September 15, 2004 at 11:10 am
Here's a sample of how we do this:
sFileName="FileName-" & Right("0" & DatePart("m", Date), 2) & _
Right("0" & DatePart("d", Date), 2) & _
Right(DatePart("yyyy", Date), 2) & ".txt"
DTSGlobalVariables("FileName").Value=sFileName
DTSGlobalVariables("FilePathName").Value="<<FilePath>>" & sFileName
You can use...
September 15, 2004 at 7:00 am
Neither of the preceeding comments addresses the security issue. I can see the point made by one of the comments that some kind of scaled down version be available, but...
September 15, 2004 at 6:54 am
This is a superb explanation of the subject. I completely agree, and I like the logic used that makes it more than just an opinion. In the rarest of occassions,...
September 8, 2004 at 5:34 am
I don't know what version you're using, but the DTS package process in SQL2000 is far ahead of SQL7. Global variables are fairly straightfoward, and we have transferred all of...
September 7, 2004 at 6:58 am
Did some reading over the weekend, and found a way you could do this. I'm not sure exactly what way you're trying to get the output parameters, but if it's...
September 7, 2004 at 6:54 am
I found the same thing
September 3, 2004 at 8:11 am
You'll need to have the constants declared if you use the code as it appears. Here are the ones that appear in the code:
'---- DataTypeEnum Values ----
Const adChar = 129
Const...
September 3, 2004 at 8:09 am
If there's a way to do it using the SQL Task, I can't figure it out this quickly. I see the output parameters tab, but it doesn't seem to p/u...
September 3, 2004 at 7:06 am
sorry, but I should have also asked you what version of SQL Server you are using.
September 3, 2004 at 6:51 am
Are you doing this an an ActiveX Script or an SQL task?
September 3, 2004 at 6:42 am
Are you running the package under a domain account? If you are crossing server boundaries you can't run the package under the local admin account.
September 2, 2004 at 6:37 am
Properly cased and indented code is much easier to read. Most of my colleagues would agree, as we had this discussion when one of the programmers used lower case.
Making code...
August 31, 2004 at 7:17 am
Viewing 15 posts - 1,231 through 1,245 (of 1,353 total)