Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle character index

-- EXAMPLE
select 
	'0004V0' as TESTER
	, INSTR('0004V0','V') -- OUTPUT: 5
	, INSTR('0004V0','0') -- OUTPUT: 1
	, INSTR('0004V0','0',4) -- OUTPUT: 6
from DUAL;

-- SYNTAX
INSTR(/*Main string*/, /*substring*/, /*start index*/)
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql month name extract 
Sql :: postgres show current role 
Sql :: sql get table last modified time 
Sql :: oracle plan hash value 
Sql :: sql server list user permissions 
Sql :: mysql extract month 
Sql :: oracle split string 
Sql :: operadores en postgresql 
Sql :: change table to innodb mysql 
Sql :: how to describe a table in sqlite3 
Sql :: sql server loop over query 
Sql :: how to get table structure in sql server 
Sql :: conda install pymysql "windows" 
Sql :: group concat with separator 
Sql :: sql drop table statement 
Sql :: FIND OUT THE NAME HIGHEST SALARY SQL 
Sql :: sqlite version check 
Sql :: sql select only time from datetime 
Sql :: mysql select last row for each group 
Sql :: sous requete sql 
Sql :: oracle ora-00054 find 
Sql :: sql if null then 0 
Sql :: find difference in dates sql 
Sql :: désinstaller postgresql linux 
Sql :: mysql alter decimal precision 
Sql :: how to check if the view exists in sql server 
Sql :: how to create table in sql 
Sql :: brew start postgres manual 
Sql :: grant all privileges mysql 
Sql :: sql rank 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =