Septanet Forum  

Go Back   Septanet Forum > Computers, Software, Harware, Information Technology > MySQL

Reply
 
LinkBack Thread Tools Display Modes
Old 25-08-2011, 10:22 AM   #1
Senior Member
 
harry's Avatar
 
Join Date: Aug 2011
Posts: 103
Default Basic mysql string functions

Find the some basic mysql String Functions which we can use in our queries for better performance and efficiency

1) CONCAT() Return concatenated string

2) FIELD() Return the index (position) of the first argument in the subsequent arguments.
3) LTRIM() Remove leading spaces
4) RIGHT() Return the specified rightmost number of characters.
5) RTRIM() Remove trailing spaces.
6) SUBSTRING() Return the substring as specified.
7) UPPER() Convert to uppercase.
8) LENGTH(str) for check the length of string.
9) LPAD() Return the string argument, left-padded with the specified string
10) SPACE() Return a string of the specified number of spaces.
harry is offline  
Digg this Post!Bookmark Post in Technorati
Reply With Quote
Old 25-08-2011, 10:46 AM   #2
Senior Member
 
sharma.s.prakash's Avatar
 
Join Date: Aug 2011
Posts: 110
Smile

thanks for sharing
sharma.s.prakash is offline  
Digg this Post!Bookmark Post in Technorati
Reply With Quote
Old 25-08-2011, 12:12 PM   #3
Senior Member
 
harry's Avatar
 
Join Date: Aug 2011
Posts: 103
Default

thanks satttttttttttttttttttttu
harry is offline  
Digg this Post!Bookmark Post in Technorati
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 12:40 PM.


Content Relevant URLs by vBSEO 3.5.0 RC2