Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

SQL Syntax not supported in WD 22

$
0
0
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

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>