Re: [SQL] Returning Recordsets from Stored-procs

2000-11-06 Thread Grant Finnemore
base or MS-SQL. > > I have seen that you can return a complete record but that's not really the same >thing. > > Marc Rohloff Regards, Grant -- > Poorly planned software requires a genius to write it > and a hero to use it. Grant Finnemore BSc(Eng) (mailto:[EMAIL PROTECT

Re: [SQL] Outer Joins

2000-11-01 Thread Grant Finnemore
a,b > where a.col1 = b.col2 >or a.col1 not in (select b.col2 from b) > > These would seem to be far more efficient than a union query > (I would try this but I don't have a Unix box at the moment to install PostgreSQL >on!) > > Marc Rohloff -- > Poorly plan

Re: [SQL] renaming columns... danger?

2000-10-27 Thread Grant Finnemore
also, and this may actually the source of the problem, > while scanning my full (schema and data) dump, I > noticed that the contents of table pga_layout also had > the old values of columns that I have renamed. > > I'm very frightened right now, because I'm rather > depe

Re: [SQL] Q: performance on some selects (7.0.2)?

2000-10-04 Thread Grant Finnemore
rows=636 > width=32) > -> Seq Scan on newscategories c (cost=0.00..1.43 rows=43 > width=20) > > EXPLAIN > > Now, as I understand the thing that slows everything is the Seq > scan on articles. I wonder why should it be that the query can't use > index? &

Re: [SQL] trigger or something else?

2000-07-03 Thread Grant Finnemore
done on the view. See the docs for details on how to do this. > > -- > Anatoly K. Lasareff Email: [EMAIL PROTECTED] Grant -- > Poorly planned software requires a genius to write it > and a hero to use it. Grant Finnemore BSc(Eng) (mailto:[EMAIL PROTECTED]) Softwar

Re: [SQL] adding fields containing NULL values

2000-05-29 Thread Grant Finnemore
ras, 0) as total FROM ... Regards Grant -- > Poorly planned software requires a genius to write it > and a hero to use it. Grant Finnemore BSc(Eng) (mailto:[EMAIL PROTECTED]) Software Engineer Universal Computer Services Tel (+27)(11)712-1366PO Box 31266 Braamfontein 2017, Sou

Re: [SQL] Rollback & Nextval fails

2000-05-29 Thread Grant Finnemore
ue that you require. This has the effect of serializing every client update transaction where this scheme is used. Can you afford that? Regards, Grant -- > Poorly planned software requires a genius to write it > and a hero to use it. Grant Finnemore BSc(Eng) (mailto:[EMAIL PROTECTED]) Software En