CharIndex | PatIndex | |
1 | Returns the Starting position of specified Expression in Character String. | Returns the Starting position of First Occurrence of a pattern in Specified Expression, Or Zeros if Pattern is not found. |
2 | In Charindex you can specify Start location. | In PatIndex you can not specify starting location. It will return you First Occurrence of a pattern |
3 | SELECT CHARINDEX(‘;’,’ Output : 8 It will give u position of Semicolon. | Example : SELECT PATINDEX(‘%A%’,’ Output : 7 It will give u position of First occurrence of A. |
Privacy Policy
-
Privacy Policy Effective date: March 08, 2019
PLSQL ("us", "we", or "our") operates the mobile application (the
"Service").
This page informs you of our po...
5 years ago
0 comments:
Post a Comment