Home
Search results “Oracle number to string”
ORACLE PL/SQL INTERVIEW : REVERSE NUMBER STRING PROGRAM
 
21:23
This video tutorial demonstrates on the oracle pl/sql interview question of reversing a number string without using the reverse function, the video explains a very simple and generic approach that can be used to solve this question.
Views: 2990 Kishan Mashru
Oracle || String functions Part-1 by dinesh
 
36:42
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 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: 77058 Manish Sharma
Find the Number of Occurrences of a Character In the given String SQL | ORACLE | PL SQL
 
03:34
Find the Number of Occurrences of a Character In the given String SQL | ORACLE | PL SQL
Views: 832 Online Pl Sql
Random number &  Random String in Oracle/ عربي
 
06:44
oracle sql Random number & Random String in Oracle select dbms_random.random from dual; select dbms_random.value from dual; select dbms_random.value(1,10) from dual; select round(dbms_random.value(1,10) ) from dual; /* 'u', 'U' - returning string in uppercase alpha characters 'l', 'L' - returning string in lowercase alpha characters 'a', 'A' - returning string in mixed case alpha characters 'x', 'X' - returning string in uppercase alpha-numeric characters 'p', 'P' - returning string in any printable characters. */ select dbms_random.STRING('L',15) from dual; select dbms_random.STRING('U',10) from dual; select dbms_random.STRING('A',10) from dual; select dbms_random.STRING('X',20) from dual; select dbms_random.STRING('P',20) from dual;
Views: 657 khaled alkhudari
Oracle sql Interview Question : How to change rows to column
 
09:18
This video tutorial talks about the frequently asked oracle sql interview question of changing rows to the column. Based on the given scenario, we are asked to change the presentation of data in a table with 3 rows and 2 column to 3 columns and 2 rows. Decode Function in oracle https://youtu.be/YUAjPMjqMws Pivot and unpivot in oracle https://youtu.be/6s0DI1YcWIM
Views: 11658 Kishan Mashru
Converting String to Int in Java? | Team MAST
 
04:04
You will learn two methods to convert String to int in Java. int foo = Integer.parseInt("1234"); Also see the Java Documentation for more information : http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html#parseInt-java.lang.String-int- (If you have it in a StringBuffer, you'll need to do Integer.parseInt(myBuffer.toString()); instead).
Views: 9854 Team MAST
SQL :String functions
 
03:38
In this tutorial, you'll learn how to make use of string functions...
Views: 5678 radhikaravikumar
PL/SQL: Program to Reverse a string
 
09:42
Category: Beginner In this tutorial, you'll learn how to write a program in order to reverse a string.
Views: 7173 radhikaravikumar
Oracle SQL Tutorial 11 - CREATE TABLE
 
05:04
The way you create a table is to use the CREATE TABLE command. CREATE TABLE users() So in this situation, the name comes right after the TABLE keyword. The next thing we do is put all of the columns on a line that we want to put in our table. CREATE TABLE users( user_id, username, first_name, last_name ) Notice the naming conventions here. For this series we are going to make columns with what is known as snake casing. This is where each individual word is separated by an underscore. if you have more than one column, all of them have to have commas except the last one. The comma is a way to say that another column is coming, so you don't need to do it on the last one. Now you would think we were done, but we also have to say what data type each column is. Later we will extensively discuss data types so we can focus on them exclusively. For now, here are the data types we are going to use: CREATE TABLE users( user_id NUMBER, username VARCHAR2(50), first_name VARCHAR2(50), last_name VARCHAR2(50) ) Now, inside of the parenthesis for varchar2, we pass in a number... This is the max length of the string. But the question is, what is it measured in? The default is actually in bytes, not characters. For example if we have the string hello, it is 5 characters, but it might take up a total of 10 bytes of storage. So I would recommend adding the keyword char right after the number so it defaults to 50 characters, not bytes. CREATE TABLE users( user_id NUMBER, username VARCHAR(50 CHAR), first_name VARCHAR2(50 CHAR), last_name VARCHAR2(50 CHAR) ) This will work to create a table, but it's really missing a lot of information… which column is the primary key? Are we adding any indexes? Is there any thing else we need to say about these columns? So as you can tell, we are making progress, but there is still so much to learn. The biggest gotcha to remember from this video is that the data type VARCHAR ends in a 2, stupid, right? who would end the name of something with a 2? Once again, this is Caleb from CalebTheVideoMaker2, and we will catch you in the next one! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 26303 Caleb Curry
Oracle SQL Character Conversion Functions
 
