Home
Search results “Trunc with number in oracle”
SQL 12c Tutorial 11 : SQL  Numeric Functions ROUND TRUNC MOD
 
04:23
SQL 12c Tutorial 11 : SQL Numeric Functions ROUND TRUNC MOD SQL Tutorial for beginners Oracle SQL 12c Tutorial for beginners ROUND TRUNC MOD
Views: 1326 TechLake
Round and Truncate in SQL | Round and Truncate function in MYSQL | Round and Truncate in DBMS |
 
11:03
This video contains how the Round () and Truncate( ) works. Both are the functions . Both has some similarity and some dissimilarity.Both works same if we use negative number after the comma where as both works differently if we use positive number after the comma. Sometimes its really difficult to understand the concept of round and truncate. In this video both are explained with the help of diagram. This video will help to understand how both of them works exactly. Please leave your comments
Views: 6666 GABS CLASSES
round(), trunc() and mod() function in oracle || number function in oracle
 
07:24
this tutorial in easy way to understand how to use round(), trunc() and mod() function. created by: Easy Way Coding. this channel is about oracle database language all course. some videos of this tutorial related is link below. https://www.youtube.com/watch?v=09yuKAT4wSk https://www.youtube.com/watch?v=Z3XxZ3NUjf8&t=28s #oracletutorial #roundfunction #truncfunction #modfunction #oracledatabasetutorial #oraclesql
Views: 129 EasyWay Coding
SQL Tutorial - 34: ROUND() Function
 
06:51
In this tutorial we'll see how we can round off numbers conveniently in SQL using the ROUND() Function/
Views: 38249 The Bad Tutorials
Oracle TRUNC: Number function
 
01:23
Oracle ROUND: Number function: https://www.youtube.com/watch?v=eWm_jON6NUI&index=1&list=PLjBraywgeSpHfYFw3HbwWLdThGzwNGDSR Oracle MOD: Number function: https://www.youtube.com/watch?v=eMGgo_1y6b4&list=PLjBraywgeSpHfYFw3HbwWLdThGzwNGDSR&index=3 The usage of SELECT Playlist: https://www.youtube.com/watch?v=ZwgiIiD1dWE&list=PLjBraywgeSpEW2f7AK4Ddt6BRxW0HWN74
Excel Trunc Function Tutorial
 
01:55
http://www.computergaga.com/blog/how-to-use-the-trunc-function-in-excel/ Excel Trunc function tutorial. How to use the Trunc function in Excel to truncate numbers in a spreadsheet by a set decimal places.
Views: 16046 Computergaga
Oracle Tutorial - Numerical/Math Functions TRUNC | MOD
 
08:37
Oracle Tutorials: Numric/Math Functions TRUNC and MOD
Views: 111 Tech Acad
Oracle COUNT Function
 
04:43
https://www.databasestar.com/oracle-count/ The Oracle COUNT function is used to count the number of rows from the column, or number of values, provided to it. It’s commonly used to find the number of rows returned by a SELECT query. The syntax of the COUNT function is: COUNT ( [ * | [ DISTINCT | ALL ] expression) [ over (analytic_clause) ] There’s a lot of square brackets here, indicating optional parameters and choices. This just means you can use the COUNT function in a few different ways: COUNT(*) COUNT(DISTINCT expression) COUNT(ALL expression) COUNT(*) OVER (analytic_clause) COUNT(DISTINCT expression) OVER (analytic_clause) COUNT(ALL expression) OVER (analytic_clause) It can be used as an aggregate or analytic function. The parameters of the COUNT function are: - expression: The expression to count the values of. This can be a column or a set of values, for example. - analytic_clause: This is used to specify the criteria for an analytic query. COUNT(*) is the most common way to use this function, I’ve found. As COUNT(*) is an aggregate function, like all aggregate functions the columns mentioned in the SELECT clause need to exist in the GROUP BY clause. NULL values are ignored by COUNT(expression), but they are counted when using COUNT(*). COUNT(*) has the exact same calculation and performance as COUNT(1). For more information about the Oracle COUNT function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-count/
Views: 602 Database Star
Oracle Tutorial - Date Functions NEXT_DAY | LAST_DAY
 
