Viewing 15 posts - 1 through 15 (of 16 total)
I have found my answer.. Many thanks
June 13, 2013 at 2:04 pm
That is great.. Many thanks...
What would be the syntax if I have 3 or more selects to join ?
June 13, 2013 at 11:32 am
Thanks everyone.. I was putting the AND tablename = 'SALE' in a where clause instead of in the ON clause..
September 11, 2009 at 9:18 am
Hi Drew,
Your suggestion worked. My final query looks like this:
select s.id, s.people, s.amount, s.ref, m.recordid, m.tablename, m.txt
from sale as s
left outer join usermemo as m
on s.id = m.recordid and...
September 11, 2009 at 9:15 am
I've tried adding
and Tablename = 'SALE' in my query but if a sale does not have a memo, it will disregard the sale alltogether
Thanks for your help though
September 10, 2009 at 3:17 pm
Hi Grasshopper,
Yes, your little modification to the script makes the script work.. Can you explain the logic behind using the square brackets around the field name to make it work??
Thank...
January 18, 2006 at 7:29 am
sorry I meant it would not select my sale 176 which has no memo
January 17, 2006 at 2:08 pm
Unfortunately no since it would not select my sale.id 175 which has no memo.
Thanks..
January 17, 2006 at 2:07 pm
Hi,
It seems I have a problems with strings and quotes.. I need to create this statement as an Dynamics SQL and I cannot get the quotes right
insert into itemcode1(itemtype,...
October 5, 2005 at 12:51 pm
Thanks for all your replies..
I'm importing data in an application and the time and date resides in 2 different columns...
October 5, 2005 at 12:20 pm
Can I use an insert select if I need to transform data
Here is my Insert statement:
create procedure InsertItemType (@itemtype varchar(20), @parkID char(2)) as
declare @NewItemType varchar(20)
set @NewItemType = @ParkID + @ItemType
insert...
October 5, 2005 at 8:37 am
Can you explain?
Thanks
October 5, 2005 at 8:20 am
Thanks.. it works.. I will now check your links...
October 4, 2005 at 1:27 pm
Viewing 15 posts - 1 through 15 (of 16 total)