.net and mysql join
From: oscar (oscar_at_discussions.microsoft.com)
Date: 02/14/05
- Next message: Paul Clement: "Re: what is the best way to read text file"
- Previous message: Alvin Bruney [MVP]: "Re: what is the best way to read text file"
- Next in thread: robkit: "RE: .net and mysql join"
- Reply: robkit: "RE: .net and mysql join"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 11:23:02 -0800
i'm curious if there are any known issues with the 2. i've tried it in vc#
and vb and i get the same results with both.
every time i run a join and it gets to a 0 or null it makes everything
following it in that column null. the mysql statement is:
"select customers.name, customers.firstname, customers.customerid,
customers.contact, customers.memorec, extinfo.info, memos.memo from customers
left join extinfo on customers.rec=extinfo.rec left join memos ON
customers.memorec=memos.rec where customers.rec=extinfo.linkrec and
extinfo.identifier=1 and extinfo.primarytype=2 and customers.inactive=0 order
by customers.name asc"
the memorec points to the coresponding rec in the memo file. the problem is
that if a customer has a 0 memorec (no memo) then the dataset makes it null
and all the memos following it. is this a known bug or am i doing something
wrong? is there a better way to do this?
- Next message: Paul Clement: "Re: what is the best way to read text file"
- Previous message: Alvin Bruney [MVP]: "Re: what is the best way to read text file"
- Next in thread: robkit: "RE: .net and mysql join"
- Reply: robkit: "RE: .net and mysql join"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|