gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] re searching scalars in text fields.


From: syan tan
Subject: [Gnumed-devel] re searching scalars in text fields.
Date: Mon, 27 Oct 2003 01:38:29 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313


gnumed-public=# select narrative from clin_history where to_number( substring( narrative from 'year:([0 -9]*)'), '9999' ) >= 1999;
narrative
-----------
---
 significant:1
 condition:wisdom tooth
 active:0
 year:1999
 laterality:none
 operation:0
 confidential:0
 notes:""
---
 significant:1
 condition:fractured femur
 active:0
 year:1999
 laterality:none
 operation:0
 confidential:0
 notes:skiing|colarado
(2 rows)

I wonder how long it would take on 10,000 records?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]