Viewing 15 posts - 136 through 150 (of 250 total)
This is the code that calls the function;
create procedure dbo.spv_MO_InsertOrder
@company smallint,
@account bigint,
@seq int,
@status int = 3,
@user_code nvarchar(20),
@contact_type int,
@done_date datetime...
May 24, 2006 at 7:55 am
Well, I don't have rights to change the proc. I think what I am left with is some sort of loop that will go through and select each record, and...
May 19, 2006 at 4:54 am
The proc will be running against data that is in the same SQL Server 2000 database. I don't know if that answers your question about the data location or not....
May 18, 2006 at 4:03 pm
I'm thinking I'll probably use SELECT INTO to pull the data from where it needs to come from, then dump it into a temp table.
May 18, 2006 at 2:15 pm
Thanks for the suggestion. I wound up abandoning my out file approach after I was able to implement a pretty good solution in the vb6 app using 'Shell and Wait'.
CSDunn
May 19, 2005 at 7:23 am
I've got it; I tested for one CASE with an ELSE condition, and CAST 'gr' for each;
"ST_GR" = CASE
When Len(ST.GR)=1 Then '0' + Cast(ST.GR as varchar)
Else CAST(ST.GR as varchar)
End
January 19, 2005 at 12:47 pm
Viewing 15 posts - 136 through 150 (of 250 total)