SQL Server LEFT Functions
LEFT(string, n)函式,是處理字元資料獲取子字串。第一個引數是將要處理的字串,第二個引數,是從字串的左邊開始擷取的字元個數。
例子:
DECLARE @string NVARCHAR(50) = 'Mr. John'
SELECT LEFT(@string,3) AS [New String]
結果:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/2471/viewspace-2806842/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SQL Server Left joinSQLServer
- SQL Server SUBSTRING FunctionsSQLServerFunction
- sql:left join和join區別SQL
- sql serverSQLServer
- Sql 中的 left 函式、right 函式SQL函式
- [20190706]Same dog, different leash – functions in SQL.txtFunctionSQL
- Moebius for SQL ServerSQLServer
- sql server 使用SQLServer
- SQL Server教程SQLServer
- 一個left join SQL 簡單優化分析SQL優化
- SQL SERVER優化SQLServer優化
- Nodejs 操作 Sql ServerNodeJSSQLServer
- SQL Server 別名(as)SQLServer
- sql server遞迴SQLServer遞迴
- Sql server with as update用法SQLServer
- SQL Server下載SQLServer
- SQL Server Unique ConstratintsSQLServer
- What is dbo in SQL Server?SQLServer
- ms sql server排序SQLServer排序
- SQL Server 替換SQLServer
- SQL Server 2008中Analysis Services的新特性——深入SQL Server 2008SQLServer
- SQL Server資料庫恢復,SQL Server資料恢復,SQL Server資料誤刪除恢復工具SQLRescueSQLServer資料庫資料恢復
- Sql_server基本操作SQLServer
- SQL SERVER 2008安全配置SQLServer
- SQL SERVER實用技巧SQLServer
- Microsoft SQL Server, Error: 15128 ()ROSSQLServerError
- SQL Server Management Studio (SSMS)SQLServerSSM
- High Availability (HA) in SQL ServerAISQLServer
- docker sql server安裝DockerSQLServer
- SQL Server 的死鎖SQLServer
- SQL Server 2019下載SQLServer
- SQL-Server筆記SQLServer筆記
- SQL Server大量插入 JavaSQLServerJava
- sql server 2019安裝SQLServer
- SQL Server 索引結構SQLServer索引
- SQL Server 審計(Audit)SQLServer
- sql-server檢視SQLServer
- functionsFunction