-
LIKE operator Alternative
Hi,
I am trying to use an alternative for LIKE operator.
can any one help me changing this
Tmast.Pods_Dataset_Ids Like '%;' || Pd.Pods_Dataset_Id || ';%';
to
an REGEXP_LIKE
-
Originally Posted by adityareddy
I am trying to use an alternative for LIKE operator.
can any one help me changing this
Tmast.Pods_Dataset_Ids Like '%;' || Pd.Pods_Dataset_Id || ';%';
to
an REGEXP_LIKE
something like... REGEXP_LIKE( Tmast.Pods_Dataset_Ids , ';Pd.Pods_Dataset_Id;' )
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
-
You can also use a contextual index, where you can use the contains filter as well.
http://docs.oracle.com/cd/B19306_01/...b14217/ind.htm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|