portableSql
Left Portable SQL Function
Syntax
Left as C (Text as C, NumberOfCharacters as N)
Arguments
- TextCharacter
A field or value.
- NumberOfCharactersNumeric
The number of characters to extract.
Returns
- resultCharacter
Returns the specified number of leftmost characters from a field or value.
Description
Returns the specified number of leftmost characters from a field or value.
Discussion
The Left function extracts the specified number of leftmost characters from a field or value.
Left() function executed on the Northwind Access database
SELECT FIRST 1 Left(CompanyName,5) AS Expr1 FROM Customers =Alfre