07:13
Oracle Tutorials - Date Functions NEXT_DAY( ) | LAST_DAY( )
Views: 285 Tech Acad
Oracle Tutorial - Conversion Functions TO_DATE | TO_CHAR | TO_NUMBER
 
17:24
Oracle Tutorials - Conversion Functions TO_DATE() | TO_CHAR() | TO_NUMBER()
Views: 2203 Tech Acad
LISTAGG Analytic Function in Oracle Database
 
03:01
This video gives a quick demonstration of the LISTAGG Analytic function introduced in Oracle database 11g Release 2. For more information see: LISTAGG Analytic Function in 11g Release 2 https://oracle-base.com/articles/misc/string-aggregation-techniques#listagg LISTAGG Function Enhancements in Oracle Database 12c Release 2 (12.2) https://oracle-base.com/articles/12c/listagg-function-enhancements-12cr2 LISTAGG DISTINCT in Oracle Database 19c https://oracle-base.com/articles/19c/listagg-distinct-19c Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Michael Rainey : Blog: https://medium.com/@mRainey Twitter : https://twitter.com/mRainey Cameo appearances are for fun, not an endorsement of the content of this video. All trademarks, product names and logos are the property of their respective owners.
Views: 516 ORACLE-BASE.com
Oracle || Date functions Part-1 by dinesh
 
17:06
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS ,ADF,INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo......
Oracle MOD Function
 
03:17
https://www.databasestar.com/oracle-remainder-mod/ The Oracle MOD function performs a “modulo division” on the numbers you specify. A modulo division is where a division is performed using two numbers, and the remainder is returned by the function. For example, the division of 8/5 is 1.6. Using modulo division, 8/5 will work out there is one 5 contained in the 8, with 3 left over. The MOD function would return 3 in this example. The syntax of the MOD function is: MOD(numerator, denominator) The numerator is the number mentioned first in the division, or the one that is on top of the division sign. In a division such as 15/4, this would be the 15. The denominator is the number mentioned second in the devision, or hte one that is on the bottom of the division sign. In a division such as 15/4, this would be the 4. The parameters can be any numeric data type, and the return type depends on these parameters. This means MOD can return a whole number or a decimal number. The calculation for the Oracle MOD function is: numerator - denominator * FLOOR(numerator / denominator). If the denominator is 0, the function returns the value of the numerator. This is done to prevent “divide by 0” errors. For more information about the MOD function, including how to return every second row, how it’s different to REMAINDER, and to see the SQL code used in these examples, read the related article here: https://www.databasestar.com/oracle-remainder-mod/
Views: 1222 Database Star
Oracle SQL, PL/SQL, Select Kullanımı ve Eğitimi 4 - select, round, trunc, floor, ceil
 
08:01
Oracle SQL, PL/SQL, Select Kullanımı ve Eğitimi 4 - select, round, trunc, floor, ceil, oracle select statement, oracle select education, PL/SQL Beğendiyseniz Beğen Butonuna basmayı ve Abone olarak destek olmayı unutmayın.
Views: 230 Taner TOPCU
Oracle TO_CHAR Function
 
04:13
https://www.databasestar.com/oracle-to_char/ The Oracle TO_CHAR function is a common and useful string manipulation function. It allows you to convert a number or a date value into a string value. It allows you to take a number or a string, and convert it to a VARCHAR2 data type. The syntax of the function is: TO_CHAR( input_value, [format_mask], [nls_parameter] ) The parameters are: - input_value: this is the value to convert to a VARCHAR2 value. It can be one of many different number or date data types. - format_mask is an optional parameter and allows you to specify the format to display the output as. If this is omitted, the function uses a default format. - nls_parameter: this is also optional and lets you determine a regional parameter for displaying the output value. The format mask helps you determine what your output is displayed as. For example, if you provide the date of May 3rd, and the output is ‘03/05/2018’, how do you know if this is May 3rd or March 5th? Using a format mask can specify which format is used. The function is similar to the TO_NUMBER and TO_DATE functions, in that they both convert a specific data type. For more information about the Oracle TO_CHAR function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-to_char/
Views: 1667 Database Star
mod, power  sqrt & trunc | sql functions | oracle database 11g version 2 |
 
