MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » July 2014

Re: Sql View



fixed

You mean like this:
CREATE VIEW QTEMP/JTV AS SELECT MYTS, DATE(MYTS) AS MYDATE,
TIME(MYTS) AS MYTIME FROM QTEMP/JT
View JTV created in QTEMP.
INSERT INTO QTEMP/JT VALUES(CURRENT TIMESTAMP)
1 rows inserted in JT in QTEMP.
SELECT * FROM QTEMP/JTV
MYTS MYDATE MYTIME
2014-07-22-09.09.24.819218 2014-07-22 09:09:24

Rob Berendt





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact