Home
Search results “Oracle check index”
Oracle Indexes - Beginner
 
12:12
Oracle Indexes - Beginner
Views: 63981 Chris Ostrowski
What is Index Scan ,Index Seek and Table Scan?
 
06:34
An index scan or table scan is when SQL Server has to scan the data or index pages to find the appropriate records. index seek happens when data is searched among the index.Please watch full video for detail.
Views: 17207 SqlIsEasy
SQL Server training and interview question:-What is index and how does it make your search faster ?.
 
11:35
For more such videos visit http://www.questpond.com See our other Step by Step video series below :- Learn Angular tutorial for beginners https://tinyurl.com/ycd9j895 Learn MVC Core step by step :- http://tinyurl.com/y9jt3wkv Learn MSBI Step by Step in 32 hours:- https://goo.gl/TTpFZN Learn Xamarin Mobile Programming Step by Step :- https://goo.gl/WDVFuy Learn Design Pattern Step by Step in 8 hours:- https://goo.gl/eJdn0m Learn C# Step by Step in 100 hours :- https://goo.gl/FNlqn3 Learn Data structures & algorithm in 8 hours :-https://tinyurl.com/ybx29c5s Learn SQL Server Step by Step in 16 hours:- http://tinyurl.com/ja4zmwu Learn Javascript in 2 hours :- http://tinyurl.com/zkljbdl Learn SharePoint Step by Step in 8 hours:- https://goo.gl/XQKHeP Learn TypeScript in 45 Minutes :- https://goo.gl/oRkawI Learn webpack in 50 minutes:- https://goo.gl/ab7VJi Learn Visual Studio code in 10 steps for beginners:- https://tinyurl.com/lwgv8r8 Learn Tableau step by step :- https://tinyurl.com/kh6ojyo Preparing for C# / .NET interviews start here http://www.youtube.com/watch?v=gaDn-sVLj8Q In this SQL Server training video we will understand what are indexes and how they make your search faster. We also run through the fundamentals of B-tree or balanced tree structure. Its also one of those favourite SQL Server interview questions which is asked in SQL Server interviews. We are also distributing a 100 page Ebook "Sql Server Interview Question and Answers". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on [email protected] with the shared link and we will email you the PDF.
Views: 222784 Questpond
Real-World Performance - 15 - Index Contention
 
19:46
Check out the entire series on the Oracle Learning Library at http://www.oracle.com/goto/oll/rwp In this video, listen and watch Andrew Holdsworth, Vice President of Oracle Database Real-World Performance at Oracle Corporation, as he explains how index contention affects performance. Copyright © 2014 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. 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 of merchantability, fitness for a particular purpose, and non-infringement.
SQL Server Interview Question | What is the difference Between Index Rebuild and Index Reorganize
 
03:55
In this video you will be learning how to answer SQL Server DBA interview Question "What is the difference Between Index Rebuild and Index Reorganize?" Complete list of SQL Server DBA Interview Questions by Tech Brothers http://sqlage.blogspot.com/search/label/SQL%20SERVER%20DBA%20INTERVIEW%20QUESTIONS
Views: 18165 TechBrothersIT
Oracle SQL_TRACE - Beginner
 
11:31
Oracle SQL_TRACE - Beginner
Views: 20751 Chris Ostrowski
Indexes in sql server   Part 35
 
11:14
In this video we will learn about What are indexes Why do we use indexes Advantages of indexes These concepts are applicable to sql server 2000, 2005 and 2008 Text version of the video http://csharp-video-tutorials.blogspot.com/2012/09/indexes-in-sql-server-part-35.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-35-indexes.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 358768 kudvenkat
Harrows Oracle 23g Darts Review
 
12:16
http://www.dartsnutz.net/forum/ A review of the Harrows Oracle from the Harrows 2019 range. These have the new Cutterhead grip and have a black ti coating and a jade mettalic coating. They are 90% tungsten and I am reviewing the 23g version. For more info, pics and conclusion check the forum review here: Custom made darts shirt made by Red Lips Design: https://www.facebook.com/redlipsdesign/ Video Index: Intro: 00:14 Box & Contents: 00:53 Close Look: 02:02 Detailed Dimensions: 04:38 Weight: 05:18 Balance: 05:47 Darts In Action: 06:08 Flight Slow-Mo: 09:26 Conclusion: 10:14 Outro: 11:58 Be sure to subscribe to Darts Review Channel for the best most detailed darts review on the internet. Also check out our darts forum with over 11,000 members from all over the world and join the Darts Nutz community! We have lots of great info and darts chat at Darts Nutz darts forum, so why not join our friendly community :) We have all kinds of sections that can help with your game such as Darts practice Routines, Darts Advice and Tips, General Darts Chat as well as Prize Competitions! Join us at the best Darts Forum on the net and become Darts Nutz! Darts Forum: https://www.dartsnutz.net/forum/ Some useful darts links and videos: Best Site For Cheap Great Quality And Value Bargain Darts: https://www.youtube.com/watch?v=ZWuB8PsgpI4 Darts Coaching Help And Advice For Beginners And Advanced With Dynamite Dave: https://www.youtube.com/watch?v=9YVYwt17dx0 Darts for beginners: https://www.dartsnutz.net/forum/forumdisplay.php?fid=29 How To Choose The Right Darts: https://www.dartsnutz.net/forum/showthread.php?tid=1500 How To Hit Your First 180 In Darts: https://www.dartsnutz.net/forum/showthread.php?tid=5294 How to find your perfect darts: https://www.dartsnutz.net/forum/showthread.php?tid=25229 Darts Practice: https://www.dartsnutz.net/forum/forumdisplay.php?fid=30 soft tip darts: https://www.dartsnutz.net/forum/forumdisplay.php?fid=64 Darts Tips & Hacks: How to remove a broken darts stem - shaft: https://www.youtube.com/watch?v=ir6sA_6TiB0 Darts Tips & Hacks: How to fix a loose stem - shaft: https://www.youtube.com/watch?v=kMy-0SGyFGE Darts Too Light? Make Them Heavier! How to increase the weight of your darts with tungsten putty: https://www.youtube.com/watch?v=HTb9q8og96c Quietest Dartboard ? 5 boards tested: https://www.youtube.com/watch?v=9AoBouYeutQ Dartboard Segment Sizes Compare 1978 to 2016: https://www.youtube.com/watch?v=SNVr9wyxpkE How I Throw Darts in Slow Motion: https://www.youtube.com/watch?v=PT9iflvh6nY Great Daily Darts Practice Routine: https://www.youtube.com/watch?v=Jy4lw4CMBEk VSPhoenix UK Soft Tip Darts Experience and review: https://www.youtube.com/watch?v=AZlvI2zpVTQ Wayne Mardle blows darts out of mouth at double 10: https://www.youtube.com/watch?v=kg0u9AimDvI Tungsten compared with other metals: https://www.youtube.com/watch?v=FMG6g8xEVs0 Best Darts Of 2017 My Top Ten Favourites: https://www.youtube.com/watch?v=r3ioV0YFslw Best Darts of 2016 My Top Ten Favourites: https://www.youtube.com/watch?v=M19tegGDrDk Best Darts of 2015 - My Top Ten Favourites: https://www.youtube.com/watch?v=Zt0y94_P8-8 Darts Reivew Channel Playlist: Bulls Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yXY7hsODbZ0ujA99evi03vZ Bulls Fighter Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yVPTljaod4IA9py0LObPTQt Cuesoul Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yXN30iouSHgcl0trePlMAkF Elkadart Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yWbE7u2qO_MI9Rs2vDHl2jH Harrows Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yW5uFisK9KxNCnYqxiIX9JS L-Style Darts Products Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yVsH9NHQvy8piG99JjqpUYg One80 Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yVimsRJi07y-z_vvCDTbB-E Pentathlon Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yUJSEdRPj7L7IcIxQ7PWzkI Shot Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yU2-DYUl8suObJyl3_3S0pO ShowTime Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yXYWCjKAyVlz6OkaPqaqqD3 Target Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yXnNiZdtiouSCALR2Ya6y1z The Darts Factory Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yVPmNBub8rGuMX4qHH3LfQd Unicorn Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yWJJ5_CWflqbhWb-rNgfy41 Voks Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yUfU-U4ViG4GFvbuRGQZ_q5 Winmau Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yXPqn4DYoIG2zBVntoeCilt Dartboard Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yXOCHUphNq6zmjI3fNkOUe1 Soft Tip Darts Reviews: https://www.youtube.com/playlist?list=PLg-1hWYfc-yWrVkFjeiYeibdOFga6ewjL
Views: 3377 Darts Review Channel
OHMPI Demo - Oracle Healthcare Master Person Index, Master Index Data Manager, Part 2
 
40:45
Watch in full screen at high resolution! Software demonstration of Master Index Data Manager, the web based GUI for managing the MPI. Potential duplicate management, assumed match list, dashboards, reports. Part 2 of 4.
Views: 1279 HealthIT2
Oracle - SQL - Check Constraint
 
04:15
Oracle - SQL - Check Constraint Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited.
PostGreSQ - Index Domain
 
