It worked , Thank you
Στις Δευτέρα, 29 Οκτωβρίου 2018, 1:51:45 μ.μ. GMT-4, ο χρήστης Charles
Miller <[email protected]> έγραψε:
Try cast.
Chuck
On Mon, Oct 29, 2018 at 12:37 PM vagelis fallias via 4D_Tech
<[email protected]> wrote:
Hello,
I have the following statement from an external application to 4D via ODBC
var_SelectQuery = "select workorder, convert(prodstartdate,SQL_VARCHAR),
prodstarttime, planstarttime from workorders where workorder > 278000"
this used to work in v 6.8 but not in v16, it crashes. The problem is with the
convert, any ideas as to what the problem might be, what changed?
Thanks
Van Fallias
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************
--
-----------------------------------------------------------------------------------------
Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions,
Inc. Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D, Sybase & SQL Server connectivity
http://www.informed-solutions.com
-----------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under applicable
law. These materials are intended only for the use of the intended recipient.
If you are not the intended recipient of this transmission, you are hereby
notified that any distribution, disclosure, printing, copying, storage,
modification or the taking of any action in reliance upon this transmission is
strictly prohibited. Delivery of this message to any person other than the
intended recipient shall not compromise or waive such confidentiality,
privilege or exemption from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************