04:12
Character conversion functions in Oracle SQL 11g
Views: 199 Prasad Hommaradi
SQL,  Oracle 4e67,  Why store numeric data as characters
 
04:27
Why store numeric data as characters in SQL.
Views: 370 hammadshams
Oracle username and password and Account unlocking
 
08:37
all education purpose videos
Views: 261279 Chandra Shekhar Reddy
Find Special Character in a string using Sql
 
01:10
In this video we learn how to find the special character , number in a string using sql server. -- How to Find Number and character in a string SELECT Employeeid,LastName FROM Employees WHERE LastName like '%[^0-9A-Z]%' -- How to find Special Character in a string SELECT Employeeid,LastName FROM Employees WHERE LastName like '%[@,#,$,%,*]%' -- How to find number in a string SELECT Employeeid,LastName FROM Employees WHERE LastName like '%[0-9]%'
Views: 1418 SmartCode
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......
Generating random string in Oracle
 
06:05
Generating random string in Oracle About DBMS_RANDOM package The DBMS_RANDOM package will generate random data in character, numeric or alphanumeric formats. we can use this for generating the passwords also. we can generate strings in upper case, lower case or alphanumeric format. The first parameter for string type to be generated. U – Upper case L – Lower case A – Alphanumeric X – Alphanumeric with upper case alphabets. P – Printable characters only. 1)Generating an upper case string select dbms_random.string(‘U’, 10) from dual; 2)Generating a lower case string select dbms_random.string(‘L’, 10) from dual; 3)Generating an upper case alphanumeric string select dbms_random.string(‘X’, 10) from dual; 4)Generating a string of printable select dbms_random.string(‘P’, 10)from dual; For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 269 Tech Query Pond
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: 128 Database Star
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: 276 cbtinc
OracleSQL#45 TO_NUMBER function | Convert varchar value into number format
 
04:24
Oracle TO_NUMBER function is used to convert a text/varchar2/varchar/string value into a number value in Oracle 11g or how to convert varchar to number in oracle in the select query or what is conversion function is Oracle SQL or how to use to_number function is Oracle SQL Assignment link: https://drive.google.com/open?id=1ngkXONohE1AfRO2HaUXd1VRx3uZ8bAM1 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 #To_numberFunction #convertionFunctionInSQL #SQLtypeCast
Views: 21 EqualConnect Coach
SQL Tutorial - 7: Data-Types in SQL (Part-2)
 
06:48
In this tutorial we';; check out the data type options we have available for use in SQL. We'll talk about Bigint, int, smallint, tinyint, decimal, number, float, char, varchar, blob, datetime, date, time and year.
Views: 94022 The Bad Tutorials
SQL 076 Numeric Scalar, CHAR_LENGTH or How many string characters?
 
01:15
Explains the Numeric Scalar Function CHARACTER_LENGTH and CHAR_LENGTH for finding the number of characters in the strings or expressions. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and SQL Server.
Views: 231 cbtinc
Oracle Database tutorials 3:How to enable Line numbers in SQl Developer.
 
02:05
Wishlist: http://bit.ly/wishlist-amazon In this tutorial for database 11g You will see how to enable Line numbers in SQL Developer. This SQL tutorial and Oracle database 11g tutorial for beginners will show how to enable Line numbers in SQL Developer. Tool used in this tutorial is SQL developer. 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 Email [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/RebellionRider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos
Views: 241107 Manish Sharma
OracleSQL#37 How to Remove Character/Spaces/String from Column Using with  LTRIM function in Oracle
 
06:57
SQL LTRIM function removes all space characters from the left-hand side of a string or How to use Ltrim Function in Oracle SQL or how to remove spaces using LTRIM Function or How to use LTRIM, RTRIM & TRIM functions step by step. Assignment link: https://drive.google.com/open?id=1u4GKcVcBDBdHOmAzHKsfuAuEnPkK5WWe 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: 43 EqualConnect Coach
SQL Concatenate All Rows Into A String
 
06:24
Combine all rows into a single string adventure works example. This method uses coalesce to remove the leading comma. Easier than for xml path in my opinion. For XML path example(next video): https://www.youtube.com/watch?v=QwPjbQosjgw
Views: 1795 Blake B
SQL 083 Numeric Scalar, POSITION or What is the starting position of a sub-string?
 
01:11
Explains the Numeric Scalar Function POSITION or return the position of a sub-string. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and SQL Server.
Views: 214 cbtinc
9.2 What is toString method in Java Example
 
07:09
toString is defined inside Object class. toString() method is used java when we want a object to represent string. overriding toString() method will return the specified values. This method can be overridden to customize the String representation of the Object. Check out our website: http://www.telusko.com Follow Telusko on Twitter: https://twitter.com/navinreddy20 Follow on Facebook: Telusko : https://www.facebook.com/teluskolearnings Navin Reddy : https://www.facebook.com/navintelusko Follow Navin Reddy on Instagram: https://www.instagram.com/navinreddy20 Subscribe to our other channel: Navin Reddy : https://www.youtube.com/channel/UCxmkk8bMSOF-UBF43z-pdGQ?sub_confirmation=1 Telusko Hindi : https://www.youtube.com/channel/UCitzw4ROeTVGRRLnCPws-cw?sub_confirmation=1 Subscribe to the channel and learn Programming in easy way. Java Tutorial for Beginners: https://goo.gl/p10QfB C Tutorial Playlist : https://goo.gl/8v92pu Android Tutorial for Beginners Playlist : https://goo.gl/MzlIUJ XML Tutorial : https://goo.gl/Eo79do Design Patterns in Java : https://goo.gl/Kd2MWE Socket Programming in Java : https://goo.gl/jlMEbg Spring MVC Tutorial : https://goo.gl/9ubbG2 OpenShift Tutorial for Beginners : https://goo.gl/s58BQH Spring Framework with Maven : https://goo.gl/MaEluO Sql Tutorial for Beginners : https://goo.gl/x3PrTg String Handling in Java : https://goo.gl/zUdPwa Array in Java : https://goo.gl/uXTaUy Java Servlet : https://goo.gl/R5nHp8 Exception Handling in Java : https://goo.gl/N4NbAW
Views: 72616 Telusko
Oracle Database Tutorial 4: Conacatination Operation In Sql
 
04:51
Image result for concatenation in oracle The Oracle CONCAT function allows you to concatenate, or combined, two strings together into one string. In Oracle the concatenation operator concatenate in oracle sql developer oracle concatenate rows oracle concatenate columns with space oracle concatenate rows into string oracle concatenate string and number oracle concat 3 concat in where clause oracle
How to Concatenate String Values with Integer values in SQL Server - TSQL Tutorial
 
10:23
How to Concatenate String and Integer Values in SQL Server ( + Sign vs CONCAT ) - TSQL Tutorial Working with Databases is fun. On daily basis we save data into tables in different columns and often we need to write queries which involve concatenation of multiple columns of different datatypes to produce our final output. In below example we have saved some data into #Customer Table which has Street Address column as string and zip as INT. we want to produce Full Address by concatenating these columns. To concatenate we can use + sign but this works only with String values. So if we have any Integer value/s we have to convert them to String first. We can use Cast or Convert function to convert Integer value to string. Also if there is any Null value among which values we are concatenating , our output will be Null by using + sign. To take care of that part we can use either ISNULL() or Coalesce Function to replace NULL with blank value in SQL Server. In SQL Server 2012 and Later versions, CONCAT function was introduced. You can concatenate multiple values by using this function. Fun part of this function is you don't have to worry about Null outcome as it will Ignore Null values and also you don't have to worry about converting INT into strings, It will take care of that automatically. So if you are using new versions such as 2012 or later, start taking advantage of this function. Blog post link for the video with script http://sqlage.blogspot.com/2015/03/how-to-concatenate-string-and-integer.html
Views: 14343 TechBrothersIT
We keep storing numbers in string datatypes
 
06:53
A common problem in the database world is when we persist in putting numeric data into a string datatype...and then expect to sequence the data in numeric fashion. This quick tip looks at how to handle it, and covers an interesting AskTom question at the same time. ========================================­­­­============== Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Views: 616 Connor McDonald
Oracle DECOMPOSE Function
 
01:41
The Oracle DECOMPOSE function is used to transform a string into a Unicode string. It will split a character that has an accent, for example, into two characters. It’s the opposite of the COMPOSE function. The syntax of the DECOMPOSE function is: DECOMPOSE ( input_string [CANONICAL|COMPATIBILITY] ) The parameters of this function are: - input_string is the string that will be decomposed into separate character values in a string. It can be any character data type. - CANONICAL|COMPATIBILITY is an optional parameter and allows you to specify the mode of decomposition. CANONICAL is the default. CANONICAL means it can be re-composed with the COMPOSE function. COMPATIBILITY means that it can’t be re-composed, but it can be useful for katakana characters. For more information about Oracle SQL functions, visit Database Star: https://www.databasestar.com/sql-functions/
Views: 50 Database Star
SQL: Analytical Functions
 
09:20
In this tutorial, you'll learn how to use the analytical functions..
Views: 35093 radhikaravikumar
Using conversion function and condiional expressions
 
01:01:50
Conversion Functions Conversion Functions and Conditional Expressions Conversion Functions have following points : 1.conversion functions 1.1.Implicit Data Type Conversion 1.2.Explicit Data Type Conversion 2.Nesting Functions 3.General Functions 4.NVL Function 5.Conditional Expressions 6.DECODE Function 1.Using Conversion Functions and Conditional Expressions Conversion Functions Implicit Data Type Conversion Oracle server can automatically perform data type conversion in an expression. For example, the expression hire_date ’01-JAN-90′ results in the implicit conversion from the string ’01-JAN-90′ to a date. Therefore, a VARCHAR2 or CHAR value can be implicitly converted to a number or date data type in an expression.
Views: 57 ORACLE TAUGHT
Quickstart: Getting Started with Oracle and .NET
 
08:56
New to Oracle and .NET development? This video gives you everything you need to know to get up and running quickly! We walk you through downloading and installing the needed Oracle software and then connecting in Visual Studio and creating a simple C# application. The video starts at the Oracle .NET Developer Technology Center website at http://otn.oracle.com/dotnet We then download the "ODTwithODAC" package, extract it and run the installer. Note that ODAC version 12 works with Oracle Database versions 10.2 or higher. After installing we connect in Server Explorer and learn about the connection dialog features, including the Filters tab which by default filters out additional schemas you may have privileges on. We connect to the database using the easy to use EZ connect format. Finally we create a simple C# application and connect to the database using ODP.NET Managed driver and a EZ Config connect string. Prerequisites: 1) Visual Studio 2012 or 2013 -- any edition except Express Edition. Visual Studio Community Edition is supported. 2) An Oracle Database to connect to. You will need to know the hostname, port number and service name of the database. During the video we install: Oracle Data Provider for .NET Oracle Developer Tools for Visual Studio Oracle .NET Samples Oracle .NET Documentation
Views: 68707 Oracle .NET
VB6 and Oracle Connection using Connection String!
 
28:09
A COMPLETELY NO AUDIO VIDEO TUTORIAL!! Sorry for no sound guys!!!! Comment for Any HELP
Views: 5439 Manjunath Prabhakar
Oracle SUBSTR and INSTR example
 
06:00
In this video, we will see how to use Oracle SUBSTR and INSTR functions in a nested manner.
Views: 1850 Ganesh Anbarasu
Part 6   Transform rows into columns in sql server
 
08:53
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2014/06/part-6-transform-rows-into-columns-in.html This is another common sql server interview question. We will be using Countries table in this example. SQL to create the table Create Table Countries ( Country nvarchar(50), City nvarchar(50) ) GO Insert into Countries values ('USA','New York') Insert into Countries values ('USA','Houston') Insert into Countries values ('USA','Dallas') Insert into Countries values ('India','Hyderabad') Insert into Countries values ('India','Bangalore') Insert into Countries values ('India','New Delhi') Insert into Countries values ('UK','London') Insert into Countries values ('UK','Birmingham') Insert into Countries values ('UK','Manchester') Here is the interview question. Write a sql query to transpose rows to columns. Using PIVOT operator we can very easily transform rows to columns. Select Country, City1, City2, City3 From ( Select Country, City, 'City'+ cast(row_number() over(partition by Country order by Country) as varchar(10)) ColumnSequence from Countries ) Temp pivot ( max(City) for ColumnSequence in (City1, City2, City3) ) Piv
Views: 175572 kudvenkat
Oracle Database tutorials 4:  database connectivity using SQL developer and command prompt
 
