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 Both sides next revision
dev:sql:functions:lpad [2010/07/08 17:57]
els
dev:sql:functions:lpad [2010/07/08 20:58]
els
Line 25: Line 25:
 //In this example, the name must first be trimmed and since it is already padded with spaces.// //In this example, the name must first be trimmed and since it is already padded with spaces.//
  
-<​code ​SQL>+<​code>​ 
 +> SELECT $lpad(trim(name),​ 40, '​.'​) nme FROM individuals;​ 
 NME NME
 ---------------------------------------- ----------------------------------------
 
Back to top
dev/sql/functions/lpad.txt · Last modified: 2016/06/28 22:38 (external edit)