09:06
Curso Oracle PL/SQL Essentials http://bit.ly/1N3upVn Curso Oracle SQL Expert - Certificação 1Z0-047 http://bit.ly/1G4rKWG Curso Oracle Aprendendo SQL - Preparatório exames 1Z0-051/1Z0-061 http://bit.ly/1eqDlsr Curso de Administração de Redes de Computadores http://goo.gl/nXjaXS Que tal Aprender PHP Orientado a Objetos do Jeito Certo? Aprender a Criar um Framework PHP, Seu Próprio Painel de Controle e um Guia Comercial! http://goo.gl/Yy3QvB Curso de PostgreSQL - Aprenda neste ótimo curso completo de PostgreSQL conceitos desde a introdução, passando pela instalação, conceitos de bancos de dados, modelagem e programação SQL. Ao fazer o Curso de PostgreSQL você estará apto a desempenhar funções como administrador de bancos de dados PostgreSQL. Este Curso de PostgreSQL foi desenvolvido com uma didática simples e de facil entendimento. O Curso é oferecido gratuitamente aqui porém caso tenha interesse em se aprofundar e aprender outros sistemas de bancos de dados a fundo acesse os links acima. Também acesse o link de administração de redes de computadores para mais conhecimento nesta área tornando-se um profissional completo. Tags: postgresql cursos gratuitos banco de dados sgbd
Views: 2299 Cursos Interativos
Indexed views in sql server   Part 41
 
13:40
In this video we will learn about, creating indexed views. A unique clustered index, is the first index that should be created on a view. Indexed views are also called as materialized views Text version of the video http://csharp-video-tutorials.blogspot.com/2012/09/indexed-views-in-sql-server-part-41.html Slides http://csharp-video-tutorials.blogspot.com/2013/09/part-41-indexed-views.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 147185 kudvenkat
Performance Tuning of SGA using AMM in oracle 11gR2
 
16:02
Hello friends in my today scenario i briefly explain how to manage and tune automatically SGA AND PGA via Automatic memory management feature that is release in 11gR2. #PerformanceTuning #SGA #AMM
Views: 6542 Oracle World
MSSQL   Check if index exists and if exists delete it
 
01:57
More: http://howtodomssqlcsharpexcelaccess.blogspot.ca/2016/02/mssql-check-if-index-exists-and-if.html
Views: 423 Vis Dotnet
Oracle Tutorial - 10 - indexes
 
10:36
Oracle PL/SQL Query Database. Check more videos on IT courses on iAspireAcademy.org
Views: 22465 iAspireAcademy
Clustered vs. Nonclustered Index Structures in SQL Server
 
08:04
Clustered and nonclustered indexes share many of the same internal structures, but they're fundamentally different in nature. Watch Microsoft Certified IT Professional Jon Seigel explain the similarities and differences of clustered and nonclustered indexes, using a real-world example to show how these structures work to improve the performance of SQL queries. Blog post on primary key vs. the clustered index: http://voluntarydba.com/post/2012/10/02/The-Primary-Key-vs-The-Clustered-Index.aspx CREATE INDEX statement reference: http://technet.microsoft.com/en-us/library/ms188783.aspx ALTER INDEX statement reference: http://technet.microsoft.com/en-us/library/ms188388.aspx Index navigation internals by example: http://sqlblog.com/blogs/paul_white/archive/2011/08/09/sql-server-seeks-and-binary-search.aspx Sample index data is from the AdventureWorksLT2008R2 sample database: http://awlt2008dbscript.codeplex.com/releases/view/46169 Visit my channel for more database administration videos: https://www.youtube.com/voluntarydba Subscribe to get notified about my latest videos: https://www.youtube.com/voluntarydba?sub_confirmation=1 Read additional content on my blog: http://voluntarydba.com Follow on Twitter: https://twitter.com/voluntarydba Like on Facebook: https://facebook.com/voluntarydba
Views: 275685 Voluntary DBA
ORACLE Technical Interview Question And Answers
 
01:25
ORACLE Technical Interview Question And Answers @ http://www.blog.latestoffcampus.com/2013/11/oracle-technical-interview-question.html ---------------------------------------------------------------------------------------------------------- 1.What are the components of physical database structure of Oracle database? Ans.Oracle database is comprised of three types of files. One or more datafiles, two are more redo log files, and one or more control files. 2.What are the components of logical database structure of Oracle database? Ans.There are tablespaces and database's schema objects 3.How do you switch from an init.ora file to a spfile? Ans.Issue the create spfile from pfile command. 4.What is a CO-RELATED SUBQUERY Ans.CO-RELATED SUBQUERY is one that has a correlation name as table or view designator in the FROM clause of the outer query and the same correlation name as a qualifier of a search condition in the WHERE clause of the subquery. 5.What is SYSTEM tablespace and when is it created? Ans.Every Oracle database contains a tablespace named SYSTEM, which is automatically created when the database is created. The SYSTEM tablespace always contains the data dictionary tables for the entire database. 6.What are various joins used while writing SUBQUERIES Ans.Self join-Its a join foreign key of a table references the same table. Outer Join-Its a join condition used where One can query all the rows of one of the tables in the join condition even though they don't satisfy the join condition. Equi-join-Its a join condition that retrieves rows from one or more tables in which one or more columns in one table are equal to one or more columns in the second table 7.What is schema? Ans.A schema is collection of database objects of a user. 8.Give the reasoning behind using an index. Ans.Faster access to data blocks in a table. 9.What type of index should you use on a fact table? Ans.A Bitmap index. 10.What are various constraints used in SQL Ans NULL NOT NULL CHECK DEFAULT 11.What are different Oracle database objects Ans. TABLES VIEWS INDEXES SYNONYMS SEQUENCES TABLESPACES etc 12.What command would you use to encrypt a PL/SQL application? Ans.WRAP 13.What is difference between Rename and Alias Ans.Rename is a permanent name given to a table or column whereas Alias is a temporary name given to a table or column which do not exist once the SQL statement is executed. 14.What is a view Ans.A view is stored procedure based on one or more tables, its a virtual table 15.What are various privileges that a user can grant to another user Ans. SELECT CONNECT
Views: 921 Latestoffcampus
Why Is My Query Slow? More Reasons Storing Dates as Numbers Is Bad
 
05:25
Storing dates as numbers can cause unexpected problems. In this video Chris looks at one possible issue: inconsistent query performance. He then shows methods you can use to improve performance, including function-based indexes and histograms. ============================ The Magic of SQL with Chris Saxon 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: 6676 The Magic of SQL
Oracle view with check option
 
14:53
Recorded with http://screencast-o-matic.com
Views: 404 Let's Talk
Clustered and nonclustered indexes in sql server   Part 36
 
16:49
In this video we will learn about 1. Different types of indexes in sql server 2. What are clustered indexes 3. What are NonClustered indexes 4. Difference between clustered and non clustered indexes Text version of the video http://csharp-video-tutorials.blogspot.co.uk/2012/09/clustered-and-non-clustered-indexes.html Slides http://csharp-video-tutorials.blogspot.com/2013/09/part-36-clustered-nonclustered-indexes.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 440632 kudvenkat
Using Splunk Internal Indexes to Audit Security, Users, Searches and more.
 
07:05
Use the Splunk internal audit index to find people trying to access your Splunk servers and users running inefficient searches.
Views: 6933 Splunk How-To
SQL: Explain Plan for knowing the Query performance
 
05:17
In this tutorial, you'll learn how to compare queries to know the better performance query..
Views: 93112 radhikaravikumar
Oracle tutorial : Using execution plan to optimize query in oracle
 
12:54
Oracle tutorial: Explain plan for query optimization in Oracle PLSQL oracle tutorial for beginners using execution plan to optimize query sql query analyzer sql query cost analysis https://techquerypond.wordpress.com This oracle tutorial show you how to use EXPLAIN PLAN in oracle. This video covers how to check cost of the query from DBMS_XPLAN.DISPLAY . You can find the cost of the query using the Using EXPLAIN PLAN FOR and based on the result you can optimize the query for faster performance. Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://twitter.com/techquerypond
Views: 9020 Tech Query Pond
20 Working with Clustered Indexes
 
21:50
with Arabic content by easy way to learn شرح بالعربي
SQL Server tutorial 81: Rebuilding Indexes
 
06:56
How to rebuild an index with SSMS or T-SQL. For more info, or a copy of any of the scripts used in any of my tutorials, please email me at [email protected]
Views: 12240 Johnny Deluca
T-SQL - Using Index
 
06:55
T-SQL - Using Index Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited
Changing Orders Database Index
 
01:16
Change the database index on the orders table of the WordPress Shopping Cart plugin http://tribulant.com/plugins/view/10/wordpress-shopping-cart-plugin
Views: 726 Antonie Potgieter
Oracle Performance Tuning - Read and interpret Explain Plan
 
17:43
Connect with me or follow me at https://www.linkedin.com/in/durga0gadiraju https://www.facebook.com/itversity https://github.com/dgadiraju https://www.youtube.com/c/TechnologyMentor https://twitter.com/itversity
Views: 36637 itversity
How to Install Oracle! !! Database Training
 
