functions
函式INITCAP()是將每個單詞的第一個字母大寫,其它字母變為小寫返回.
單詞由空格,控制字元,標點符號等非字母符號限制.
select initcap('hello world') from dual;
結果
INITCAP('HELLO WORLD')
-----------
Hello World
單詞由空格,控制字元,標點符號等非字母符號限制.
select initcap('hello world') from dual;
結果
INITCAP('HELLO WORLD')
-----------
Hello World
SELECT TRUNC(15.79,1) "Truncate" FROM DUAL; Truncate ---------- 15.7 SELECT TRUNC(15.79,-1) "Truncate" FROM DUAL; Truncate ---------- 10
The following example rounds a number to one decimal point:
SELECT ROUND(15.193,1) "Round" FROM DUAL; Round ---------- 15.2
SELECT ROUND(15.193,-1) "Round" FROM DUAL; Round ---------- 20
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26870952/viewspace-2151537/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Refactoring to FunctionsFunction
- Analytic Functions in OracleFunctionOracle
- Oracle WMSYS FunctionsOracleFunction
- graphite custom functionsFunction
- TypeScript 之 More on FunctionsTypeScriptFunction
- SQL Server SUBSTRING FunctionsSQLServerFunction
- SQL Server LEFT FunctionsSQLServerFunction
- Task04 :Variables and FunctionsFunction
- Oracle Pipelined Table Functions(轉)OracleFunction
- Swift-函式(Functions)Swift函式Function
- [Reactive] Run functions when data changesReactFunction
- Redis Functions 介紹之二RedisFunction
- Redis Functions 介紹之一RedisFunction
- Chainlink Functions 介紹 & 使用案例AIFunction
- css45 CSS Math FunctionsCSSFunction
- Standard Functions Used in SAP Retail with ArticlesFunctionAI
- Summary Functions and Maps(pandas學習三)Function
- [20240618]Oracle C functions annotations.txtOracleFunction
- [20191217]Oracle C functions annotations.txtOracleFunction
- 正式釋出!Azure Functions OpenAPI ExtensionFunctionAPI
- PostgreSQL DBA(39) - PG 12 Functions for partitionsSQLFunction
- Azure Functions(一)什麼是 ServerLessFunctionServer
- [20241016]Oracle C functions annotations補充.txtOracleFunction
- VS Code部署Teams webhook到Azure FunctionsWebHookFunction
- Kotlin如何優雅地使用Scope FunctionsKotlinFunction
- 微軟正式釋出Azure Functions 2.0微軟Function
- Task 04 變數與函式 Variables and Functions變數函式Function
- New Type Functions/Utilities for Dealing with Ranges in C++20FunctionC++
- [20190706]Same dog, different leash – functions in SQL.txtFunctionSQL
- PostgreSQL 視窗函式 ( Window Functions ) 如何使用?SQL函式Function
- underscore 系列之防衝突與 Utility FunctionsFunction
- Semantic Kernel入門系列:利用Handlebars建立Prompts functionsFunction
- 深入學習Semantic Kernel:建立和配置prompts functionsFunction
- presto官網閱讀記錄: Functions and Operators 部分RESTFunction
- 《Terraform 101 從入門到實踐》 Functions函式ORMFunction函式
- Semantic Kernel入門系列:利用YAML定義prompts functionsYAMLFunction
- EF.Functions是EF Core提供的函式功能Function函式
- Visual Studio 2019本地不能執行Azure FunctionsFunction