09:19
Blog Link: http://bit.ly/how-to-create-new-connection-in-sql-developer Wishlist: http://bit.ly/wishlist-amazon This SQL tutorial and Oracle database 11g tutorial for beginners will show how to connect to database either on a local machine or on a machine in your LAN using ip address. Tool used in this tutorial is SQL developer & 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 Email [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/RebellionRider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos The Code makers
Views: 266062 Manish Sharma
SQL Consulting | Connect SQL Server To Oracle
 
10:56
Connect SQL Server To Oracle http://www.ReportingGuru.com This video shows how to connect SQL Server to Oracle with Linked Servers. Email us at [email protected] if you need help, custom reports, or reporting architecture setup. Our phone number is 1-(800) 921-4759 Reporting Guru is a US based development company with all resources located in the US. We have many senior level developers with over a decade of development experience. We offer the following services: Custom Report Writing | Consulting | Database Development & Integration. Some of our specialties are: --SQL Server Reporting Services SSRS / SQL Server / SQL Server Integration --Services SSIS / SQL Server Analysis Services SSAS --Custom Application Development / Maintenance --Oracle --MySQL --Crystal Reports / Business Objects --BIRT --.NET Development --PHP Development --SharePoint --Microsoft Dynamics --Access --Excel and Pivot Tables --More! CUSTOM REPORT WRITING Our experienced data report writers take your report & business requirements to build the custom reports you need. We deliver reports on demand or on a timed schedule. CONSULTING When your data and reporting team needs guidance or whether you need to build new reports, convert reports, enhance existing reports or need advice on finding the right reporting solution for your business ReportingGuru is here to help. DATABASE DEVELOPMENT & INTEGRATION We create and develop the necessary structure to house business data in a clear and easily accessible manner, so you have the tools to pull the reports you need easily. CUSTOM SOFTWARE & APPS We also offer custom applications for our clients like our Dashboard Guru and Quickbooks Enterprise Connector http://www.reportingguru.com/products/. Reporting Guru's dashboarding software will give interactivity to static web based reports. Our Quickbooks Connector will pull data from Quickbooks into a database for custom reporting purposes. Please let us know if you would like to discuss your requirements or issues free of charge. Our process is taking your requirements and suggesting the best architecture or approach without trying to sell you any specific software. We work as needed and only charge for the hours we work. We do not charge a retainer and there is no minimum charge. Connect SQL Server To Oracle http://www.ReportingGuru.com Email us at [email protected] or call 1-(800) 921-4759.
Views: 49535 Reporting Guru
How to use Number Functions in Oracle
 
07:37
This SQL tutorial and oracle database 11g tutorial for beginners it will show you how to use Number Function in detail to retrieve data It will build up your logic how we use Number Function statements. Tool used in this tutorial is SQL developer. If you are preparing for SQL certification you can use my tutorials. These SQL tutorial is a part of free training. Email [email protected] Facebook. https://www.facebook.com/himanshu dovriyal Thanks for watching,linking,commenting,sharing my videos ============ I will try my best to give you perfect knowledge about this full course. ===============
Views: 24 Oracle Life
Count Number of Occurrences of a Character in String ASP.NET C#
 
05:09
In this ASP.NET Video tutorial, i am going to show you, Occurrence of character in given string. Suppose you have a string like 'billy' then this program show that how many times character 'b' is in it.
Views: 933 ASPNET WEBFORM
SQL Aggregation queries using Group By, Sum, Count and Having
 
10:01
From SQL Queries Joes 2 Pros (Vol2) ch4.1. Learn up to write aggregated queries.
Views: 158933 Joes2Pros SQL Trainings
Using DBMS_RANDOM for test data
 
