× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I got it to work by updating that timestamp field as string. Not the
best thing but it works.

thanks

________________________________

From: Lim Hock-Chai
Sent: Monday, December 27, 2010 2:24 PM
To: RPG programming on the AS400 / iSeries
Subject: how to set value of a timestamp field in mysql table to 0 -
using Scott K's JDBC_SetTimestamp


I've a need to use JDBC_SetTimestamp function in JDBCR4 service program
to set/update the value of a timestamp field in a mysql table to 0?
Appearantly, 0000-00-00 00:00:00 is a valid value and it means the same
as null in mysql. Does anyone know how I can do that using Scott K's
JDBCR4 service program?


thanks




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.