Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: about SYSDATE function
One way to cut down on repeated references to sysdate, user or whatever is to store these values into global variables when the web page is displayed or the value is initially required and then reference the globally defined values afterwords.
Frank Hubeny
Jonathan Lewis wrote:
>
> (It'll be nice when it is corrected - there is a webserver
> system I support where the most expensive statement
> is SELECT SYSDATE FROM DUAL, and the second
> is SELECT USER FROM DUAL).
>
Received on Tue Apr 03 2001 - 02:44:51 CDT