Search
 
SCRIPT & CODE EXAMPLE
 

SQL

find last instance of character in string mysql

SELECT SUBSTRING_INDEX("first_middle_last", '_', -1);
Comment

mysql get last character of string

select right(columnname,1) as TEST from Testtable;
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql slave status 
Sql :: postgres delete database 
Sql :: sql count duplicate rows 
Sql :: alter table add foreign key mysql 
Sql :: oracle truncate partition 
Sql :: file /etc/init.d/mysql not exists 
Sql :: how to get non distinct values in sql 
Sql :: import database through command line 
Sql :: mysql count grouped rows 
Sql :: The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 
Sql :: psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" f 
Sql :: oracle alter sequence nextval 
Sql :: sql delete last row 
Sql :: oracle detect invalid password 
Sql :: generate random data postgresql 
Sql :: sql reset auto increment 
Sql :: oracle sql assign unique number to each grouping 
Sql :: mysql random number between 1 and 100 
Sql :: dual table in aql 
Sql :: load mysql dumb 
Sql :: oracle nls session 
Sql :: display users in mysql 
Sql :: rows to comma separated values in mssql 
Sql :: oracle current timestamp insert statement 
Sql :: update data with random values postgres 
Sql :: sql server count all tables rows 
Sql :: drop table sql 
Sql :: mysql reset auto increment id 
Sql :: ilike for date postgres 
Sql :: get week day name sql server 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =