Viewing 15 posts - 16 through 30 (of 40 total)
Paul,
You may get more luck if you try and break down your problem.. that's an awful lot of code for someone to try and work out what's going on!
Alex
June 6, 2005 at 11:04 am
Fred,
im such a dumbass... of course it's ordering- it's ordering alphabetically! i thought for soem reason it would order still based on JFMAMJASOND order...
der..!
June 5, 2005 at 9:55 am
mike thanks for the reply,
cheers- i need to be able to distinguish which results belong to which field id though.. with thati cant be sure, no?
alex
June 5, 2005 at 7:45 am
mike, sorry i cut out the bottom bit to save space
basically i want to join onto a table using an event id (26). this event id, along with the fieldid...
June 5, 2005 at 6:06 am
Guess you've tried the replace function..
eg REPLACE(table.field, CHAR(32), '')
where CHAR(32) is a space...
June 4, 2005 at 4:30 am
Thanks Chris... just one more thing (like Columbo)
if i use
SELECT CASE WHEN x LIKE 'A%' THEN 'blah'
How do i add WHEN y LIKE 'B%' THEN 'blah2'?
cheers!
June 1, 2005 at 11:22 am
may have to be the only way Chris... great.
cheers for the above, didnt know that.
Can you alias the results so..
select case 1 when in (1, 2) then 'a' else 'b'...
June 1, 2005 at 8:48 am
You should see this piece of p00 report writing tool that im lumbered with. seriously.
cheers sushila for the suggestion althuogh it's not quite what im after.
as an aside.. can you...
June 1, 2005 at 7:48 am
Berilliant guys, suggestions worked a treat!
June 1, 2005 at 3:11 am
Sorry.. just noticed the folllwing:
SELECT ISNULL (EntityPhoneNumbers.PhoneNumber, 'None')
FROM Entity
LEFT JOIN EntityPhoneNumbers ON Entity.EntityID = EntityPhoneNumbers.EntityID
WHERE Entity.EntityID = ||EntID|| (this is a value passed to it)
works fine n dandy but...
May 31, 2005 at 11:15 am
Cheers Chirs, Govind and Noel. Ive been having to write SQL in this really cr4ppy basic report writing tool that doesn't allow any procedural stuff.
Noel's suggestion worked a treat mind,...
May 31, 2005 at 11:05 am
Hi Greg,
Thanks for posting. I've spent pretty much all day trying to figure it out and i have now (time difference n all that). Basically on the job history it...
May 25, 2005 at 10:07 am
Viewing 15 posts - 16 through 30 (of 40 total)