07:19
executed in oracle database 11g version 2
Views: 329 Education 4u
Função Oracle TRUNC
 
04:47
Acesse o desafio: http://novidades.aprendaplsql.com/15-dias-de-funcoes-oracle A função TRUNC faz o arredondamento para baixo de todos os valores e ela pode receber como parâmetro principal de entrada tanto um campo do tipo NUMBER como um DATE! SELECT first_name, salary / 2.7, round(salary / 2.7) AS ROUND, trunc(salary / 2.7) AS TRUNC FROM hr.employees WHERE job_id ='IT_PROG'; SELECT first_name, salary / 2.7, round(salary / 2.7, 2) AS ROUND, trunc(salary / 2.7, 2) AS TRUNC FROM hr.employees WHERE job_id ='IT_PROG'; SELECT first_name, hire_date, round(hire_date, 'MONTH') AS ROUND, trunc(hire_date, 'MONTH') AS TRUNC FROM hr.employees WHERE job_id ='IT_PROG'; SELECT first_name, hire_date, round(hire_date, 'DAY') AS ROUND, trunc(hire_date, 'DAY') AS TRUNC FROM hr.employees WHERE job_id ='IT_PROG'; SELECT first_name, hire_date, round(hire_date, 'YYYY') AS ROUND, trunc(hire_date, 'YYYY') AS TRUNC FROM hr.employees WHERE job_id ='IT_PROG'; Vídeo Função ROUND https://youtu.be/TIwy9AthJf8 Veja os outros vídeos da nossa Playlist https://www.youtube.com/watch?v=PjaBYIwXf8c&list=PLMaqczuL07LkjrX6Rvx6TdNM-1nbUKG8p
Views: 836 Aprenda PL/SQL
Oracle TO_NUMBER Function
 
02:42
https://www.databasestar.com/oracle-to_number/ The Oracle TO_NUMBER function is used to convert a text value into a number value. It’s similar to TO_CHAR and TO_DATE, but converts a value to a number. The number will also be rounded to a specified number of digits, and returned as a NUMBER value. The syntax is: TO_NUMBER( input_value, [format_mask], [nls_parameter] ) The input_value is the value to be converted to a number. Commonly this is provided as a string (e.g. CHAR or VARCAHR2) but can be several other data types as well. The format_mask is the format that the output value should be displayed as. It must be a valid number format. This is an optional value. The final parameter, nls_date_language, is used to work out how the output is displayed, such as how to display currency symbols. It’s also an optional value. For more information about the Oracle TO_NUMBER function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-to_number/
Views: 2667 Database Star
Truncate Numbers In Excel
 
