Why use Left ()Function in SQL Server
Microsoft Net Framework

1.Left () Function

The LEFT() function extracts a substring from a string (starting from left).

Queries & Examples

If we want to Trim left side string words by Numbers

1.

Select Left(FirstName ,3)As FirstName

From users_tbl

When we Execute the Query it give us result like this

For Example there is 3 FirstName in Table 

Abid ,Jamal,Hanif

It give us Left 3 substring

1.Abi

2.Jam

3.Han

 

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM
03
07

New Messages

George Floyd
  • Edit Post Edit This Post within a Hour
  • Hide Chat Hide This Post
  • Delete Chat If inappropriate Post By Mistake
  • Report Inappropriate Chat
  • 4.5kb
  • Hi James! Please remember to buy the food for tomorrow! I’m gonna be handling the gifts and Jake’s gonna get the drinks
  • Hi James! Please remember to buy the food for tomorrow! I’m gonna be handling the gifts and Jake’s gonna get the drinks
  • Hi James! Please remember to buy the food for tomorrow! I’m gonna be handling the gifts and Jake’s gonna get the drinks