01:50
For Complete Database Training Details Visit: http://www.qaonlinetraining.com http://infotek-solutions.com/ Delivery Method: Instructor led classroom and Online Training supported by world class Learning management system which automate all flow of lectures, videos, assignments, forums, quizzes and interview process. Class Schedule: Week-ends and Weekdays Contact Us: 571-437-0652, Mail Us: [email protected] Training Locations at : Ashburn / Fairfax / Maryland Office Address: 12801 Worldgate Dr #500, Herndon, VA 20170 Overview of Oracle DBA Training Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles (VP of DBA, developer DBA, production DBA, database babysitter) The changing job role of the Oracle DBA Environment management (network, CPU, disk and RAM) Instance management (managing SGA regions) Oracle table and index management Instance Architecture Instance vs. database Components of an instance Creating the OFA file structure ($DBA, bdump, udump, pfile) Oracle Instance Internals SGA vs. PGA Background processes Interfaces with server and disk I/O subsystem Using SQL*Plus for DBA management Connecting and executing SQL Using the “as sysdba” syntax Overview of SQL*Plus DBA commands (startup, etc.) Control file, UNDO and REDO management Explaining the use of control files Listing the Contents of the control File File locations for control Files Obtaining Control File Information Listing control file contents Displaying and Creating Undo segments Altering Undo Segments Determining the Number and Size of Undo segments Understanding flashback technology Troubleshooting Undo – snapshot too old Redo log concepts for recovery Online redo log (log_buffer) online redo logs and archived redo logs Oracle ARCH and LGWR background processes Redo log dictionary queries Redo log switch frequency and performance Multiplexing the Online Redo Log Files Archiving the Oracle Redo Logs Recovery using the redo log files User and privilege management The three security methods (VPD, Grant security/role-based security, grant execute) Creating New Database Users Using pre-spawned Oracle connections Auditing User activity Identifying System and Object Privileges Granting and Revoking Privileges Creating and Modifying Roles Displaying user security Information from the Data Dictionary Overview of instance management Parameter files (init.ora, listener.ora, tnsnames.ora) Rules for sizing SGA components Automated Oracle memory management (AMM) Initialization file management Creating the init.ora file Using spfile Displaying init.ora values with v$parameter Oracle*Net configuration Creating the listener.ora file Creating the tnsnames.ora file Data buffer configuration & sizing Inside the Oracle data buffers Using the KEEP pool Monitoring buffer effectiveness Using multiple blocksizes (multiple buffer pools) Shared pool and PGA configuration & Sizing Shared pool concepts and components Understanding the library cache Relieving shared pool contention Overview of PGA for sorting and hash joins Using sort_area_size, hash_area_size and pga_aggregate_target Troubleshooting network connectivity Verifying network connectivity with ping and tnsping Testing database links Oracle tables, views and materialized views Types of Oracle tables (regular, IOT, sorted hash clusters, nested tables) Oracle Views Oracle materialized views Oracle indexes Types of Oracle indexes (b-tree, bitmap, bitmap join index) Creating B*-Tree, bitmap and function-based Indexes Function-based indexes Finding indexing opportunities Index maintenance Oracle constraints Costs & benefits of constraints Types of Oracle indexes constraints (check, not null, unique, PK, FK) Cascading constraints Schema, File & tablespace management Describing the relationship between data files, tablespaces and table Understanding Oracle segments Creating Tablespaces – using the autoextend option Changing the Size of Tablespaces – alter database datafile command Defining a TEMP tablespace Changing the default storage Settings for a tablespace Review of the storage parameters in DBA views (ASM, ASSM, pctfree, pctused and freelists). Monitoring Chained rows (fetch continued rows) Monitoring Insert and Update performance (pctused, APPEND) Database Maintenance Reason for reorgs – chained rows, imbalanced freelists Reorganizing Tables using Export and Import Using CTAS to reorganize data Index rebuilding Backup & Recovery overview (hot & cold Backups, RMAN, block change tracking) Oracle DBA Utilities Data pump (Imp and exp utilities) SQL*Loader LogMiner Flashback DataGuard Oracle DBA utilities – Oracle dbms packages (dbms_redefinition)
How to Install Java JDK on Windows 10 ( with JAVA_HOME )
 
08:56
In this video I am going to show you How to install Java JDK on Windows 10 ( with JAVA_HOME ). Java installer .msi file comes with JRE and JDK. Java JDK Installation for Microsoft Windows (64-bit). JDK stands for Java SE Development Kit. JRE stands for Java Runtime Environment. 1. Download Java Open your web browser Type URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html to go to Oracle download page Click on button “ JDK download ” for Java SE update 4. This will lead you JDK download page http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html Accept oracle license agreement Find and click on the correct jdk download link right for your operating system to download Save the file to disk 2. Install Java Double click to run the download file Just follow the prompt in Installer window #Javatutorialforbeginners #Javatutorial #Javaprogramming #Javaprogrammingtutorial #Javabasicsforbeginners ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter -------------------Online Courses to learn---------------------------- Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z
Views: 1099204 ProgrammingKnowledge
Part 1   How to find nth highest salary in sql
 
