Hi,
I use SQL Server for my backend database with windev and it appears that WD 22 no longer allows certain SQL syntax that worked in previous versions.
1. using CONVERT in a SELECT statement now gives a syntax error.
example: CONVERT(int,Booking_passenger.Room_Number) AS Room_Number_Int,
In the above example the IDE gives an "unexepected word" error on the second ")".
2. Using DATEPART no longer works in a WHERE clause.
example: DATEPART(year, Booking_History.Departure_Date) = {pYearNUmber}
in the above example "year" gives the error "year item unknown in file".
I've contacted technical support but I wonder if anyone else has run into this?
Thanks
steve
I use SQL Server for my backend database with windev and it appears that WD 22 no longer allows certain SQL syntax that worked in previous versions.
1. using CONVERT in a SELECT statement now gives a syntax error.
example: CONVERT(int,Booking_passenger.Room_Number) AS Room_Number_Int,
In the above example the IDE gives an "unexepected word" error on the second ")".
2. Using DATEPART no longer works in a WHERE clause.
example: DATEPART(year, Booking_History.Departure_Date) = {pYearNUmber}
in the above example "year" gives the error "year item unknown in file".
I've contacted technical support but I wonder if anyone else has run into this?
Thanks
steve