Re: SQL Join - MySQL/PostgreSQL difference?

Поиск
Список
Период
Сортировка
От Brice Ruth
Тема Re: SQL Join - MySQL/PostgreSQL difference?
Дата
Msg-id 3A801FDE.E82A41B2@webprojkt.com
обсуждение исходный текст
Ответ на Re: SQL Join - MySQL/PostgreSQL difference?  (David Olbersen <dave@slickness.org>)
Ответы Re: SQL Join - MySQL/PostgreSQL difference?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
David,

About the case-sensitivity, I was under the impression that PostgreSQL
was case-insensitive unless things were explicitly put in quotes.  This
is at least what I read in the book ...

-Brice

David Olbersen wrote:
> 
> On Thu, 1 Feb 2001, Brice Ruth wrote:
> 
> ->SELECT
> ->  a.Number,
> ->  a.Code,
> ->  a.Text
> ->FROM
> ->  b,
> ->  a
> ->WHERE
> ->  (b.Id = a.Id) AND
> 
> These next two statements are very ambiguous. Make them explicit as you have
> with "(b.Id = a.Id)" and "(b.d_Id = 'key3')"
> 
> Also, be sure that 'key3' is how what you want looks in the database
> 
> ->  (VersionId = 'key1') AND
> ->  (Category = 'key2') AND
> ->  (b.d_Id = 'key3')
> ->ORDER BY
> ->  a.Number;
> 
> Also, make sure ( '\d b' ) that your columns are case-sensatively named 'Id' and
> such as this does matter.
> 
> -- Dave

-- 
Brice Ruth
WebProjkt, Inc.
VP, Director of Internet Technology
http://www.webprojkt.com/


В списке pgsql-sql по дате отправления:

Предыдущее
От: Brice Ruth
Дата:
Сообщение: Re: SQL Join - MySQL/PostgreSQL difference?
Следующее
От: "Sebastian"
Дата:
Сообщение: Load or Copy ??