Re: [SQL] SQL a simple menu - plz help

2003-11-28 Thread Randolf Richardson
>> Here, this link should help: >> >> Search PostgreSQL - Opera >> http://www.postgresql.org/search.cgi?q=connectby > > Thanks...rtfm I know :) RTFM? Oh, yeah, that's right -- Read The /FUNNY/ Manual! =D -- Randolf Richardson - [

Re: [SQL] not in vs not exists - vastly diferent performance

2004-01-04 Thread Randolf Richardson
"[EMAIL PROTECTED] (Tom Lane)" wrote in comp.databases.postgresql.sql: > "Iain" <[EMAIL PROTECTED]> writes: > >> I found this interesting and thought I'd offer it up for comment. > > You didn't say what PG version you are using, but I'd venture to bet > it is pre-7.4. This must've been

Re: [SQL] Radius of a zip code

2004-01-04 Thread Randolf Richardson
"[EMAIL PROTECTED] (Tom Lane)" wrote in comp.databases.postgresql.sql: [sNip] > I'm guessing that the big problem is that you didn't measure longitude > and latitude in identical units in your table, so your "circle" isn't > real circular, and the smaller problem is that "miles" converts to > "deg

Re: [SQL] Array fields in Postgresql...

2003-11-18 Thread Randolf Richardson, DevNet SysOp 29
upport/PostgreSQL/tutorial/ ("Arrays" are listed near the end of the page) In Google.Com, you can also use the following search string: +postgresql +arrays +tutorial -- Randolf Richardson - [EMAIL PROTECTED] Inter-Corporate Computer & N

Re: [SQL] SOLVED: Emulating 'connect by prior' using stored proc

2003-11-18 Thread Randolf Richardson, DevNet SysOp 29
d one too by the looks of it -- thanks for sharing this information); if I start my query from an item at level 5, will the level be reflected as such, or will it dynamically start at 1? As I understand it, in Oracle the level would begin at 1 in this case. Thanks in advance. --

Re: [SQL] HELP ME

2003-11-18 Thread Randolf Richardson, DevNet SysOp 29
l.html -- Randolf Richardson - [EMAIL PROTECTED] Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.8x.ca/ This message originated from within a secure, reliable, high-performance network ... a Novell NetWare network. ---(end of

Re: [SQL] Oracle 'connect by prior' now eaiser in 7.3?

2003-11-18 Thread Randolf Richardson, DevNet SysOp 29
indexing to handle this efficiently. Do you happen to know if PostgreSQL will have a special indexing option for this feature? If it does, it will very likely provide a major performance advantage over Oracle. -- Randolf Richardson - [EMAIL PROTECTED] Inter-Corporate Computer & Network S

Re: [SQL] Closed

2003-11-18 Thread Randolf Richardson, DevNet SysOp 29
s, while there are others that see very little activity at all. Anyway, don't worry, this place is active in a healthy way. -- Randolf Richardson - [EMAIL PROTECTED] Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.8x.ca/ This messa

Re: [SQL] Expressional Indexes

2003-11-18 Thread Randolf Richardson, DevNet SysOp 29
eld but only have the index keep track of the most recent 30 days (and then create a secondary index for all dates) so as to improve performance on more heavily loaded systems. Am I understanding this new terminology correctly? Thanks in advance. -- Randolf Richardson - [EMAIL PRO

Re: [SQL] Expressional Indexes

2003-11-19 Thread Randolf Richardson, DevNet SysOp 29
e "lower(foo)". In 7.4 > they're more powerful and you can index expressions other than simple > function calls. [sNip] So an "Expression Index" could, for example, be used to sort alpha- numeric data in a case-insensitive manner? I just want to make sure I'

Re: [SQL] SOLVED: Emulating 'connect by prior' using stored proc

2003-11-19 Thread Randolf Richardson, DevNet SysOp 29
parameter. Interesting. Although I don't have an immediate need for this, I'm sure it could be useful when storing the results of multiple queries of this nature in a temporary table. -- Randolf Richardson - [EMAIL PROTECTED] Inter-Corporate Computer & Network Services,

Re: [SQL] SQL a simple menu - plz help

2003-11-28 Thread Randolf Richardson, DevNet SysOp 29
nd it's called "connectby()" >> or something like that. > > Thanks...Ill look into that. Here, this link should help: Search PostgreSQL - Opera http://www.postgresql.org/search.cgi?q=connectby -- Randolf Richardson - [EMAIL

Re: [SQL] SQL a simple menu - plz help

2003-11-28 Thread Randolf Richardson, DevNet SysOp 29
nice clean and beautiful way? You're in need of the "CONNECT BY" option which is ideal for scenarios such as yours. Unfortunately PostgreSQL doesn't have it yet, but I believe there is a PLSQL script (or something like this) which emulates the CONNECT BY behaviour and it&#

Re: [SQL] Expressional Indexes

2003-11-28 Thread Randolf Richardson, DevNet SysOp 29
his avoids having to create a two-column index with a low-selectivity > column like "month". Thanks, both of you. I've got some re-thinking to do for this project I'm working on (since it's a low priority project at the moment, I've got plenty of time