Quick Search:
 
 mySQL: Extract part of a string Jump to:  
Category: >> mySQL >> Extract part of a string  

<< lastnext >>

Snippet Name: Extract part of a string

Description: How to extract/select just part of a string.

Comment: (none)

Language: MYSQL
Highlight Mode: MYSQL
Last Modified: March 01st, 2009

SELECT name, SUBSTRING(name,4,2) 
FROM events WHERE event = 'violation'


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org