• Marc G. Fournier's avatar
    |From: Keith Parks <emkxp01@mtcc.demon.co.uk> · 427a964c
    Marc G. Fournier authored
    |Subject: [PATCH] adding SYS_TIME just for fun.
    |
    |Hi,
    |
    |Whilst I was playing round with the European dates patch I noticed the sysfunc()
    |that allows you to do :-
    |
    |create table test ( da date);
    |insert into test values (SYS_DATE);
    |
    |and have the current system date inserted.
    |
    |So I thought it would be nice to have the SYS_TIME facility too.
    |
    |I've cloned the function and changed a few things and there you have it,
    |you can now do:
    |
    |create table test2 ( ti time);
    |insert into test2 values (SYS_TIME);
    427a964c
sysfunc.c 2.24 KB