01:11
Truncate Numbers In Excel Watch more videos for more knowledge How to Truncate Excel 2007 Data - YouTube https://www.youtube.com/watch/-2mHaMD_tCM Excel Trunc Function Tutorial - YouTube https://www.youtube.com/watch/LOqMKliIYGU Rounding and truncating No. 1 in Microsoft Excel ... https://www.youtube.com/watch/hT-P6TzvCtw Cutting numbers off using the TRUNC function in ... https://www.youtube.com/watch/6Mtw9pLTgLE Decimal Places How To Round Numbers In Excel ... https://www.youtube.com/watch/ux_7pZdQFfs How to truncate cell value in excel - YouTube https://www.youtube.com/watch/EahdAAAPGn0 Fix: Excel truncating 16 digit numbers - YouTube https://www.youtube.com/watch/xAVbBXMOuiE How to use the TRUNCATE Function in MS Excel ... https://www.youtube.com/watch/ICIzRKmufDY How to Trim or Remove Text in Excel - YouTube https://www.youtube.com/watch/e3id-5YcRgM Excel 2013 Tutorial#66 TRUNC Function in Excel ... https://www.youtube.com/watch/Eh6_ZaV-VMU How To Truncate Number OR Text String In Excel ... https://www.youtube.com/watch/TfcJhj4xIWo EXCEL - FUNCTIONS TRUNC TRIM AND VALUE ... https://www.youtube.com/watch/M3X_urc2vqo Excel Trick - How To Remove Selected Digit From ... https://www.youtube.com/watch/kDmOu1J3tk8 Microsoft Excel - Truncate a string of text in a cell ... https://www.youtube.com/watch/gYMytk5n1zw Rounding Numbers and Removing Decimals in ... https://www.youtube.com/watch/6glTBUBE7EU Excel TRUNC Function - How to use TRUNC ... https://www.youtube.com/watch/xBDmBZthmoY How to Drop Decimal Places Without Rounding in ... https://www.youtube.com/watch/qBgoTgHKpFU How to Format Excel Number in Thousands - YouTube https://www.youtube.com/watch/d-PqtG9IBB0 Excel magic trick 29 bangla - ROUND & TRUNC ... https://www.youtube.com/watch/YUQMU2MRj0M OpenOffice Calc 4 Tutorial 7 - Rounding And ... https://www.youtube.com/watch/1WdeuCEZyCk
Number Functions ROUND TRUNCATE MOD: SQL Tutorial 33
 
00:48
Please watch: "Install Oracle Database 12c Release 2 on Windows 10 Professional 64 bit" https://www.youtube.com/watch?v=5705VFJmku0 -~-~~-~~~-~~-~-
Views: 268 Solution Wizard
Using Select (6) and Decode,NVL,ROUND,TRUNC,MONTHS_Between,SubStr,Instr
 
11:30
Beginner lessen for Oracle statement with Single row function
Views: 1634 Harith Jawad
Use of TRUNC function on Date columns on SQL
 
02:17
Use of TRUNC function on Date columns on SQL
Views: 70 TUTOR SC
Oracle ROUND: Number function
 
03:48
Oracle TRUNC: Number function https://www.youtube.com/watch?time_continue=3&v=4lchx4sseEM Oracle MOD: Number function https://www.youtube.com/watch?v=eMGgo_1y6b4&feature=youtu.be The usage of SELECT Playlist: https://www.youtube.com/watch?v=ZwgiIiD1dWE&list=PLjBraywgeSpEW2f7AK4Ddt6BRxW0HWN74
Oracle MOD: Number function
 
01:09
Oracle ROUND: Number Function https://www.youtube.com/watch?v=eWm_jON6NUI Oracle TRUNC: Number function https://www.youtube.com/watch?time_continue=3&v=4lchx4sseEM The usage of SELECT Playlist: https://www.youtube.com/watch?v=ZwgiIiD1dWE&list=PLjBraywgeSpEW2f7AK4Ddt6BRxW0HWN74
Oracle - SQL - Date Functions
 
07:56
Oracle - SQL - Date Functions Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited.
Rounding and Truncating
 
03:00
Views: 20604 Mary Bickel
36. Number Functions in Oracle
 
06:55
In this video you will learn about Number Functions in Oracle. Unlike other programming language Oracle also uses functions to perform common operations. For Support =========== Email: [email protected] Contact Form: http://www.learninhindi.com/home/contact Our Social Media ================ Facebook: https://www.facebook.com/LearnInHindi Twitter: https://twitter.com/LearnInHindi For Training & Videos ===================== For more videos and articles visit: http://www.learninhindi.com Free Java Programming In Hindi Course ===================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAwwhMyoLISrxkXTADGp7PH Free Oracle PL/SQL Programming In Hindi Course ============================================== https://www.youtube.com/playlist?list=PLB5DA82419C2D99B6 Free C Programming In Hindi Course ================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAxKpBLMWogxSdy6BZcsAJq Trips & Tricks Channel ====================== https://www.youtube.com/channel/UCGmLfkuCo-3lHHJXRJ9HUMw Programming in Hindi Channel ============================ https://www.youtube.com/channel/UCudElIDgwNrybeAvXIy1HZQ
Views: 17743 ITORIAN
Truncate function of MySQL in hindi
 
