Viewing 15 posts - 3,001 through 3,015 (of 3,544 total)
Studying the file, 2 problems. One is that there are 7 records per painting with the 7th line either missing or blank. Second the file does not contain CR/LF at...
Far away is close at hand in the images of elsewhere.
Anon.
October 21, 2003 at 4:18 am
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
October 20, 2003 at 6:37 am
where ss is not null
Far away is close at hand in the images of elsewhere.
Anon.
October 17, 2003 at 3:19 pm
Change the inner join to left outer join and add a where clause
WHERE JoiningTable.key IS NULL
Far away is close at hand in the images of elsewhere.
Anon.
October 17, 2003 at 2:33 pm
Hi Frank,
Nah1 But you can cook Salmon!!!
No Kidding ![]()
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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 ![]()
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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.
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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....
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
October 7, 2003 at 6:52 am
Viewing 15 posts - 3,001 through 3,015 (of 3,544 total)