String function

In this forum you can share stuff related to Oracle 11g, 10g, 9i.
Post Reply
dkandpal
Posts: 2
Joined: Thu Mar 08, 2007 4:30 pm
Location: India

String function

Post by dkandpal »

HI


I need to select all the records from a column that has exactly two 'A'. No matters where they appear in the atring.

Any predefined or new function can be used.

Kindly advice

Thanks
ahmadbilal
Posts: 615
Joined: Mon Sep 18, 2006 1:32 am
Location: United Arab Emirates
Contact:

Post by ahmadbilal »

use instr() function

The "in string" functions search string for substring. The function returns an integer indicating the position of the character in string that is the first character of this occurrence.


<b>http://www.psoug.org/reference/substr_instr.html</b>

<b>http://download-west.oracle.com/docs/cd ... 55a.htm</b>
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest