[SQL] how to use explain analyze

2011-10-27 Thread alan
, and notify the user once resuilts are available } else { run the query and wait for the results in real time. } Thanks, Alan -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql

Re: [SQL] Another orderby problem

2006-01-14 Thread Alan Chandler
On Saturday 14 January 2006 13:09, A. Kretschmer wrote: > am 14.01.2006, um 13:02:48 + mailte Alan Chandler folgendes: > > select name, id, transaction.date as tdate, description, amount > > from account join transaction on name=dst where name ='Sarah' > > or

[SQL] Another orderby problem

2006-01-14 Thread Alan Chandler
ah | 15 | 0005-06-10 | Petrol Allowance |-40 Sarah | 11 | 2005-06-05 | Sarah Petrol | 27.74 (5 rows) I can't figure out why the dates are not in order (see transaction 11 is out of place). for reference the transaction table has the "date" field of ty

[SQL] Matching the MYSQL "Describe " command

2005-04-24 Thread Alan Chandler
I can't see a column in this table that could potentially correspond and therefore I could join to it. Help -- Alan Chandler http://www.chandlerfamily.org.uk ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [SQL] good style?

2003-02-21 Thread Alan Gutierrez
sql > programming style? faster? Better style, yes. Whitespace would help also. Faster, maybe. If you use join clauses you will be able to take control over your query, specifying what gets joined when. -- Alan Gutierrez - [EMAIL PROTECTED] http://khtml-win32.sourceforge.n

Re: [SQL] double linked list

2003-01-30 Thread Alan Gutierrez
dards, so posting using the standard is his way of boosting them. BEGIN ATOMIC is BEGIN in PG. I am not sure how to declare a variable in PG in normal SQL. I don't do it that often, but when I do I do this: CREATE TEMPORARY TABLE Rightmost_Spread AS SELECT rightmost_spread FROM Fram

Re: [SQL] SQL list table names

2003-01-08 Thread Alan Gutierrez
ql with the -E argument to see the SQL used to run \dt. Look at man psql for for info for just: psql -E template1 Alan Gutierrez ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

[SQL] Re: Re: DateDiff, IsNull?

2001-08-15 Thread Alan Gutierrez
to debate C++ here! Its just that C++ is what made my knee jerk. Thanks for showing me the value of operator overloading in PostgreSQL. Alan On Tue, 14 Aug 2001, Ross J. Reedstrom wrote: > On Tue, Aug 14, 2001 at 06:51:33AM +, Alan Gutierrez wrote: > > > > Overloading operato

[SQL] Re: on update restrict

2001-08-14 Thread Alan Gutierrez
So an attempt to > > UPDATE t1 SET id = 2 WHERE id = 1; > > is the thing prevented in your above example. I find it odd that you specify a restiction on one table in the definition of another table. Sorry, if this was a double post. Alan Gutierrez --