Re: datetime insertion problems
Posted in 1995
Stephen C. Dickey (scdickey@corbsys.com) wrote:
: I am trying to insert data into a field defined as DATETIME <YEAR to SECOND>
: and am trying to insert the following value:
: '1995-08-17 08:00:00'
: It used to work in OnLine verison 7.1 but does not seem to work in OnLine
: version 5.x. Is this a valid value for insetion under version 5? If not how
: do I insert the data in a correct format?
The following worked fine for me using 5.03.UC1 on HPUX A.09.00:
CREATE TABLE try (try DATETIME YEAR TO SECOND);
INSERT INTO try VALUES ('1995-08-17 08:00:00');
INSERT INTO try VALUES ("1995-08-17 08:00:00");
Also tried the same INSERTs in 4GL (RDS 4.11.UC2) with no problems.
o specific version?
o platform-dependant bug?
=======================================================================
Dennis J. Pimple dennisp@informix.com Opinions expressed
Senior Consultant -------------------- are mine, and do not
Informix Software Inc Voice: 303-850-0210 necessarily reflect
Denver Colorado USA Fax: 303-779-4025 those of my employer.