Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:functions:position [2010/07/09 03:20]
els
dev:sql:functions:position [2016/06/28 22:38] (current)
Line 24: Line 24:
 ==== Example 1: Column ==== ==== Example 1: Column ====
  
-<​code ​SQL>+<​code>​
 > select name, position('​.'​ in name) pos from individuals;​ > select name, position('​.'​ in name) pos from individuals;​
  
Line 43: Line 43:
 The following example removes the salutation from the name. The following example removes the salutation from the name.
  
-<​code ​SQL>+<​code>​
 > select ​       trim( > select ​       trim(
 >> ​                ​substring(NAME >> ​                ​substring(NAME
Line 60: Line 60:
 KATHLEEN TUCKER KATHLEEN TUCKER
 </​code>​ </​code>​
 +====== Additional Resources ======
 +
 +See also:
 +{{page>​dev:​sql:​functions:​see_also_string&​nofooter&​noeditbtn&​noheader}}
 +
  
 {{page>:​bottom_add&​nofooter&​noeditbtn}} {{page>:​bottom_add&​nofooter&​noeditbtn}}
 
Back to top
dev/sql/functions/position.1278645651.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)