11:45
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/05/part-1-how-to-find-nth-highest-salary_17.html This is a very common SQL Server Interview Question. There are several ways of finding the nth highest salary. By the end of this video, we will be able to answer all the following questions as well. How to find nth highest salary in SQL Server using a Sub-Query How to find nth highest salary in SQL Server using a CTE How to find the 2nd, 3rd or 15th highest salary Let's use the following Employees table for this demo Use the following script to create Employees table Create table Employees ( ID int primary key identity, FirstName nvarchar(50), LastName nvarchar(50), Gender nvarchar(50), Salary int ) GO Insert into Employees values ('Ben', 'Hoskins', 'Male', 70000) Insert into Employees values ('Mark', 'Hastings', 'Male', 60000) Insert into Employees values ('Steve', 'Pound', 'Male', 45000) Insert into Employees values ('Ben', 'Hoskins', 'Male', 70000) Insert into Employees values ('Philip', 'Hastings', 'Male', 45000) Insert into Employees values ('Mary', 'Lambeth', 'Female', 30000) Insert into Employees values ('Valarie', 'Vikings', 'Female', 35000) Insert into Employees values ('John', 'Stanmore', 'Male', 80000) GO To find the highest salary it is straight forward. We can simply use the Max() function as shown below. Select Max(Salary) from Employees To get the second highest salary use a sub query along with Max() function as shown below. Select Max(Salary) from Employees where Salary [ (Select Max(Salary) from Employees) To find nth highest salary using Sub-Query SELECT TOP 1 SALARY FROM ( SELECT DISTINCT TOP N SALARY FROM EMPLOYEES ORDER BY SALARY DESC ) RESULT ORDER BY SALARY To find nth highest salary using CTE WITH RESULT AS ( SELECT SALARY, DENSE_RANK() OVER (ORDER BY SALARY DESC) AS DENSERANK FROM EMPLOYEES ) SELECT TOP 1 SALARY FROM RESULT WHERE DENSERANK = N To find 2nd highest salary we can use any of the above queries. Simple replace N with 2. Similarly, to find 3rd highest salary, simple replace N with 3. Please Note: On many of the websites, you may have seen that, the following query can be used to get the nth highest salary. The below query will only work if there are no duplicates. WITH RESULT AS ( SELECT SALARY, ROW_NUMBER() OVER (ORDER BY SALARY DESC) AS ROWNUMBER FROM EMPLOYEES ) SELECT SALARY FROM RESULT WHERE ROWNUMBER = 3
Views: 836993 kudvenkat
SQL Constraints - NOT NULL , UNIQUE , PRIMARY KEY , FOREIGN KEY , CHECK , INDEX , default
 
10:17
SQL is a standard Structured query language for storing, manipulating and retrieving data in databases. NOT NULL , UNIQUE , PRIMARY KEY , FOREIGN KEY , CHECK , INDEX , default 1) NOT NULL - Ensures that a column cannot have a NULL value 2) UNIQUE - Ensures that all values in a column are different 3) PRIMARY KEY - A combination of a NOT NULL and UNIQUE. Uniquely identifies each row in a table 4) FOREIGN KEY - Uniquely identifies a row/record in another table. The table containing the foreign key is called the child table, and the table containing the candidate key is called the referenced or parent table. prevents invalid data and destroy links between tables. 5) CHECK - Ensures that all values in a column satisfies a specific condition 6) DEFAULT - Sets a default value for a column when no value is specified 7) INDEX - Used to create and retrieve data from the database very quickly.
Views: 10 R K
SQL: Check Constraint
 
05:11
In this tutorial, you'll learn how to make use of check constraint. PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 11418 radhikaravikumar
Oracle SQL Tuning - How to Read Execution Plans (Explain Plan)
 
13:39
In this free tutorial you will learn how to generate and read (interpret) an execution plan in Oracle Databases. See more FREE Oracle Tuning tutorials at http://skillbuilders.com/free-oracle-tutorials. Understanding what the Oracle Database does with your SQL is essential to tuning - and the execution plan is the key. Oracle Certified Master DBA John Watson will provide a brief introduction (4 minutes) - which includes John's tuning methodology, then demonstrate EXPLAIN PLAN, SQL*Plus AUTOTRACE and DBMS_XPLAN.DISPLAY_CURSOR. In the tutorial, John will teach you: - How to read an execution plan - Find the 1st step in the plan - Decipher the order of the steps in the plan - That EXPLAIN PLAN can be very misleading Prerequisites: To get the most from this tutorial, you should: 1 Know how to code SQL 2 Be familiar with SQL*Plus 3 Know - in very general terms - what an execution plan is. 4 Have a basic understanding of the Library Cache (this is where Oracle Database stores parsed SQL statements) 5 Have a basic understanding of the Cost Based Optimizer (this is the part of the database that parses your SQL, creates an execution plan. Hopefully the correct - most efficient - plan).
Views: 62597 SkillBuilders
Indexes Table Filter SQL Command window - Hindi
 
10:34
Indexes, Table Filter, SQL Command window
Set business rules with check constraints in oracle.
 
19:01
Check constraint is used to validate data according to business logic, whether it be limiting the value range or allowing some specific string format or data format. This oracle tutorial is about how to add, remove, enable or disable check constraints in oracle 12c. Here are the list of ddl commands for check constraint: ALTER TABLE table_name ADD CONSTRAINT constraint_name CHECK column_name condition [DISABLE]; ALTER TABLE table_name DROP CONSTRAINT constraint_name; ALTER TABLE table_name ENABLE CONSTRAINT constraint_name; ALTER TABLE table_name DISABLE CONSTRAINT constraint_name;
Views: 475 Subhroneel Ganguly
Oracle SQL Tutorial 19 - ON DELETE (SET NULL and CASCADE)
 
05:59
Welcome everyone! Something you need to consider when you are creating foreign keys is what happens if you delete the parent? As a reminder, the parent is the row that has the value you are referencing in the row that has a foreign key. Why is this something important to consider? It's important because foreign keys need to protect us from two primary things, unacceptable INSERT statements, and unacceptable DELETE statements. Let's see what happens when we try to insert incorrect data into the table with the foreign key: INSERT INTO projects VALUES (1, 'Update website homepage', 'CalebCurry') The response tells us plainly that there is no such user in the users table. So this works correctly. Deleting data on the other hand works a bit differently because the database does not know what you want to do with the child row when you delete the parent from the parent table. By default, we will get an error message that prevents the parent from being deleted, but there are some other options. How do we configure this? This is where the ON DELETE statement comes in. We add the keywords ON DELETE right after the foreign key and then we can give it the option of CASCADE or SET NULL. CASCADE means that if we delete the parent, we are also going to delete the child. In our situation what that means is that if somebody creates a project in our project table and then that persons account gets deleted, all of the projects he owns will also be deleted. CASCADE: 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) ON DELETE CASCADE ) SET NULL will take the value in the child table and get rid of it. What you are left with is NULL. This means that we have an orphaned child. The first thought you might have is that it is a bad thing to have an orphaned child, but in databases that is not always so. In our application if we had it set to SET NULL, when a user account gets deleted the projects would remain in existence they would just lack a creator. This might be a good thing if you are concerned about the long term survival of a project, this might be the route you want to go. It ultimately depends on the application purpose. If you don't like CASCADE or SET NULL, you can leave the entire ON DELETE statement and just have Oracle throw an error when a parent is deleted. As for us, we are going to use ON DELETE CASCADE. We need to use this with extreme caution. If you are not careful, someday you will run a delete a row and that will cascade through you database deleting a bunch of stuff you didn't want to delete. Stuff happens, so make sure you back up your database every once in eternity. Now, in the last video we started with a database design that had three tables. We've only created two in this video. In the next video we are going to create the next one, which is a little special. Then we'll finish things up by adding some indexes. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 13337 Caleb Curry
Oracle SQL Tutorial For Beginners | Oracle SQL Online Training - Session 2
 
01:03:12
Course : Oracle SQL Online Training Mode of Training : Online Duration : 40 Hours Timings : Flexible Oracle SQL Online Training Demo Registration Link : http://svsoftsolutions.com/demo.aspx Introduction to SQL What is SQL? What Can SQL do? RDBMS SQL Syntax Database Tables SQL Statements Overview of Most Important SQL Commands SELECT UPDATE DELETE INSERT CREATE TABLE ALTER TABLE DROP TABLE CREATE INDEX DROP INDEX SQL SELECT Statement SELECT syntax Demo Database SELECT Column Example SELECT * Example SQL Distinct SELECT DISTINCT Statement SELECT DISTINCT Syntax SELECT DISTINCT Example SQL WHERE Clause WHERE Clause WHERE Clause Example Operators in the WHERE Clause SQL AND & OR Operators AND Operator Example OR Operator Example Combining AND & OR SQL ORDER BY ORDER BY Syntax ORDER BY Example ORDER BY DESC Example ORDER BY Several Column Examples SQL Insert Into INSERT INTO Syntax INSERT INTO Examples Insert Data into Specified Columns SQL UPDATE UPDATE Syntax UPDATE Example Watch out UPDATE statement. SQL DELETE DELETE Syntax DELETE Examples Delete All the Data SQL Aliases SQL Alias Syntax for Columns Alias Example for Table Columns Alias Example for Tables. SQL Joins Different SQL JOINs INNER JOIN LEFT OUTER JOIN RIGHT OUTER JOIN FULL OUTER JOIN SQL UNION UNION Syntax UNION Example UNION ALL Syntax UNION ALL Example SQL Insert Into Select INSERT INTO SELECT Syntax INSERT INTO SELECT Examples SQL Create Table CREATE TABLE Syntax CREATE TABLE Example SQL Constraints CREATE TABLE + CONSTRAINT Syntax NOT NULL Constraint UNIQUE Constraint UNIQUE Constraint on CREATE TABLE UNIQUE Constraint on ALTER TABLE To DROP a UNIQUE Constraint PRIMARY KEY Constraint PRIMARY KEY Constraint on CREATE TABLE PRIMARY KEY Constraint on ALTER TABLE To DROP a PRIMARY KEY Constraint FOREIGN KEY Constraint FOREIGN KEY Constraint on CREATE TABLE FOREIGN KEY Constraint on ALTER TABLE To DROP a FOREIGN KEY Constraint CHECK Constraint CHECK Constraint on CREATE TABLE CHECK Constraint on ALTER TABLE To DROP a CHECK Constraint DEFAULT Constraint on CREATE TABLE DEFAULT Constraint on ALTER TABLE To DROP a DEFAULT Constraint SQL Create Index CREATE INDEX Syntax CREATE UNIQUE INDEX Syntax CREATE INDEX Example SQL DROP Command The DROP INDEX Statement The DROP TABLE Statement The DROP DATABASE Statement The TRUNCATE TABLE Statement SQL ALTER Command The ALTER TABLE Statement ALTER TABLE Example Change Data Type Example DROP COLUMN Example SQL VIEWS CREATE VIEW Statement CREATE VIEW Syntax CREATE VIEW Examples CREATE OR REPLACE VIEW Syntax Dropping a View SQL NULL Values Working with NULL Values IS NULL IS NOT NULL SQL NULL Functions NVL COALESCE For more details visit our website : www.svsoftsolutions.com Or reach us @ USA : +1-845-915-8712 (Toll Free), India : +91-9642373173
Views: 51 SV Soft Solutions
Indexes Table Filter SQL Command window - English
 