05:17
This video is made especially for students of class XI-XII who have opted Informatics Practices and Computer Science as a subject under the CBSE curriculum. In this, the structure of the CBSE exam paper is discussed and tips are given on how to crack this exam for the subject IP and C++. Contact Me : +91 8800873871 Mail Us : [email protected] Notes link:- https://csandip.blogspot.com/ Google maps:- https://maps.google.com/?cid=7786917265893947860 Must check and give a review
Views: 2232 ROHIT SINGH
TRUNC Function in SQL in HINDI
 
04:41
Its all about"TRUNC Function" in SQL ,it helps to you that how can iused "TRUNC Function in SQL with example in details.....
Views: 664 Technical Aashique
Oracle SQL Video Tutorial 17 - TRUNC function
 
02:16
Oracle SQL Video Tutorials 17 - TRUNC function explained
Views: 3737 Just Channel
Delete vs Truncate vs Drop :Oracle Interview Questions - Part 3
 
19:04
Delete, Truncate and Drop all can be used to remove the contents of a table but they have significant differences and unique properties. While Delete is a DML statement, truncate and DROP are DDL. Delete can be used to remove partial/Selective data. While truncate removes the entire content of the table.
Views: 1537 Tech Coach
trunc(sysdate-1)
 
03:49
Views: 166 matthew naquin
85. ROUND Function in SQL (Hindi)
 
03:22
Please Subscribe Channel Like, Share and Comment Visit : www.geekyshows.com
Views: 8792 Geeky Shows
Oracle SQL Practical question SQL to Find number of saturday and sunday
 
08:46
Oracle SQL Practical question SQL to Find number of saturday and sunday https://sivakacademy.blogspot.com/2019/05/sql-to-find-number-of-saturday-and.html Click here to subscribe to my youtube channel http://www.youtube.com/channel/UCBt6VrxAIb5jLh9HLDcdwtQ?sub_confirmation=1 Oracle Interview questions and Answers at https://www.youtube.com/playlist?list=PLb1qVSx1k1Vr0v4wVyvT3GEuA0J0M4xBm Oracle 18C New features at https://www.youtube.com/playlist?list=PLb1qVSx1k1Vqe06V1tIBcvnslMPWX69bW Oracle 12C New features at https://www.youtube.com/playlist?list=PLb1qVSx1k1VqM1u2IHWzZIgziqejl6wx- Oracle PLSQL records and collections at https://www.youtube.com/playlist?list=PLb1qVSx1k1VpAFTXopXvAh_D3PLcTntdm
Views: 650 Siva Academy
Tutorial#49 How to use  ROUND Function in Oracle SQL Database|Number Function in Oracle Database
 
03:20
ROUND function returns a number rounded to a certain number of decimal places or Numeric Functions - Ceil, Floor, Round, mod, replace, power or How to use Power function in SQL or what is the numeric function oracle SQL database Assignment link will be available soon: In this series we cover the following topics: SQL basics, create table oracle, SQL functions, SQL queries, SQL server, SQL developer installation, Oracle database installation, SQL Statement, OCA, Data Types, Types of data types, SQL Logical Operator, SQL Function,Join- Inner Join, Outer join, right outer join, left outer join, full outer join, self-join, cross join, View, SubQuery, Set Operator. follow me on: Facebook Page: https://www.facebook.com/LrnWthr-319371861902642/?ref=bookmarks Contacts Email: [email protected] Instagram: https://www.instagram.com/equalconnect/ Twitter: https://twitter.com/LrnWthR
Views: 90 EqualConnect Coach
Tutorial#11 How to Truncate Table in Oracle SQL database by rakesh malviya
 
