This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
dev:sql:functions:lpad [2009/12/07 14:24] tdo created |
dev:sql:functions:lpad [2012/10/26 14:28] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
| <html><div align="center"><span style="color:red">DRAFT</span></div></html> | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | ====== Omnidex SQL Function: CASE ====== | + | ====== Omnidex SQL Function: $LPAD ====== |
| {{page>:sql_bar&nofooter&noeditbtn}} | {{page>:sql_bar&nofooter&noeditbtn}} | ||
| ===== Description ===== | ===== Description ===== | ||
| The $LPAD function adds pad characters to the left of a character string up to the specified total length. | The $LPAD function adds pad characters to the left of a character string up to the specified total length. | ||
| - | The return data type is C STRING of length specified in the n parameter + 1. | + | The return data type is C STRING of length specified in the return_length parameter + 1. |
| ===== Syntax ===== | ===== Syntax ===== | ||
| $LPAD( <column_spec | 'string'> , return_length [ ,pad_character ] ) | $LPAD( <column_spec | 'string'> , return_length [ ,pad_character ] ) | ||