We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
SELECT DISTINCT CITY FROM STATION
WHERE CITY REGEXP '^[^aeiou]';
Can u please tell me whats the error in my query.
Its giving me a runtime error
Msg 4145, Level 15, State 1, Server WIN-ILO9GLLB9J0, Line 9
An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'.
Weather Observation Station 9
You are viewing a single comment's thread. Return to all comments →
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^aeiou]';
Can u please tell me whats the error in my query. Its giving me a runtime error
Msg 4145, Level 15, State 1, Server WIN-ILO9GLLB9J0, Line 9 An expression of non-boolean type specified in a context where a condition is expected, near 'REGEXP'.