regex - SQL/Oracle: INSTR or REGEXP? -


i'm studying exam , don't one:

i want find cities in table ends ville, in charlottesville.

which 1 correct?

... instr(city,'ville') > 0;   or   ... regexp_substr(b,'ville$') = 'ville'  

which of these 2 it? , wrong other one?

regards jop


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -