Basic usage:Lpad functionFunction IntroductionThe Lpad function is an Oracle database function, and the Lpad function populates the string with the specified character from the left. From its literal meaning can also be understood, L is the left
Introduction to Functions
The Lpad function fills the string with the specified character from the left. It is also understandable from its literal meaning that L is the shorthand for left, the pad is the meaning of the padding, so the lpad is the
Lpad () function usage:
The lpad function fills the string on the left with some specific characters. The syntax format is as follows:
Lpad (string, n, [pad_string])
String: but a character or Parameter
N: the length of the character, which is the
http://blog.csdn.net/woshixuye/article/details/17262307First, Lpad functionThe Lpad function populates the left string with some specific characters with the following syntax: Lpad (string,n,[pad_string])StringCharacter or parameterNThe length of
Oracle lpad functions:
Copyright Notice: Mark the reprinted object with a hyperlinkArticleOriginal Source and author information andThis statementHttp://soysky.blogbus.com/logs/43623642.html
The Oracle lpad function fills the string on the left
--1. The Lpad function populates the left string with some specific characters whose syntax is formatted as follows:Lpad (String,n,[pad_string])--string: But the character or argument--N: The length of the character, is the number of strings
The Lpad function fills the string with the specified character from the leftbasic Syntax: Lpad (String, Padded_length, [pad_string])String : Preparing the filled stringsPadded_length: The length of the string after padding, that is, the length of
Lpad (string, padded_length, [pad_string])
String:Prepare the string to be filledPadded_length:String Length after fillingPad_string:Fill string, which is an optional parameter
Rpad: Fill from the right. The usage is the same as that of lpad.
1
Lpad 1. Grammar lpad (STRING,PAD_LENGTH,[PAD_STR])2. ExplanationThe function represents the padding of the specified character from the left of the string to the specified length. The space of the string is also counted into the length.String
The Lpad function fills the string with the specified character from the leftBasic syntax: Lpad (String, Padded_length, [pad_string])String: Preparing the filled stringsPadded_length: The length of the string after padding, that is, the length of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.