Home
Search results “Char replace oracle”
SQL TUTORIAL - CHARACTER FUNCTIONS || TRIM || REPLACE || CONCAT || SUBSTR || INSTR || REPLACE
 
08:04
In this video i'm going to demonstrate you about oracle sql single row functions step by step. concat funcation, substr function, instr function, lpad function, rpad function, trim function, replace function.
Views: 2786 OCP Technology
Difference between Replace and Translate function in oracle
 
03:46
This video demonstrates the difference between a replace function and a translate function in oracle using an suitable example. Both the function does a similar task, but has a lot of difference in implementation and output when used. Be learning the difference users can easy justify the correct scenarios on where to use translate and when to use replace. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : union and union all : https://youtu.be/n9FqQOd8liY char and varchar2 : https://youtu.be/039qzwjWf4k procedure and function : https://youtu.be/q3LmOenL120 in and exists : https://youtu.be/REX4IjRYlFw rank and dense_rank : https://youtu.be/WGSX998hZ9M delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 2132 Kishan Mashru
Oracle SQL Tutorial 27 - CHAR Part 1
 
03:52
This video and the next is going to cover CHAR and NCHAR. Be sure to check out the previous two videos as these are going to introduce you to some foundational knowledge required to understand these data types. CHAR is a fixed-length data type. What that means is that every value for a CHAR column is going to be the same length. You specify the length in parenthesis when you create the table. The thing you need to know though is that the default measurement is in bytes. That means if you specify the length to be CHAR(50), the length of each value will be 50 bytes, by default. If you want to change that to 50 characters, you can pass in the word CHAR as in CHAR(50 CHAR). This is known as a qualifier. Specifically, they are known as length semantics qualifiers (describes the meaning of the given length). Now, I said the default was bytes, but you can actually change the default to characters. In that situation, you can actually use the keyword BYTE to break away from the default. In general, it's best to put CHAR or BYTE even if it is the default. In general, it's best to keep things consistent. It's okay to have these measured in CHAR or BYTE, but it is recommended that every column is the same. It allows you to be more consistent as if some columns measure length in bytes and some measure length in characters, things can get confusing. If you do want to change the default, look up NLS_LENGTH_SEMANTICS as well as the potential problems it may bring. What values are allowed in parenthesis? That is what we are going to discuss in the next video. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 4833 Caleb Curry
Oracle Tutorial - Conversion Functions TO_DATE | TO_CHAR | TO_NUMBER
 
17:24
Oracle Tutorials - Conversion Functions TO_DATE() | TO_CHAR() | TO_NUMBER()
Views: 864 Tech Acad
DIFFERENCE BETWEEN CHAR AND VARCHAR2 DATATYPE IN ORACLE SQL
 
04:36
This video tutorial explains the difference between similar looking and used char datatype and varchar2 datatypes with an simple example. This video will answer the question such as how is the data internally stored differently for char and vacchar2 datatype. Also why is varchar2 much better option to be used than char data type is explained. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : union and union all : https://youtu.be/n9FqQOd8liY replace and translate : https://youtu.be/HKYF77BGzOE procedure and function : https://youtu.be/q3LmOenL120 in and exists : https://youtu.be/REX4IjRYlFw rank and dense_rank : https://youtu.be/WGSX998hZ9M delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 3382 Kishan Mashru
Oracle SQL Tutorial 28 - CHAR Part 2
 
03:33
Now this video is a continuation of the last video. I decided to break the video up into sections so they didn't cover so much information and drag on for 10 minutes. This video we are going to talk about the length of CHAR. Now it is important to remember that CHAR is a fixed-length data type. This means that every row's value for this column is going to have the same length. The length is given to the database by specifying the length in parenthesis, such as CHAR(10). If you give a value shorter than that, it will be padded with spaces. What range is allowed though? The lowest is actually one. The highest is 2000. Now, remember that Oracle allows either the specification of CHAR or BYTE. The limit of 2000 is actually 2000 bytes. What happens if you put 2000 CHAR? Well, Oracle actually lets you do that. What is the problem with this though? The problem is that not all characters are 1 byte. This means that our 2000 CHAR is inaccurate. This will only work with 1 byte characters. This might not seem like a big problem, but it can lead to runtime errors in code that uses our database. A runtime error is when our code runs and in certain circumstances we get an error and others we do not. If we allow a user to insert up to 2000 characters, but they decide to use multibyte characters such as Chinese, we will get an error. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 3902 Caleb Curry
Oracle Database11g tutorials 13 || SQL substr function / SQL substring function
 
06:34
link of SQL substr blog : http://www.rebellionrider.com/SQL-substr-function.htm SQL substr function SQL Substr function will return a sub string of a specified length from the source string beginning at a given position. Tool used in this tutorial is command prompt. This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 Contacts E-Mail [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/rebellionrider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. http://in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ---------------------------------------------------------------------------- As the name suggests SQL Substr function will return substring from a given source string. Let's see the Syntax Substr (source_string, start_pos, Substr_length) As we can see SQL substr function takes 3 parameters. First one is Source string from which you want to extract the segment. Second parameter is Starting position for sub string from the Source string. And the third parameter is Substr_length which is the length for the substring. First two parameters are mandatory to specify while third one is optional. So we can say. SQL Substr function will return a sub string of a specified length from the source string beginning at a given position. First parameter source string can be of any data type CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB whereas both start_pos, Substr_length parameters must be number data type. The returning result of SQL Substr function is of same data type of source string. Let's see an example of SQL Substr function. SELECT substr('www.RebellionRider.com',5,14) FROM dual; Here in this query url of my website www.RebellionRider.com is our source string with the total length of 22 characters, Now, I want to extract the name of my website that is, RebellionRider. So if you count the total length of the name of the website, it is 14. That's why I have specified 14 as my third parameter of SQL Substr function which is substr_length. Also the name of the website RebellionRider is starting from 5th position therefore I have specified 5 at second parameter of SQL substr function which is strt_pos or starting position. Execute it. Here is our result RebellionRider When starting position is larger than the length of source string. In this case SQL Substr function will return NULL as a result. Let's do an example. SELECT substr('www.RebellionRider.com',23,14) FROM dual; As you can see here I have specified 23 at starting position and the total length of our source string is 22 characters Let's execute And the result is Null. Second scenario When the Substr_length is greater than source string In this case the segment return is the substring from starting position to the end of the string. For example SELECT substr('www.RebellionRider.com',5,23) FROM dual; Our starting position is at 5 means at the first R of RebellionRider and length of substring is set to 23 which is greater than the length of source string that is 22. Execute. As you can see we get a substring from first R of RebellionRider till the end of the source String. Third scenario When you supply numeric or arithmetic expression or a DATE instead of character as Source string to SQL Substr function In this scenario If you have supplied a numeric string instead of character as source string, the oracle engine casts them as a character when they occur as parameter to SQL Substr function. And if you have supplied Arithmetic expression or a DATE then The Oracle engine first solves or evaluates the Arithmetic expression or the DATE Then casts them as a character. Means if you have arithmetic expression in your source string then oracle will first solve it and then change or say cast the value of its result into character. Let's see some example. SELECT substr(50000-7,2,4) FROM dual; Oracle first evaluates the arithmetic expression that is 50000-7 equals to 49993. And then oracle engine casts this result 49993 into a character string. Means 49993 will be a 5 characters string. Starting position of substring is 2, that means from the first 9 of 49993 We specified the length of substring is 4 so we must get 9993 as our result. Let's check execute
Views: 81877 Manish Sharma
Oracle DECODE Function
 
04:31
https://www.databasestar.com/oracle-decode-function/ The Oracle DECODE function lets you perform IF-THEN-ELSE functionality in your queries. It’s similar to a CASE statement. The syntax of the DECODE function is: DECODE ( expression, search, result [, search, result]... [,default] ) The parameters of the Oracle DECODE function are: - expression (mandatory): This is the value to compare. - search (mandatory): This is the value to compare against the expression. - result (mandatory): This is the return value if the search value matches the expression value. There can be multiple combinations of search and result values, and the result value is attached to the previous search value. - default (optional): If none of the search values match, then this value is returned. If this is not provided, the DECODE function will return NULL if no matches are found. If you compare this to an IF-THEN-ELSE statement, it would look like this: IF (expression = search) THEN result [ELSE IF (expression = search) THEN result] ELSE default END IF The parameters can be one of many different data types, and the return type is calculated from them. Earlier I mentioned it’s similar to CASE. So why would you use one and not the other? - DECODE is an older function, and CASE was introduced as a replacement for DECODE. - CASE offers more flexibility then DECODE - CASE is also easier to read and debug (in my opinion) The performance of these functions is the same, so if you’re considering using DECODE, I would suggest using CASE instead. For more information about the Oracle DECODE function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-decode-function/
Views: 746 Database Star
Dodge Charger Oracle sidemarker install
 
17:26
oracle led sidemarker tint spray and install just an update to what I have done on my charger this is not a youtube car channel more workout vids on the way
Views: 2564 Char Builds
Oracle LOWER Function
 
01:30
https://www.databasestar.com/oracle-upper-lower/ The Oracle LOWER function is used to convert a string to a lowercase value. It’s useful for comparing text or string values that may have mixed case, such as user input or data from different tables. The opposite of the LOWER function is the UPPER function (which converts to upper case). The syntax of LOWER is: LOWER(input_string) The input_string is the string value to convert to a lower case value. It can be any of CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB. The return type is the same as the input type. You can use the LOWER function in a WHERE clause. However, unless you have a function-based index on the column, any indexes won’t be used. For example, if you have an index on first_name, a query that uses “WHERE LOWER(first_name)” won’t use this index. You’ll have to create an index on the LOWER(first_name) for this to be used. It’s not required, but it’s just something to keep in mind. For more information about the Oracle LOWER function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-upper-lower/
Views: 56 Database Star
SQL To_char Function with excellent examples
 
13:27
SQL To_char Function with excellent examples
Views: 7723 SQL Guru
PL/SQL Tutorial 4 (Oracle): Substring Command
 
04:42
PL/SQL Tutorial 4 (Oracle): Substring Command In this tutorial I show you how to use the Substring command in PL/SQL Source Code: https://github.com/mitchtabian/SQL-tutorials Subscribe to my Blog and YouTube channel to get notifications when new FREE coding tutorials are posted! Blog: http://www.codingwithmitch.com/
Views: 205 CodingWithMitch
Regular Expressions in oracle part 3/ Arabic
 
10:39
-- we use Regexp to search/ match / replace string --1 Regexp_like --2 Regexp_replace --3 Regexp_instr --4 Regexp_substr --5 Regexp_count --note we can user Regexp with CHAR/Varchar2/clob but not LONG https://docs.oracle.com/cd/B12037_01/server.101/b10759/functions116.htm#SQLRF06303 http://psoug.org/reference/regexp.html
Views: 500 khaled alkhudari
Difference between Case and Decode
 
10:14
This video tutorial explains on how case statement and decode function are different from each other. Though both of them are used in giving the if-then-else conditional functionality to sql statement, they differ much from each other, this video will walk through each of the difference with appropriate examples. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : char and varchar2 : https://youtu.be/039qzwjWf4k replace and translate : https://youtu.be/HKYF77BGzOE procedure and function : https://youtu.be/q3LmOenL120 in and exists : https://youtu.be/REX4IjRYlFw rank and dense_rank : https://youtu.be/WGSX998hZ9M delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 13055 Kishan Mashru
011 E - Difference betwween CHAR, VARCHAR, VARCHAR2, NVARCHAR
 
06:01
The difference between different types of character datatypes CHAR VARCHAR VARCHAR2 NVARCHAR
Views: 3553 Rishabh Jain
Oracle SQL Tutorial 33 - NUMBER Data Type
 
07:18
This video we are going to discuss the NUMBER data type. The Number data type is used to store integers, and real numbers. When you create a column as a NUMBER, you can store pretty huge or pretty small numbers in this column. Now there are two things you need to consider when working with numbers, and that is the precision as well as the how big the number is. For example, we can store the number 9.9. This has two significant digits. We could also store the number 9.9 X 10^4. In this situation, the number is much larger, but the number of significant digits is the same. 9.9 are the significant digits. When we expand this out we just have 99000, and the zeros are just used for size and are not considered "significant" in this situation. In fact, you get a max precision of 38, but a maximum value of 9.99 * 10^125. You can also use this data type to store very small numbers. Check the docs for the specifics on maximums and minimums. You can provide it with two pieces of information: Precision - The total number of digits. Scale - The number of digits to the right of the decimal. You do it in this format: NUMBER (precision, scale). The important thing to remember in this is that when you specify a precision, you will be limiting the max size of the numbers. The secret behind this data type is that it is actually stored in scientific notation. That is we store a number and then we can multiply it by 10 raised to some power. This allows us to store much larger numbers without taking up a ton of space. The oracle docs actually gives a formula that you can use to see how much storage is going to be required for a specific NUMBER data type. How much precision can be used? The acceptable range is 1-38. What about scale? The range is actually -84 to 127. I'll explain the scale in more detail in an upcoming video. That's because there is a lot of confusing things here…What does it mean for the scale to be negative? How can we have a scale that is bigger that the total number of digits available through the precision. That's a topic for another video. It's important to understand that when we increase our scale, we decrease the max size of the number. For example if we have a precision of 5 and a scale of 3, the highest number we can store is 99.999. This is in contrast to a precision of 5 and a scale of 2 which allows for up to 99.999. Either way you get 5 significant digits, but the numbers of digits to the left and right of the decimal change. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 8477 Caleb Curry
Oracle SQL Tutorial 30 - UTF-8 and UTF-16 Character Sets
 
04:01
A few videos ago we discussed UTF-8 and UTF-16 encoding, but when we are working with a database we do not worry about encodings as much as we do character sets. That's because a specific character set is going to have a specific encoding. The reason I am making this video is to introduce you to the most common character sets and to teach you the differences. That’s because as we go into the national character sets we need to understand the information taught in this video. So the first character set I am going to teach you about is AL32UTF8. AL32UTF8 is a character set that uses the uff-8 encoding and each character can take up to 4 bytes with the utf-8 encoding. There is another character set (not encoding) called utf8 (no hyphen) which is also encoded with UTF-8. This can be a little confusing because UTF8 is the name of an encoding and a character set, but bear with me. Both of these character sets are UTF-8 encoded, but UTF8 uses an older version of UTF-8 encoding. Generally, they work about the same, but the way certain characters are stored is slightly different, specifically way certain characters are stored is slightly different, specifically what are known as supplementary characters, which take up 4 bytes. The max size for a UTF8 character set is 3 bytes, as they do not directly support the supplementary characters as 4 bytes but instead store them across 2 groups of 3 bytes each. Oracle recommends that you use AL32UTF8 for all future development instead of the archaic UTF8 character set. There is another character set that you should know about, and that is AL16UTF16, which uses the UTF-16 encoding. Watch my video over UTF-8 and UTF-16 to learn more about UTF-16. Lastly, there is a character set known as UTFE, which uses an encoding known as UTF-EBCDIC. This is like a super archaic character set, and I'm not even going to talk about it. I thought I would at least mention it as it is going to come up a bit in the next video's topic. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 7203 Caleb Curry
TO CHAR and TO DATE Function with RR Date Format: SQL Tutorial 46
 
00:28
Please watch: "Install Oracle Database 12c Release 2 on Windows 10 Professional 64 bit" https://www.youtube.com/watch?v=5705VFJmku0 -~-~~-~~~-~~-~-
Views: 188 Solution Wizard
Oracle SQL Tutorial 13 - How to Add Column Constraints (Attributes)
 
05:55
So far, we have this table declaration: CREATE TABLE users( user_id NUMBER, username VARCHAR(50 CHAR) first_name VARCHAR2(50 CHAR), last_name VARCHAR2(50 CHAR) ) We can run this command see that it works. As we are learning though, we are going to want to be able to recreate our table with different settings and such, but if you try to run this command, it will complain that the table already exists. So we first need to delete this table before we start editing settings. When we get more experienced, we will learn about ways to edit the structure of a table that already exists. To fix this, we can get rid of the table using the DROP TABLE command: DROP TABLE users You can run this every time if you need to practice by adding a semicolon after it. This is how you can tell Oracle that you are putting in another command after it. This is known as a delimiter. When you run the script, it is going to run both commands. Now we can go through and reconsider our table structure. This is fine for starting out because we don't have any important data in our database, but once your database is in production you are not going to want to just drop tables. In the last video we discussed different constraints that you can apply to columns in a database table, but how do you actually apply these when you are creating a table? The first way you define constraints is to put them right after the column in your CREATE TABLE statement. CREATE TABLE users( username VARCHAR2(50 CHAR) NOT NULL ) When we define constraints this way, we usually say we are adding column attributes. If you have two constraints you want to add, you just put one after the other with spaces in between. There is no particular order that is required. CREATE TABLE users( username VARCHAR2(50 CHAR) NOT NULL UNIQUE ) In this situation we have already given the column the NOT NULL and UNIQUE attributes, so we should consider making this a primary key: CREATE TABLE users( username VARCHAR2(50 CHAR) PRIMARY KEY ) As you can see, adding column attributes is super easy. We can add a default like this: CREATE TABLE users( username VARCHAR2(50 CHAR) PRIMARY KEY, account_balance NUMBER DEFAULT 0 ) Note that now we need the comma after the first row. There are a few constraints we did not talk go through an example, specifically foreign keys and check constraints. We will be adding these constraints to our database in future videos. In the mean time, I have a thought for you… Many people prefer to name their column constraints. That way, we can refer to certain constraints by name. For example, we might have a primary key constraint that could be named users_pk. The way we are creating these constraints does not allow for this feature, so in the next video we are going to be discussing different ways to create constraints. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me on Patreon! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 22607 Caleb Curry
IN VS EXISTS VS JOIN, performance
 
05:04
This video demonstrates the performance effects of using an exists clause instead of an IN clause, also it shows how we can update a simple sub query having an IN clause with an EXISTS or JOIN statement. It also shows that joining would consider the null data, where as an IN clause would neglect null values. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : union and union all : https://youtu.be/n9FqQOd8liY char and varchar2 : https://youtu.be/039qzwjWf4k replace and translate : https://youtu.be/HKYF77BGzOE procedure and function : https://youtu.be/q3LmOenL120 rank and dense_rank : https://youtu.be/WGSX998hZ9M delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 12717 Kishan Mashru
New Update Oracle Elder !!!Dragon Nest  INA - Oracle Elder Char Creation
 
08:37
Website : dn.gemscool.com PvP Showmatch : https://www.youtube.com/watch?v=nPBD0Yjvw7s&list=PLgy7mKUrYLi5YakHXJAGPsCaWre1INvxj https://www.youtube.com/watch?v=tHDF52xx1Xk&list=PLgy7mKUrYLi6KmL7PLwfwLj2NQrFM8yoc Follow me On : INSTAGRAM : https://www.instagram.com/romyroixy/ FB : https://www.facebook.com/R0ixy-Dragony-667859233414089/ Twitter : https://twitter.com/R0ixyDragony Subscribe R0ixy Channel : https://www.youtube.com/r0ixydragony?sub_confirmation=1 Terimakasih sudah meluangkan waktu untuk menonton video ini. Selalu support channel ini biar makin berkembang kedepannya jangan Lupa untuk Subscribe , Like n Comment , dan jngan lupa jg untuk Share video ini ke teman" kalian jg ^^ I hope You Guys Enjoy the video.. Please support this channel by Subscribe n share this video ^^
Views: 3569 R0ixy Dragony
Oracle SQL Tutorial 31 - NCHAR Part 2
 
03:12
This video is going to be part 2 of NCHAR. That's because I have a bit more things to say about it before we move on to other data types. The first thing I wanted to mention is that if you declare an NCHAR(50), it is going to always be 50 characters. You do not need to use the CHAR or BYTE keyword in parenthesis to specify which you would like. We've said that NCHAR uses Unicode, but as we've learned in the last video, there are many character sets that use Unicode. Which character set is NCHAR going to use? That decision is based off of what your database's national character set is. So for every database you can declare a database character set and you can declare a national character set. The national character set is what is used for this data type. There are two options for the national character set, AL16UTF16, and UTF8. The default is AL16UTF16, which uses the utf-16 encoding. The Oracle docs has a lot of pros and cons for each one, but in general the defaults are default for a reason, so AL16UTF16 usually works fine. Now, a few videos ago I made a comment about the CHAR and NCHAR data types and how they might not be recommended. Why so? The reason is that CHAR is secretly just a VARCHAR2 that is padded to take up a full length. It does not save space nor improve performance in the database, so the chances are you are never going to want to use it. That being said, everything you've learned has not been a waste because a lot can be applied to the VARCHAR2 and NVARCHAR2 data types. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 3896 Caleb Curry
DIFFERENCE BETWEEN PROCEDURE AND FUNCTION IN ORACLE PL/SQL WITH EXAMPLE
 
06:33
The audio and video now synced. This video is a free tutorial on the difference between procedure and a function. The tutorial demonstrates the difference between oracle PL/SQL stored procedure and a function, also it shows the different type of return statement in both of the database objects and various ways to execute a procedure and a function. By learning the difference the users can make an effective judgment on when to use procedure and when to use a function. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below: union and union all: https://youtu.be/n9FqQOd8liY char and varchar2: https://youtu.be/039qzwjWf4k replace and translate: https://youtu.be/HKYF77BGzOE in and exists: https://youtu.be/REX4IjRYlFw rank and dense_rank: https://youtu.be/WGSX998hZ9M delete and truncate: https://youtu.be/u76wMm2byXo %type and %rowtype: https://youtu.be/MlLUFeZ_3eM
Views: 4727 Kishan Mashru
SQL with Oracle 10g XE - Using AND and OR with SELECT
 
04:29
In this video I use both AND and OR with the SELECT command to query data from a table. I show the difference between a simple search using AND or OR within the search. This video is part of a series of videos with the purpose of learning the SQL language. For more information visit Lecture Snippets at http://lecturesnippets.com.
Views: 4036 Lecture Snippets
SQL 091 String Scalar, TRANSLATE or How can I change a character set?
 
01:00
Explains the String Scalar Function TRANSLATE to convert a string to another character set. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and SQL Server.
Views: 636 cbtinc
oracle date and time functions
 
21:33
Video from our Oracle SQL course. Check out the full course at.. http://learn.hackpress.co/courses/oracle-sql-learning-by-example
Views: 46359 etldeveloper
Oracle SQL Lesson 6 - DML, DDL, TCL Commands in Jinghpaw Language
 
39:13
Lesson focusing on Oracle's DML, DDL, TCL SQL statements to add, modify and manipulate data. Please watch in HD mode for better video quality. -- I. Language Reviews --DML Data Manipulation Language (select, insert, update, delete) --DDL-- Data Definition Language (create, alter, drop, truncate) --DTL - Data Trajsaction Language (commit, rollback, savepoint) --DCL - Data Control Language (grant, revoke) --II. HR Schema (a collection of similar tables) --III. Constraints (Primary Key, Foreign Key, Unique Key, Check, Null) CREATE TABLE DEPT_TEST ( Department_ID INT Primary key Not Null, Department_Name VARCHAR2(20), Location_ID INT); CREATE TABLE EMP_TEST ( Last_Name VARCHAR2(20) primary key not null, Gender CHAR(1), Constraint check_gender_type CHECK (Gender in ('M','F')), Department_ID INT references DEPT_TEST(Department_ID)); --Add comments to table columns --drop table EMP_TEST; --drop table EMP_TEST; --truncate table EMP_TEST; INSERT INTO DEPT_TEST VALUES(31, 'Sales',1200); INSERT INTO DEPT_TEST VALUES(33, 'Engineering',1250); INSERT INTO DEPT_TEST VALUES(34, 'Clerical',1600); INSERT INTO DEPT_TEST VALUES(35, 'Marketing',2000); INSERT INTO EMP_TEST VALUES('Dingra','F', 31); INSERT INTO EMP_TEST VALUES('Gawlu', 'M', 33); INSERT INTO EMP_TEST VALUES('Lahpai', 'M',33); INSERT INTO EMP_TEST VALUES('Mading','F', 34); INSERT INTO EMP_TEST VALUES('Waga', 'F', 34); INSERT INTO EMP_TEST VALUES('Lagwi','M', NULL); --change table name ALTER table DEPT_TEST RENAME to RUNG_HPAN; ALTER table EMP_TEST RENAME to BUNGLI_MASHA; --add a column ALTER TABLE RUNG_HPAN ADD MARE_MYING VARCHAR2(50); --add multiple columns ALTER TABLE BUNGLI_MASHA ADD (SHATA_SHBRAI INT, SHNGAI_NHTOI DATE, GASHAGA_JAK_NUMBER VARCHAR2(30), BUNGLI_HPANG_NTHTOI DATE, EMAIL VARCHAR2(50)); --change column name ALTER TABLE BUNGLI_MASHA RENAME COLUMN GASHAGA_JAK_NUMBER to PHONE_NUM; --change data type ALTER TABLE RUNG_HPAN MODIFY Location_ID CHAR(3) not null; ALTER TABLE RUNG_HPAN DROP column Location_ID; Commit; ALTER TABLE RUNG_HPAN ADD Location_ID CHAR(3); --change data values in the column UPDATE RUNG_HPAN set Location_ID='MKN' where Department_ID=31 and Department_Name='Sales'; UPDATE RUNG_HPAN set Location_ID ='WMW' where Department_ID=33 and Department_Name='Engineering'; UPDATE RUNG_HPAN set Location_ID='MAN' where Department_ID=34 and Department_Name='Clerical'; UPDATE RUNG_HPAN set Location_ID='KUT' where Department_ID=35 and Department_Name='Marketing'; UPDATE RUNG_HPAN set MARE_MYING='MYIKYINA' where Location_ID='MKN'; UPDATE RUNG_HPAN set MARE_MYING ='WAIMAW' where Location_ID='WMW'; UPDATE RUNG_HPAN set MARE_MYING='MANMAW' where Location_ID='MAN'; UPDATE RUNG_HPAN set MARE_MYING='KUTHKAI' where Location_ID='KUT'; DELETE from EMP_TEST where last_name='Lahpai' and gender='M'; --truncate table EMP_TEST; --Commit, Rollback and Savepint --Commit command is used to permanently save any transaaction into database --Rollback command restores the database to last commited state. It is also used with savepoint command to jump to a savepoint in a transaction. --savepoint command is used to temporarily save a transaction so that you can rollback to that point whenever necessary. --desc rung_hpan; INSERT INTO RUNG_HPAN VALUES(32, 'Finance','MYITKYINA','MKN'); commit; INSERT INTO RUNG_HPAN VALUES(36, 'IT','WAIMAW','WMW'); savepoint save_point_A; INSERT INTO RUNG_HPAN VALUES(37, 'Risk', 'WAIMAW','WMW'); savepoint save_point_B; INSERT INTO RUNG_HPAN VALUES(38, 'HR', 'WAIMAW','WMW'); savepoint save_point_C; rollback to save_point_B; SELECT * from RUNG_HPAN;
Views: 24 Hkau Doi
Oracle SQL Generate Random Alphanumeric String
 
07:21
In this video, you’ll learn how to generate random alphanumeric characters in an SQL statement in Oracle SQL You can use Oracle SQL to generate random alphanumeric string values by using one of the built-in functions. This function allows you to specify the type of string to generate - upper or lowercase alpha characters only, mixed alpha characters, uppercase alphanumeric characters, or any printable characters. You can also specify the length of the string to generate, This can be a fixed number, or you can use another function to generate a random number to use for the length! You’ll see some examples of generating random alphanumeric string values in this video. For more information and tips on Oracle SQL, check out DatabaseStar.com: https://www.databasestar.com/
Views: 446 Database Star
Aurcus Online Global- Oracle / G5 Ft. 3 Tri. w/ 2 Sub char. cleared
 
04:52
The 2 sub char needs to clear g5 darkhunter2 and merlin , was successful run .. After few epic runs , atlast they made it. 😂😊
Views: 244 JayFLick Trinity
Connecting C# with Oracle 11g
 
13:08
This is Basic Video for connecting C# with Oracle 11g
Views: 108145 Muhammad Ali
Oracle Database11g tutorials 10 || SQL Single Row Function (SQL Functions ) by Pravendra Gaur
 
18:13
Oracle Database11g tutorials 10 || SQL Single Row Function (SQL Functions ) by Pravendra Gaur. Like subscribe my channel Pravendra Gaur , I will teach you how to crack interviews and many other technologies. Like me on facebook https://www.facebook.com/pravendragaur.biz/ Email : [email protected] Oracel single row function. Character functions Upper Lower Initcap Concat Substr Instr Length Lpad Soundex Ltrim Rtrim Replace Regexp_count
Views: 100 Pravendra Gaur
Oracle SQL Tutorial 18 - How to Create Foreign Keys
 