10:34
Indexes, Table Filter, SQL Command window
T-SQL - CHECK Constraints
 
04:37
T-SQL - CHECK Constraints Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited
Oracle Tutorial - 8 - indexes_procedure
 
11:04
Oracle PL/SQL Query Database. Check more videos on IT courses on iAspireAcademy.org
Views: 9277 iAspireAcademy
How to work with Tablespaces in Real-Time? Tablespace Administration
 
01:00:59
https://dbagenesis.com/p/oracle-11g-advanced-dba Oracle tablespace administration - Learn how to work on tablespaces in real-time. - Tablespace management tasks - Tablespace utilization - Add space to tablespace - Add new tablespace - Tablespace best practices - Drop tablespace A tablespace is constructed by Oracle from one or more operating system files through the use of the CREATE TABLESPACE command. Every Oracle database consists of at least one tablespace, called SYSTEM.
Views: 14008 DBA Genesis
Sql Tutorial - How to create Views in oracle database
 
22:59
Hi friends in my today scenario i explaining how to create view in SQL and how view help to improve performance of SQL query. #SqlTutorial #createViewsinoracle Oracle database Unbeatable,Unbreakable Platform..
Views: 5054 Oracle World
Oracle Tutorial - 6 - tables - 4
 
10:16
Oracle PL/SQL Query Database. Check more videos on IT courses on iAspireAcademy.org
Views: 9818 iAspireAcademy
How to Install Oracle Database 11g on Windows 10 By Manish Sharma
 
08:24
Detail tutorial on How to install Oracle database 11g enterprise edition on Windows 10 Professional 64 bit. Full installation under 9 mins. You can follow the steps for installing Oracle 11g on Windows 10 32 bit home or any other version. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Previous Tutorial ► Download Link http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html ►Create Database using DBCA https://youtu.be/enFFezPYhCg ►How To Unlock User using ALTER USER https://youtu.be/sMqq9MSVmQo ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/TheRebellionRider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ You can also Email me at for E-mail address please check About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 310519 Manish Sharma
oracle listener check
 
01:05:36
Views: 100 Aygul Shahmuradova
Oracle Autonomous Database: The Role of the DBA
 
05:41
Oracle Master Product Manager Maria Colgan talks about how the Oracle Autonomous Database frees DBAs from mundane custodial tasks to allow them spend more time on innovation and better control of end-to-end service levels. More on Autonmous Database for DBAs https://www.oracle.com/database/autonomous-database/for-database-admins.html
Views: 24057 Oracle
How to Download and Install Java JDK on Windows 7/8/10
 
08:37
Hey There! This is Teja! In this video, I will be teaching you how to download and Install Java Development Kit (JDK) on Windows 7 or Windows 8 or Windows 10. Link to download JDK : (Official Oracle Website) http://www.oracle.com/technetwork/java/javase/downloads/index.html You might need to install Java to run some programs (which are only compatible with Java), and for other purposes like coding. If you have any doubts regarding this video, feel free to comment below. Like my Facebook Page : http://fb.com/techraj156 Follow me on Twitter : http://twitter.com/techraj156 For written tutorials, visit my blog : http://blog.techraj156.com Visit my Website : http://techraj156.com Email me : [email protected] Thanks For Watching! Cheers! -~-~~-~~~-~~-~- Please watch: "How the INTERNET actually works? " https://www.youtube.com/watch?v=U0mzA1AD_CY -~-~~-~~~-~~-~-
Views: 85753 Tech Raj
Database Engine and Join Algorithms
 
03:07
Animated demonstration of how the database engine and join algorithms: nested loop, merge scan, hash joins work. For free SQL Server query health check, go to: www.sqlprofiler.com
Views: 21547 SQLProfiler.com

Sample cover letter for job application for hr officer
Jmu admissions essay
Cover letter example for admin officer
Win32 toolbar searchsuite application letters
How to write application to school principal for job