06:01
Tutorial How to truncate table in Oracle database, delete data in one shot in Oracle SQL Oracle SQL Practice Question : https://drive.google.com/open?id=1SekH0DL5zg0eTsG0lZ4JUHaLTEJDdcVN In this series we cover the following topics: SQL basics, create table oracle, SQL functions, SQL queries, SQL server, SQL developer installation, Oracle database installation, SQL Statement, OCA, Data Types, Types of data types, SQL Logical Operator, SQL Function,Join- Inner Join, Outer join, right outer join, left outer join, full outer join, self-join, cross join, View, SubQuery, Set Operator. follow me on: Facebook Page: https://www.facebook.com/LrnWthr-319371861902642/?ref=bookmarks Contacts Email: [email protected] Instagram: https://www.instagram.com/lrnwthr/ Twitter: https://twitter.com/LrnWthR
Views: 248 EqualConnect Coach
33. Column Format in Oracle
 
03:41
In this video you will learn about Column Formatting. I will show you how we can format the numeric column to use comma (,) to separate thousand etc. I will also show you how we can trunc string to show first 3 words etc. For Support =========== Email: [email protected] Contact Form: http://www.learninhindi.com/home/contact Our Social Media ================ Facebook: https://www.facebook.com/LearnInHindi Twitter: https://twitter.com/LearnInHindi For Training & Videos ===================== For more videos and articles visit: http://www.learninhindi.com Free Java Programming In Hindi Course ===================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAwwhMyoLISrxkXTADGp7PH Free Oracle PL/SQL Programming In Hindi Course ============================================== https://www.youtube.com/playlist?list=PLB5DA82419C2D99B6 Free C Programming In Hindi Course ================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAxKpBLMWogxSdy6BZcsAJq Trips & Tricks Channel ====================== https://www.youtube.com/channel/UCGmLfkuCo-3lHHJXRJ9HUMw Programming in Hindi Channel ============================ https://www.youtube.com/channel/UCudElIDgwNrybeAvXIy1HZQ
Views: 17020 ITORIAN
Oracle Tutorial || Oracle|Sql Functions Part - 5 by basha
 
33:25
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS ,ADF,INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo......
Oracle GREATEST Function
 
02:43
https://www.databasestar.com/oracle-greatest/ The Oracle GREATEST function is a useful function, but I don’t think it’s very well understood. It returns the greatest or largest value in a set of values. You can provide the values, and use numbers or text values. The syntax for the Oracle GREATEST function is: GREATEST(expr1 [, expr_n]) The expr1 is the first expression to use for your comparison. Expr_n is one or more expressions to use in the comparison, separated by commas. This is optional. So how is GREATEST calculated? If the parameters are numeric, the GREATEST function finds the largest number. If the parameters are characters, the function finds the latest value if they were sorted alphabetically (using their character values). What data type is returned? It depends on the parameters you provide. It could be the same as the parameters you provide, or VARCHAR2 if the parameters are all characters. You can also use the GREATEST function with dates. It’s also the opposite of the LEAST function. For more information on the GREATEST function, including the SQL used in this video and the examples, read the related post here: https://www.databasestar.com/oracle-greatest/
Views: 338 Database Star
Oracle FLOOR Function
 
01:49
https://www.databasestar.com/oracle-ceil/ The Oracle FLOOR function will return the largest integer value less than the specified number. In other words, it rounds down to the nearest whole number. It’s the opposite of the CEIL function, which rounds up. The syntax of FLOOR is: FLOOR(number) The number parameter can be any numeric data type. The function will return a number in the same data type as the parameter. So, you can use FLOOR with decimal numbers, which is actually where FLOOR works best. You can use it with whole numbers too. It won’t show an error, it just might display the same value as provided (e.g. FLOOR(5) would be 5). You can also use functions inside FLOOR. For example, FLOOR(SUM(salary)) will SUM all of the salary values, and then round them down to the nearest whole number. Just like with all functions, the Oracle FLOOR function can also use column aliases. So, instead of having your column labelled “FLOOR(8.12)” or “FLOOR(salary)”, you can label your column “salary_rounded” or something that makes more sense. The FLOOR function is similar to the ROUND function. However, ROUND will round up or down, where FLOOR will always round down. The TRUNC function will also do some kind of rounding, but it removes decimals from a number which may cause it to “round” down. For more information, including the code used in the examples, read the related article here: https://www.databasestar.com/oracle-ceil/
Views: 585 Database Star
ORACLE SQL Tutorial to get Years of Experience
 
