Viewing 15 posts - 31 through 45 (of 270 total)
Not as far as I know...however, it is easier than you think to rename the file...
Dim objfso
Set objfso = CreateObject("Scripting.FileSystemObject")
Dim objfile
If objfso.FileExists(("\\myserver\myfiles\myfile.txt")
) Then
objfile.copyfile "\\myserver\myfiles\myfile.txt", "\\myserver\myfiles\newfilename.txt"
'CopyFile method will leave the original...
July 30, 2003 at 9:23 am
Turn on package logging and let the job run...the log will give you the start and stop times and duration for each step...or at least the duration for each step...
July 29, 2003 at 2:37 pm
You should contact Steve Allen at Zap Technologies...his company might have what you are looking for and he is a knowledgeable contributor to this list. I believe his company's web...
July 25, 2003 at 9:49 am
I am opening the package and executing the task and then checking the value of the global variables in the package properties, Tom. Have done this a lot in the...
July 23, 2003 at 9:00 am
Hi Tom,
Yes...I am testing it from withing DTS Designer...
Michael
Michael Weiss
July 22, 2003 at 6:53 pm
Bring your file into a staging table. Then in your insert query [into your final destination table], do something like:
INSERT INTO maintable(pk_field, field1, field2, etc...)
SELECT s.pk_field, s.field1, s.field2, etc...
FROM stagingtable...
July 9, 2003 at 1:03 pm
Try wrapping your query in your Execute SQL Task in a stored procedure and then pass in the parameter...this should work fine using the EXEC usp_mysproc ? syntax...
hth,
Michael
Michael Weiss
July 7, 2003 at 10:05 am
Well let's say that your dimension table has the following fields:
currency_key, currency_type
With data such as 1, US Dollar
2, Euro
Could you not have a data member that would look like 3,...
July 7, 2003 at 9:29 am
Hi Ryan,
Can you add a catch-all level in your dimension table with a value of something like "N/A"? Then you could default all nulls to this level's key value...just a...
July 7, 2003 at 8:44 am
Hi Tracy...
I think you had it in your first post, didn't you?
Exec UpdateInfo @EmpId = "'" & Forms!frmEmployee!txtEmpID & "'"
I am not sure, but you could try it without the...
June 19, 2003 at 9:48 am
Hi Tracy!
In a stored procedure, you can have both input variables and output variables. If you modify your stored procedure such as:
CREATE PROCEDURE UpdateInfo
@EmpID int
AS
Select * from tblEmployee where...
June 19, 2003 at 8:53 am
But why run [essentially] the same query twice? How about if you do the following in your stored procedure?
Create Procedure usp_mysproc
@somevalue int = 1
AS
--Place your query here for example:
INSERT mytable(field1,...
May 26, 2003 at 12:25 pm
The OLAP Administrators group should have been created automatically when you installed Analysis Services. On your computer running Analysis Services, go to control panel, users. The OLAP Administrators group should...
May 16, 2003 at 8:27 pm
You can reference global variables in your ActiveX task a couple of ways. The first is to reference them through the DTSGlobalVariables collection such as:
DTSGlobalVariables( "GV1" ).Value = myvalue
You can...
May 14, 2003 at 8:30 am
Sorry...should have added that Data Analyzer will pull data from many different sources. Analysis Services is one of them.
~Michael
Michael Weiss
May 13, 2003 at 9:30 am
Viewing 15 posts - 31 through 45 (of 270 total)