Viewing 15 posts - 16 through 30 (of 136 total)
Y'all are missing the point. Here's an example:
create table #test (field varchar(1))
insert into #test (field) select 'a'
update #test set field = 'abcd'
The update statement will fail with the message:
Server:...
August 22, 2002 at 10:58 am
Start by checking out Extended DTS Objects in bol. Sorry, I don't have time to look into this further right now. If you find a solution, please post.
Thanks,
John
August 22, 2002 at 9:56 am
I'm using a varchar(10) field because some of the data in the field is garbage. If I could count on all of the records coming in from Foxpro to...
August 22, 2002 at 9:41 am
Yah, convert(varchar(10), field, 120) would have taken care of it. It'd just be nice if it would warn that the format would truncate data, or fail because of that,...
August 21, 2002 at 10:35 am
You can use ActiveX, but why not just use SQL?
I have to call it a night, but this should get you started.
--drop table _my_temp
declare @sql varchar(8000)
declare @sql2 varchar(8000)
set @sql =...
August 20, 2002 at 5:23 pm
Michael's right. The index is the order in which the step is created, not executed.
You could include another column in your log;
objPkg.Steps(iCount).StartTime to find the exection order.
Just curious, why...
August 20, 2002 at 4:30 pm
Good question... I'll ask our dba on Monday if nobody on here answers before then.
August 16, 2002 at 3:56 pm
Thanks. I've needed an excuse to write a split like function. One of the handy things I miss from VB in T-SQL.
This function will return a table. You need...
August 16, 2002 at 2:43 pm
Cool. Now that we uncovered the problem, make your life a little easier so you don't have to go through this next time. Create a procedure called, sp_runDTS...
August 16, 2002 at 2:04 pm
Ok, what does the command line from the job look like? Do you have a /U and /P switch somewhere? The /P switch is the password stored in...
August 16, 2002 at 1:22 pm
Kathi,
I can see why this would make you want to pull your hair out. Very important, don't forget to breathe.
Please try this. Change the owner of a job to...
August 16, 2002 at 12:32 pm
DTS1 - fails when scheduled to run - login failed for SA - runs ok when fired manually. Who owns the job? How is the job executing the...
August 16, 2002 at 10:59 am
I think the easiest way to write this, and maintain the code going forward will be to use an IF statement and write the query three times.
If @fieldToSearch...
August 15, 2002 at 4:56 pm
First off, why not do this?
select
A.id_account, sum(h.cTotalUSDValueAmt)
from
cdAccount A
join
cdiHolding H on a.id_Account = h.id_Account
group by
...
August 15, 2002 at 4:24 pm
I recently added a procedure to the scripts section that should help you. DTS packages are stored on the server in msdb.dbo.sysdtspackages. You need to update both the...
August 15, 2002 at 4:01 pm
Viewing 15 posts - 16 through 30 (of 136 total)