[GENERAL] Odd query

2001-09-25 Thread Joshua Adam Ginsberg
Let's say I have a table : create table people ( person_id integer not null primary key, firstnames varchar(50), lastname varchar(50) ); and another create table partners ( first_person integer not null references people(person_id), second_person integer not null reference people(person_id) );

[GENERAL] Re: (+) oracle notation

2000-10-19 Thread Joshua Adam Ginsberg
There is an artifical way to do the outer join in PostgreSQL... It involves using UNION and NOT IN... see : http://www.postgresql.org/docs/aw_pgsql_book/node305.html Hope this helps... -jag -- "She who is wanting me, Whose touch can make me cry, I can only understand By never asking her why.

[GENERAL] PSQL woes

2000-08-09 Thread Joshua Adam Ginsberg
What I do is just invoke upper(text(field))... that converts the varchar to text, which the upper function can then use. -jag -- There's so much beauty in the world. Sometimes I feel like I'm seeing it all at once, and it's too much; my heart fills up like a balloon that's about to burst. And