Differences

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

Link to this comparison view

dev:sql:functions:lj [2009/12/07 15:27]
tdo created
dev:sql:functions:lj [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: $LJ ====== 
-{{page>:​sql_bar&​nofooter&​noeditbtn}} 
-===== Description ===== 
-The $LJ function will left-justify a string by eliminating the leading white space. 
  
-The return data type is C STRING. 
- 
-The return length is: 
- 
-the length of the string if the string is a C STRING column 
-the length of the string +1 if the string is a CHAR column or a literal. 
-===== Syntax ===== 
-$LJ( < column_spec | '​string'​ > ) 
- 
-== < column_spec | '​string'​ > == 
- 
-Required. The string that is to be left. 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'​ 
- 
-$LJ(CUSTOMERS.COMPANY) 
----------------------------------------------- 
- 
-$RJ(CUSTOMERS.COMPANY) 
----------------------------------------------- 
- 
-Dynamic Information Systems Corporation 
- 
-Dynamic Information Systems Corporation 
- 
-Camco Systems 
- 
-Camco Systems 
- 
-ASK Computer Systems, Inc. 
- 
-ASK Computer Systems, Inc. 
- 
-... 
- 
- 
-{{page>:​bottom_add&​nofooter&​noeditbtn}} 
 
Back to top
dev/sql/functions/lj.txt ยท Last modified: 2016/06/28 22:38 (external edit)