Our training courses

Other training resources

Our training venues

Why we are different

Details for SQLTrainee

SQLTrainee has participated in the following threads:

Added by SQLTrainee on 15 Oct 2020 at 09:51

Hello, I have used your query to calculate age. I am wondering how to sort the newly created AS field. When I am attempting to use a WHERE clause it  tells me "Conversion failed when converting the varchar value 'Age' to data type int.

The expression I used is the same formula you provided. At the end of my query I wanted to sort the results using

WHERE 'Age' > 20 ; 

and I get "Conversion failed when converting the varchar value 'Age' to data type int.

Head office

Kingsmoor House

Railway Street

GLOSSOP

SK13 2AA

London

Landmark Offices

99 Bishopsgate

LONDON

EC2M 3XD

Manchester

Holiday Inn

25 Aytoun Street

MANCHESTER

M1 3AE

© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.

End of small page here
Please be aware that our website uses cookies!
I'm OK with this Tell me more ...