|
Hello Ron, I do not think you can use a function that way on a SET statement. Perhaps SET STSTRDT = year(2000) may work. Regards. Carel Teijgeler ======= At 2002-08-01, 13:39:00 you wrote: ======= >We are trying to do a update to a date type field thru strsql. > >The statement is shown below. However we keep getting the error that it is >invalid. We just want to update the year portion of that date datatype >field. > >UPDATE rcaprjh/RCDSC SET year(STSTRDT) = 2000 >Token ( was not valid. Valid tokens: =. = = = = = = = = = = = = = = = = = = = =
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.