17:26
In this video, we will see how add_months, months_between can be used to get Years of work experience for an employee. SQL used in this video are given below. select add_months(sysdate,2) from dual; select months_between(sysdate,to_date('22082016','ddmmyyyy') ) from dual; select trunc(months_between(sysdate,to_date('22082016','ddmmyyyy') )) from dual; select mod(16,12) from dual; select * from employees; SELECT first_name,hire_date, trunc(months_between(SYSDATE,hire_date)) mnths_between from employees; 12 months = 1 year SELECT first_name,hire_date, trunc(months_between(SYSDATE,hire_date)) mnths_between, trunc(months_between(SYSDATE,hire_date)/12) years, trunc(months_between(SYSDATE,hire_date)) - trunc(months_between(SYSDATE,hire_date)/12)*12 No_of_Months from employees; SELECT hire_date,add_months(hire_date,trunc(months_between(SYSDATE,hire_date))) new_date from employees; SELECT hire_date, trunc(sysdate) - add_months(hire_date,trunc(months_between(SYSDATE,hire_date))) no_of_days from employees; SELECT first_name,hire_date, trunc(months_between(SYSDATE,hire_date)) mnths_between, trunc(months_between(SYSDATE,hire_date)/12) years, trunc(months_between(SYSDATE,hire_date)) - trunc(months_between(SYSDATE,hire_date)/12)*12 No_of_Months, trunc(sysdate) - add_months(hire_date,trunc(months_between(SYSDATE,hire_date))) no_of_days from employees;
Views: 99 Ganesh Anbarasu
Lesson 28 Round Rand Floor and Ceiling Function in SQL in Hindi
 
15:47
in this video we will learn How to use Round, Rand, Floor and Ceiling Function in SQL Server.
Views: 1695 Vijay Mulsaniya
SQL : #4) truncate
 
03:21
Views: 3803 Hamza Nabil
Oracle SQL Data Conversion-Implicit Explicit
 
19:23
Oracle SQL Data Conversion Implicit Explicit Online console used -- https://livesql.oracle.com Implicit and Explicit data conversion to_char, to_number, to_date and cast functions Queries: /*IMPLICIT DATA CONVERSION EXAMPLES*/ SELECT salary + '10' FROM hr.employees; SELECT last_name FROM hr.employees WHERE employee_id = '200'; SELECT last_name FROM hr.employees WHERE employee_id = 200; SELECT last_name FROM hr.employees WHERE hire_date = '03-MAR-97'; Create table birth(name varchar2(15), dob date); Insert into birth values ('nids', '12/jan/58'); Insert into birth values ('panda', '14/feb/48'); Insert into birth values ('Spider', '14/feb/1958'); Insert into birth values ('agnes', '14/feb/2048'); Select * from birth; SELECT to_date('12-jan-58') - to_date('14-feb-48') from DUAL; '01/01/2058','MM/DD/RRRR' 01/01/2058 '01/01/2048','MM/DD/RRRR' 01/01/2048 '01/01/48','MM/DD/RRRR' 01/01/2048 '01/01/58','MM/DD/RRRR' 1/01/1958 '01/01/48','MM/DD/YYYY' 01/01/0048 '01/01/58','MM/DD/YYYY' 01/01/0058 '01/01/58','MM/DD/YY' 01/01/2058 '01/01/48','MM/DD/YY' 01/01/2048 SELECT * FROM NLS_SESSION_PARAMETERS WHERE PARAMETER = 'NLS_DATE_FORMAT'; Alter session set nls_date_format = 'DD-MM-RRRR'; Select * from birth; alter session set nls_date_format = 'DD-MON-YYYY'; Select * from birth; ALTER session set nls_date_format = 'DD-MON-YY'; SELECT to_date('12-jan-58') - to_date('14-feb-48') from DUAL; ALTER session set nls_date_format = 'DD-MON-RR'; /*EXPLICIT DATA CONVERSION EXAMPLES*/ /*TO_CHAR, TO_DATE, TO_NUMBER*/ SELECT first_name, TO_CHAR (hire_date, 'MON DD, YYYY') HIRE_DATE, TO_CHAR (salary, '$99999.99') Salary FROM hr.employees; SELECT TO_CHAR('01110') FROM DUAL; SELECT TO_CHAR('01110' + 1) FROM DUAL; SELECT TO_DATE('2012-06-05', 'YYYY-MM-DD') FROM dual; SELECT TO_DATE( '5 Jan 2017', 'DD MON YYYY' ) FROM dual; SELECT TO_NUMBER('1210.73', '9999.99') from DUAL; SELECT TO_NUMBER('$65.169', 'L99.999') FROM DUAL; SELECT TO_NUMBER('123,456,789', '999,999,999') FROM DUAL; /*This example takes a complicated string, determines that it is in certain format, and specifies the numeric characters to use*/ SELECT TO_NUMBER('$17 218,00', 'L999G999D00',' NLS_NUMERIC_CHARACTERS='', ''') FROM DUAL; /*CAST*/ SELECT CAST( '22-Aug-2003' AS varchar2(30) ) from dual; SELECT CAST('245.205' AS NUMBER(5,2)) FROM dual; /*      -- Result: 245.21 (note that the value is rounded, not truncated to 245.20) */ SELECT CAST(245.205 AS NUMBER(5,2)) FROM dual; SELECT CAST ('123456' AS NUMBER) + 5 FROM DUAL; SELECT CAST ('5.05.2017' AS DATE) +5 FROM DUAL; /*check the default date format. That's why it give error*/ SELECT CAST ('30-APRIL-2015' AS DATE) +5 FROM DUAL; SELECT CAST (SYSDATE AS TIMESTAMP) FROM DUAL; SELECT SYSDATE FROM DUAL;
Views: 274 Nids Dixit
Tutorial#51 How to use  modulus function in Oracle SQL Database| MOD Function in SQL
 
03:34
Explaining how to get mod of column/number in oracle database MOD function returns the remainder of m divided by n or Numeric Functions - Ceil, Floor, Round, mod, replace, power or How to use modulus function in SQL or what is the numeric function oracle SQL database ----------------------------------------------------------------------------------------------- Assignment link: https://drive.google.com/open?id=1UWnmiSVUOaW7PV-QdF0MmY8o5sfSE9_g ------------------------------------------------------------------------------------------------------ SQL basics, create table oracle, SQL functions, SQL queries, SQL server, SQL developer installation, Oracle database installation, SQL Statement, OCA, Data Types, Types of data types, SQL Logical Operator, SQL Function,Join- Inner Join, Outer join, right outer join, left outer join, full outer join, self-join, cross join, View, SubQuery, Set Operator. follow me on: Facebook Page: https://www.facebook.com/LrnWthr-319371861902642/?ref=bookmarks Contacts Email: [email protected] Instagram: https://www.instagram.com/equalconnect/ Twitter: https://twitter.com/LrnWthR
Views: 94 EqualConnect Coach
Lecture 11: Number Functions in Oracle SQL
 
10:43
Usage of number functions in Oracle SQL. round(), trunc(), mod() etc
Views: 0 GSM Droid
Numeric Functions in SQL | Oracle SQL fundamentals
 
06:16
Enroll into full course with free cloud access for 30 days: https://dbagenesis.com/p/oracle-sql-fundamentals/
Views: 98 DBA Genesis
Chapter 5 : SQL Number Single row function
 
12:34
Number functions - Accepts numeric input and returns numeric values. Functions under the category are ROUND, TRUNC, and MOD. ROUND and TRUNC functions are used to round and truncate the number value. MOD is used to return the remainder of the division operation between two numbers.