07:09
In this video we are going to be creating foreign keys. I highly recommend watching the previous video before you watch this one. Essentially, we are creating a very simple database for a system where we can create projects and add people to those projects. We started with the users table: --Delete the table if needed: --DROP TABLE users; CREATE TABLE users( user_id NUMBER, username VARCHAR2(50 CHAR) UNIQUE, CONSTRAINT users_pk PRIMARY KEY (user_id) ); Now we are going to create a table for projects with a column that is a foreign key to the username. We're going to want to make this match data types: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) ) Next, we need to add the column attributes we decided on last video: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL ) NOT NULL because we want every project to have a creator, but we are not labeling UNIQUE because that means we could only have a specific username once in the table. We want to allow a user to create multiple projects. We also need to add a primary key: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL, CONSTRAINT projects_pk PRIMARY KEY (username) ) Now, the question that remains is, how can I tell Oracle that I want the username to reference the username column of the other table? We have to make a foreign key constraint. As you've learned from the previous videos, there are about three ways to create constraints. You can do it inline at the column level, unnamed. You can do it at the column level, named, and you can do it at the Table level, named. Usually the table-level is preferred, but I will quickly remind you how to do all three again. CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL REFERENCES users (username), CONSTRAINT projects_pk PRIMARY KEY (project_id) ) This works, but if we want to name it, we should do this: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL CONSTRAINT projects_users_fk REFERENCES users (username), CONSTRAINT projects_pk PRIMARY KEY (project_id) ) This works, but the preferred method is to do it at the table level: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL, CONSTRAINT projects_pk PRIMARY KEY (project_id), CONSTRAINT projects_users_fk FOREIGN KEY (creator) REFERENCES users (username) ) Great! So you've learned how to create a foreign key, now we can see it inside of Oracle SQL Developer. One important thing when it comes to foreign keys is what happens when have data in your database and you try to delete the parent row that a row in the child table references? In the next video we are going to configure that using ON DELETE. See you all then and if you enjoy this series, please do me a huge favor by liking the video and subscribing to my YouTube channel. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 24118 Caleb Curry
SQL 087 String Scalar, CONVERT or How can I change bits per character?
 
01:02
Explains the String Scalar Function CONVERT to change the number of bits per character. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and SQL Server.
Views: 277 cbtinc
Oracle Sql : Lecture 21:  Filters on Character and Date values
 
04:40
Oracle Sql: Filters on Character and Date values https://www.youtube.com/channel/UCnBpiBIOtRgMsk4G7Ri1jbQ
Views: 79 Oracle SQL
NESTING FUNCTION , NVL AND NVLE ORACLE DATABASE
 
16:05
NESTING FUNCTION , NVL AND NVLE ORACLE DATABASE شرح عربي
Views: 105 AbuBakr Alshujary
Dragon Nest Korea • Update 03.08.2017 • kali Spin-off class • Oracle Elder
 
02:55:55
Качаем Oracle Elder) И уже завтра мы увидем долгожданное обновление, поэтому мы должны посмотреть все то, что там будет добавлено) Жду всех, будет душевно!) Играем в: Dragon nest, Paragon, Overwatch. Гайды, информация и просто интересный контент!) Подпишись на канал, мы начинаем! https://www.twitch.tv/flameotv - мой twich канал, там частые стримы https://vk.com/lwhysoseriousl - я ВК https://vk.com/flamegamingtv - Моя группа ВК http://www.donationalerts.ru/r/flamelover - для желающих поддержать мои начинания!) Multistreaming with https://restream.io/
Views: 809 Flame Gaming TV
Aurcus Online Global- Oracle / G5 Priest Cleared
 
08:07
Featuring Sub. char of our priest. She need to clear to create new mw for her char. 😊 #StayLegit
Views: 79 JayFLick Trinity
Fiesta Online Oracle Mage HD By Ayila (my char)
 
