This shows you the differences between two versions of the page.
dev:sql:functions:rj [2009/12/07 14:47] tdo created |
dev:sql:functions:rj [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
- | ====== Omnidex SQL Function: $RJ ====== | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | ===== Description ===== | ||
- | The $RJ function will right-justify a string by eliminating the trailing white space and inserting leading spaces as needed. | ||
- | The return data type is C STRING. | ||
- | ===== Syntax ===== | ||
- | $RJ(string) | ||
- | |||
- | string | ||
- | Required. The string that is to be right justified. This can be a string literal or other scalar_expression resulting in a string. | ||
- | ===== Example ===== | ||
- | ==== Example 1 ==== | ||
- | |||
- | select $LJ(company), $RJ(company) from customers where company='systems' | ||
- | |||
- | Dynamic Information Systems Corporation | ||
- | Dynamic Information Systems Corporation | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} |