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
- Oracle WMSYS FunctionsOracleFunction
- graphite custom functionsFunction
- Analytic Functions in OracleFunctionOracle
- SQL Server SUBSTRING FunctionsSQLServerFunction
- SQL Server LEFT FunctionsSQLServerFunction
- TypeScript 之 More on FunctionsTypeScriptFunction
- Swift-函式(Functions)Swift函式Function
- Oracle Pipelined Table Functions(轉)OracleFunction
- Task04 :Variables and FunctionsFunction
- Redis Functions 介紹之二RedisFunction
- Redis Functions 介紹之一RedisFunction
- [Reactive] Run functions when data changesReactFunction
- css45 CSS Math FunctionsCSSFunction
- Chainlink Functions 介紹 & 使用案例AIFunction
- Standard Functions Used in SAP Retail with ArticlesFunctionAI
- [20191217]Oracle C functions annotations.txtOracleFunction
- PostgreSQL DBA(39) - PG 12 Functions for partitionsSQLFunction
- Summary Functions and Maps(pandas學習三)Function
- [20240618]Oracle C functions annotations.txtOracleFunction
- 正式釋出!Azure Functions OpenAPI ExtensionFunctionAPI
- Azure Functions(一)什麼是 ServerLessFunctionServer
- 微軟正式釋出Azure Functions 2.0微軟Function
- [20241016]Oracle C functions annotations補充.txtOracleFunction
- Kotlin如何優雅地使用Scope FunctionsKotlinFunction
- VS Code部署Teams webhook到Azure FunctionsWebHookFunction
- underscore 系列之防衝突與 Utility FunctionsFunction
- 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
- Task 04 變數與函式 Variables and Functions變數函式Function
- 深入學習Semantic Kernel:建立和配置prompts functionsFunction
- Semantic Kernel入門系列:利用Handlebars建立Prompts functionsFunction
- presto官網閱讀記錄: Functions and Operators 部分RESTFunction
- 【ES6基礎】箭頭函式(Arrow functions)函式Function
- Semantic Kernel入門系列:利用YAML定義prompts functionsYAMLFunction
- EF.Functions是EF Core提供的函式功能Function函式
- 《Terraform 101 從入門到實踐》 Functions函式ORMFunction函式