10:24
Like Top Video 2017 Game TV , HD Videos TOp MMORPG's, PS4,X-Box,Pc,Speed-art Top Videos: 📌Gameplays: ⚪ RealmPT Mecanico Spark 16 speed *MMORPG https://youtu.be/dU1c-6fU1b4 ⚪Yu-Yu Hakusho Final : ESPECIAL Best Music + game https://youtu.be/99vIkc7HUpk ⚪Final Fantasy VII(PSP) : Crisis Core - Gameplay The secret https://youtu.be/UyUMyrEgVCY ⚪ Let's Play: Beowulf (PSP) https://youtu.be/eLV0xlAOhLM ⚪ New Super Mario Bros Wii - Lemmy Koopa (World 3) https://youtu.be/eLV0xlAOhLM ⚪Pokemon World Online Global server: Gameplay https://youtu.be/iCOzv1MY37E 📌 Tradução de Games : 🔴Super Metroid Traduzido HD - SNES O primeiro impacto! https://youtu.be/1U_DjjIqKDo 🔴Avatar James cameron o Jogo PSP Traduzido https://youtu.be/bSasonyhPM8 🔴 Metroid Fusion Gba - O virus X - TRADUZIDO https://youtu.be/xzMrASggdJE 🔴Kingdom Hearts Birth By SleepTRADUZIDO Um mundo pequeno https://youtu.be/uxncXNvAR7E 📌 Fan-Art's 🔵 Pokémon Artwork - Articuno Fan Art (+dicas de desenho) https://youtu.be/iEMDFNksbTI 🔵World of Warcraft - Mists of Pandaria : Artwork desenho Top! https://youtu.be/lPK2W2dnE8M 🔵Metin 2: Lycan FanArt - Dawn of Lycan [By: ✎Ro] https://youtu.be/gMVeqcLBick 🔵Minecraft 3D desenho Speed-Art https://youtu.be/euMnSkeWBRo 🔵 DragonBallZ Artwork - Cell Saga( Super Nintendo game Fan-Art) https://youtu.be/P-qTIJ1mla4 📌Como Desenhar ⚫ Como desenhar- Parte:1 Esboço https://youtu.be/-J9DgYekFfM ⚫Como usar TINTA do LÁPIS Aquarela?(Vídeo aula - Live 30/12/2016) https://youtu.be/Hnati7NRUk8 ⚫Como desenhar 2 - rosto humano realista do inicio https://youtu.be/-s2PbrzjqpE ⚫Como desenhar #3 corpo humano By Rodrigo +Tecnicas https://youtu.be/Cs2EoVfcBAM 📌Soundtrack- 🎧 Mario Kart 8 Deluxe https://www.youtube.com/playlist?list=PLS0lY6OxO6jFANkfp034y6Qb8SYjd80FA 🎧 The Legend of Zelda Breath of Wild https://www.youtube.com/playlist?list=PLS0lY6OxO6jEbAwHhEMeMxGXyLtxX1H8e
Views: 100 GameTV Priston
Initcap function in ORACLE
 
05:21
Initcap function in ORACLE
Views: 151 Tanmun
SQL Character Functions: LOWER
 
02:24
The Best Site to Learn SQL Online
Views: 472 TechnicalSkills
Regular Expressions in oracle part 2/ Arabic
 
11:42
Regular Expressions in oracle part 2/ Arabic -- we use Regexp to search/ match / replace string --1 Regexp_like --2 Regexp_replace --3 Regexp_instr --4 Regexp_substr --5 Regexp_count --note we can user Regexp with CHAR/Varchar2/clob but not LONG
Views: 555 khaled alkhudari
REPLACE Multiple Spaces with One space logic
 
01:09
How to replace multiple spaces with one space? I came up with the situation of replacing multiple spaces with single space in SQL. I got the solution from a site but it was very difficult to understand at first look. So I got into deep exactly how it works? I really liked the trick and it made me write this blog post. This could be useful where regex expressions are not available. The logic is explained in video file. For visualization purpose space is represented as '@' character and '#' can be any random character which never occurs in string as a normal character. I am repeating again, Consider @ = white space # = any random character that is never used as normal character in strings. replace ( replace ( replace ( trim('string') , '@@','@#' ) ,'#@','') ,'#','')
Views: 506 Bharat Patil
SDU Tools 61 Translate SQL Server T-SQL strings to avoid nested REPLACE operations
 
01:46
SDU Tools are free tools for SQL Server developers and DBAs. This tool avoids the need for a nested REPLACE statements in T-SQL by allowing a whole set of replacements to be specified in a single statement. SQL Server 2017 includes a new TRANSLATE built-in function but this tool provides the same functionality for earlier versions of SQL Server. You'll find more info about SDU Tools and download details at http://www.sqldownunder.com/Resources/SDUTools
Views: 55 SQL Down Under
SQL ASCII Function - how to use ASCII function
 
01:21
SQL ASCII function returns the NUMBER code that represents the specified character. It is the opposite of the CHAR function. visit Dose for excel Add-In website: http://www.zbrainsoft.com/ Visit our channel: https://www.youtube.com/channel/UCI4bMWYzrBTs47KINXL92Kw
SQL with Oracle 10g XE - Table Overview and Basic Data Types
 
05:34
In this video I take a look at the structure of tables I plan on using for my database and point on the relational links between the tables. I also discuss the primary key of the table as well as using it as a foreign key in a related table. I take a look at a few basic data types for field columns to include: CHAR = 255 characters VARCHAR = 255 characters SMALLINT = -32,768 to 32,767 INT = -2,147,483,648 to 2,147,483,647 DECIMAL = Numbers with a decimal value Date = In the format DD-MMM-YYYY This video is part of a series of videos with the purpose of learning the SQL language. For more information visit Lecture Snippets at http://lecturesnippets.com.
Views: 18188 Lecture Snippets
SQL REPLACE
 
11:35
Views: 166 mhscom53