Viewing 15 posts - 3,001 through 3,015 (of 3,543 total)
How about creating a table of possible margin values (counter in my case containing 1 to 100) then doing
select sum([count]) as [count], c.number as margin...
October 20, 2003 at 8:45 am
To get your required results with BCP the data has to match exactly the definition in your fmt file, 6 lines per record separated by CR/LF including blank lines. To...
October 20, 2003 at 6:37 am
Change the inner join to left outer join and add a where clause
WHERE JoiningTable.key IS NULL
October 17, 2003 at 2:33 pm
Hi Frank,
Nah1 But you can cook Salmon!!!
No Kidding
October 17, 2003 at 2:25 pm
This might work
update p
set p.mindate = x.mindate,
p.maxdate = x.maxdate
from parent p
left outer join(SELECT keyid,min(date) as mindate, max(date) as maxdate
from child grouped by keyid) x
on...
October 17, 2003 at 1:52 am
I understand it to be machine, an old generic term for pc/server.
nb pc is personal computer
nb nb is ... oh b******s
October 9, 2003 at 6:05 am
I have no problem accessing 1600 byte fixed length records with DTS. Are you sure all records are 1600 bytes and as ghughes stated have got CR/LF. If your data...
October 9, 2003 at 2:04 am
Can you use an OUTPUT parameter in the top proc to return either error value (@ERR or @Result in my example) and test for this.
October 8, 2003 at 10:22 am
One way is to use RETURN to return non sql critical errors or user defined errors and to trap both errors after proc call
DECLARE @Result...
October 8, 2003 at 7:18 am
Is the data fixed column or separated by a delimiter. It looks like you specified delimited data in DTS but the data does not contain the delimiter specified.
p.s. DTS wizard...
October 8, 2003 at 7:03 am
If you know the max no of colours (3 in your example) then, not elegant but....
select b.Manufacturer,b.c1+
coalesce(', '+b.c2,'')+
coalesce(', '+b.c3,'') as 'ColorsAvailable'
from (select a.Manufacturer,
max(case when a.Colorct...
October 8, 2003 at 6:50 am
If I remember right from when I used 6.5 you have to extend the log first to enable sql to commit/rollback trans to put the database in the right state....
October 8, 2003 at 6:27 am
If the query you posted is accurate and id is varchar then I think the problem is with the difference in implicit/explicit conversion between 7 & 2000, you will need...
October 7, 2003 at 6:52 am
Personally I would not use spt_values. I would create temp table containg int column containing values from 1 to max number of days between dtTripStart and dtTripEnd and join that...
October 6, 2003 at 6:59 am
Viewing 15 posts - 3,001 through 3,015 (of 3,543 total)