I want a db2 query to which satisfy the following condition?

Try LIKE with '%''%' Sadly SQL's LIKE statement doesn't offer advanced RegEx functionality (Though that might be different for db2). But after you've filtered your results like that, you can do the fine-grained checking by using a script or as part of your application. EDIT As you wrote that you have restrictions regarding the % sign at the beginning of the statement you could try something complicated like: 'a''%' OR 'b''%' OR ... 'A''%' OR 'B''%' ... Not very beautiful code, but effective.

It works though, but I don't want to have % at the beginning. – GuruKulki Apr 1 at 7:48 @GuruKulki: Why, doesn't it work for some records, please be more specific. – das_weezul Apr 1 at 7:52 I have some restriction on using % at the beginning like your answer, which works perfectly but I cannot use.

– GuruKulki Apr 1 at 7:59 @GuruKulki: OK, see my updated answer for another suggestion – das_weezul Apr 1 at 8:09.

I hope this is what you are looking for . Kindly read the post. DB2 database, regexp is not supported (without additional libraries).

Emulate REGEXP like behaviour in SQL.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions