Jump to content

Advantage SQL Date Issue


bk171

Recommended Posts

Im new to Advantage SQL.  Our CRM system uses it.  Not a fan of it but have to live with it.  Im trying to pull a date out of a datetime field  and im struggling.

 

this is what im using and im getting errors.  Normally in TSQL id use cast/convert or something to accomplish this.

 

select CAST(created as date)
from matrstep

poQuery: Error 7200:  AQE Error:  State = S0000;   NativeError = 2159;  [SAP][Advantage SQL Engine]Invalid argument to scalar function: CAST - unrecognized data type: date. -- Location of error in the SQL statement is: 8

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...