Viewing 15 posts - 2,431 through 2,445 (of 2,487 total)
quote:
Check out dtsrunui. No more building parameters or jobs for dtsrun by hand. Excellent tool!
Pity...
--------------------
Colt 45 - the original point and click interface ![]()
quote:
I had no issues with SQL 2000 SP2. What version are you running so I am comparing Apples to Apples here?
--------------------
Colt 45 - the original point and click interface ![]()
quote:
There does not appear to be a solution to run DTS with parameters directly from ASP. I believe the solution we're...
--------------------
Colt 45 - the original point and click interface ![]()
By using DTSGlobalVariables.parent you are creating a package object which is referencing the current package.
You need to create a new package object to load your stored package into.
eg:
--------------------
Colt 45 - the original point and click interface
This article is probably more what you're looking for.
http://www.databasejournal.com/features/mssql/article.php/1459181
It shows how to use the sp_OA procedures to set global variables on page 2.
Thanks
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
As you are using a variable, not a static value, you need to put the BULK INSERT statement inside an EXEC statement.
EG:
EXEC ('BULK INSERT CUSP001.dbo.tmpALDB_BI2 FROM...--------------------
Colt 45 - the original point and click interface ![]()
Try something like
DECLARE @Err int
CREATE TABLE #Tmp (
PingText varchar(255)
)
INSERT INTO #Tmp
EXEC xp_cmdshell 'ping <your server ip address>'
SELECT @Err = COUNT(*) FROM #Tmp
WHERE...
--------------------
Colt 45 - the original point and click interface ![]()
Viewing 15 posts - 2,431 through 2,445 (of 2,487 total)