01:07
blog: https://connor-mcdonald.com In less than 60 seconds, learn how to use DBMS_RANDOM to give repeatable test data.
Views: 204 Connor McDonald
SQL RIGHT() Function
 
01:29
The SQL RIGHT() is a function, and extracts substring or number of characters from a given input string or text.
Views: 102 suresh babu
Oracle DUMP Function
 
03:04
https://www.databasestar.com/oracle-dump/ The Oracle DUMP function tells you the data type of an expression you specify. Specifically, this function returns a string that explains what type of data it is, along with the length, and an internal representation. The syntax of the DUMP function is: DUMP ( expression [, return_format] [, start_position] [, length] ) The parameters of this function are: - expression: this is the expression that will be looked at and will have information displayed from this function. It can be a column or any other kind of expression. - return_format: this is the format of the data to return. - start_position: this is the starting position of the expression to return the internal representation for. Does not impact the data type shown. - length: this is the length from the start_position that the internal representation of the expression is shown for. The DUMP function returns a VARCHAR2 data type. For more information about the Oracle DUMP function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-dump/
Views: 34 Database Star
PLS-2: My First PL/SQL Program
 
11:34
For Full Course Experience Please Go To http://mentorsnet.org/course_preview?course_id=5 Full Course Experience Includes 1. Access to course videos and exercises 2. View & manage your progress/pace 3. In-class projects and code reviews 4. Personal guidance from your Mentors Goal is to write your first PL/SQL program. The basic program unit in PL/SQL is the block. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords partition the block into a declarative part, an executable part, and an exception-handling part. Example of a Block DECLARE bonus NUMBER(8,2); emp_id NUMBER(6) := 100; BEGIN SELECT salary * 0.10 INTO bonus FROM employees WHERE employee_id = emp_id; Exception When NO_DATA_FOUND THEN null ; END; This is a typical PL/SQL block where 10% of salary is selected and stored on a temp variables bonus. If for some reason there is no employee with empid = 100 then the control will come to exception area and the code in the exception area will be executed. These blocks can be entirely separate or nested one within another. The basic units (procedures and functions, also known as subprograms, and anonymous blocks) that make up a PL/SQL program are logical blocks, which can contain any number of nested sub blocks. Therefore, one block can represent a small part of another block, which in turn can be part of the whole unit of code. Anonymous Blocks Anonymous blocks are unnamed blocks. They are declared at the point in an application where they are to be executed and are passed to the PL/SQL engine for execution at run time. You can embed an anonymous block within a pre-compiler program and within iSQL*Plus or Server Manager. Triggers in Oracle Developer components consist of such blocks. Subprograms Subprograms are named PL/SQL blocks that can accept parameters and can be invoked. You can declare them either as procedures or as functions. Generally use a procedure to perform an action and a function to compute a value. You can store subprograms at the server or application level. Using Oracle Developer components (Forms, Reports, and Graphics), you can declare procedures and functions as part of the application (a form or report) and call them from other procedures, functions, and triggers (see next page) within the same application whenever necessary. Note: A function is similar to a procedure, except that a function must return a value.
Views: 63581 Oresoft LWC
Oracle Database Bangla Tutorials 12 :: Sql Function (number function)
 
05:59
www.facebook.com/oracle.shohag email : [email protected] website : www.oraclebangla.com topics : sql Function (number function)
Views: 3056 Oracle Bangla
SQL 037 Data Types, Character String, NCLOB or National Character Large OBject
 
01:19
Explains the SQL NCLOB or National Character Large OBject data type. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and SQL Server.
Views: 296 cbtinc
SQL 032 Data Types, Character String Data, CHAR or CHARACTER
 
01:40
Explains the SQL CHAR or CHARACTER data type. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and SQL Server.
Views: 512 cbtinc
how to connect C# with Oracle database
 
05:47
Connecting c# with oracle database, c# with oracle database, ORA 012154 solved, solving ORA 012154,ORA-12154: TNS:could not resolve the connect identifier specified [solved], solving ORA-12154: TNS:could not resolve the connect identifier specified Visit me at : http://www.safaaalhayali.com/ and like us at: https://www.facebook.com/ITrealm Thanks
Views: 22502 Safaa Al-Hayali