Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

“The string ‘xxx’ was not recognized as a valid DateTime” when converting DataWindow to data model – PB Docs 2022 – PowerBuilder Library

“The string ‘xxx’ was not recognized as a valid DateTime” when converting DataWindow to data model – PB Docs 2022

“The string ‘xxx’ was not recognized as a valid DateTime” when
converting DataWindow to data model

The following error occurs when generating the data model from the
DataWindow that uses the stored procedure as a data source.

Cause:

The stored procedure calls a function to set the value of its
parameter; while PowerServer failed to identify the data type of the
function and failed to generate the model.

For example, the following stored procedure is unsupported, as it
calls the getdate() function to set the parameter value:

Solution:

You can work around this error by assigning a null value to the
parameter, and then call the function later to assign a different value
to the parameter. For example, you can rewrite the above stored
procedure as below:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x