Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Paul Brown — — source: Informix-list mailing list archive (1991-1998)
Paul Brown (pbrown@triplerock.Berkeley.EDU) wrote:
: INSERT INTO Dates
: SELECT DATE('01-01-1900') + (N1.Num * N2.Num) UNITS DAY
: FROM Numbers N1, Numerals N2
: WHERE N2.Num < 5;
Duh!
INSERT INTO Dates
SELECT DATE('01-01-1900') + N1.Num UNITS DAY
FROM Numbers N1
WHERE N1.Num <= 36600;
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.