UC BERKELEY EXTENSION

Size: px
Start display at page:

Download "UC BERKELEY EXTENSION"

Transcription

1 UC BERKELEY EXTENSION Database/Application/Programming Courses Instructor: Michael Kremer, Ph.D. Course Title: Course Subtitle: Oracle PL/SQL and SQL Server T-SQL

2

3 Instructor: Michael Kremer, Ph.D. Web Site: Copyright 2018 All rights reserved. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, storing, or otherwise without expressed permission. 5 th Edition I C O N K E Y Note Example Warning

4 TABLE OF CONTENT CLASS INTRODUCTION TO ORACLE/SQL SERVER DATABASE PROGRAMMING SQL and Database Programming Structure of Database Programs Differences between Oracle and SQL Server... 6 Versions and Editions... 6 Instances and Databases/Tablespaces Instance Names vs. SIDs System Databases and System Tablespaces Graphical Database Management Tools SQL Server Management Studio (SSMS) Oracle SQL Developer CLASS LANGUAGE FUNDAMENTALS OF PL/SQL AND T-SQL Structure of Programming Code Basic Language Components Literal Values Delimiters Comments Identifier Reserved Words Datatypes Numeric Data Types Character Data Types Temporal Data Types Miscellaneous Data Types Datatype Conversion Number Conversions Date/Time Conversion Built-In Functions, System Functions CLASS DECLARING VARIABLES/CONSTANTS Variable Declaration Statement Variable Assignment Statement Constants, Default Values, NOT NULL constraint... 59

5 4. FLOW CONTROL STRUCTURES Decision Structures The IF Statement Short-Circuit IF Processing CASE Statement Simple CASE Searched CASE Order-Dependent Logic Loop Structures Simple Loop For Loop While Loop EXCEPTION HANDLING Introduction to Exception Handling Basic Exception Handling Programmer-Defined Exceptions Built-In Error Functions CLASS STORED FUNCTIONS Introduction to Functions Writing Basic Functions Create Function Statement Return/Returns Datatype Function Parameters Integration of Functions and SQL Advanced Functions CLASS STORED PROCEDURES Introduction to Stored Procedures Basic Stored Procedures Parameters IN Mode OUT Mode IN OUT Mode Parameter Association Overloading Procedures CLASS USING DECLARATIVE SQL IN PROCEDURAL SQL

6 8.1 DML In Procedural SQL Insert Statement Update Statement Delete Statement Other DML Statements Attributes for DML Statements Returning Information from DML Statements Transaction Management Transactions Commit Statement Rollback Statement SAVEPOINT/SAVE statement Autonomous Transactions CLASS DATABASE TRIGGERS Overview of Triggers DML Trigger Concepts Basic DML Triggers Advanced DML Triggers Mutating Table Error Status Transition Rules Simple Audit Example INSTEAD OF Triggers CLASS CURSORS Cursor Basics Declaring Cursors Opening Cursors Fetching Cursors Closing Cursors Cursor Optimization Tips Cursor Parameters Cursor Variables Data Updates using Cursors FOR UPDATE Clause CURRENT OF Clause DYNAMIC SQL Overview of Dynamic SQL Basic Dynamic SQL CLASS

7 12. ADVANCED DYNAMIC SQL Parameterized Dynamic SQL Dynamic Data Pivoting SQL Injection ADVANCED EXCEPTION HANDLING Unhandled Exceptions Continue Past Exceptions Exceptions and Transactions CLASS ADVANCED TOPICS Optimistic/Pessimistic Concurrency Models Concurrency Issues Single/Multi- Version Databases Read Uncommited Isolation Read Committed Isolation Repeatable Read Isolation Serializable Isolation Multi-Version Database, Snapshot Isolation Conflict Detection Multi-Version Database, Read Committed Snapshot Sending Other Advanced Topics

8

9 CLASS 1 1. Introduction to Oracle/SQL Server Database Programming In this first chapter we will cover the basics of structured database programming languages. The standard non-procedural language SQL is supplemented with a procedural framework on most database platforms. Unfortunately, the procedural database language is not standardized at this point. Therefore, every database platform is different in terms of how the procedural framework is implemented and its syntax. 1.1 SQL and Database Programming The non-procedural SQL language has its limitations to meet the various and complex business needs of today s organizations. Since SQL was standardized fairly early on (1980 s and 90 s) and the need for procedural database processing became more evident later on, database vendors added their own procedural framework to interact with non-procedural SQL. Several major RDBMS vendors support a procedural dialect of SQL that adds looping, branching, and flow of control statements. The non-procedural SQL language is set based. A set-based approach is actually an approach which lets you specify "what to do", but does not let you specify "how to do". That is, you just specify your requirement for a processed result that has to be obtained from a "set of data" (be it a simple table/view, or joins of tables/views), filtered by optional condition(s). Sometimes, the specification of the "sets" you like to retrieve data from may be obtained by using complex joins/subqueries/conditional case statements, but in the end, there is a set of data from which the resultant set has to be obtained: You never have to specify "how" the data retrieval operation has to be implemented internally You never have to specify how to implement the "joining operation" internally either You do not have to specify how to apply a filter condition against the rows The database engine determines the best possible algorithms or processing logic to do these. 1. Introduction to Oracle/SQL Server Database Programming SQL and Database Programming

10 On the other hand, procedural SQL programming works differently. Simply speaking, a procedural approach is actually the "programmatic approach" that we are used to working with in our daily programming life. In this approach, we tell the system "what to do" along with "how to do" it: We query the database to obtain a result set and we write the data operational and manipulation logic using loops, conditions, and processing statements to produce the final result The runtime does whatever we want it to do, however we want it to do. Using a cursor that executes on a result set row by row is a procedural approach. For example, if you are querying your database to obtain a result set and using a cursor to navigate the result set to do further processing row by row, you are using a procedural approach. Also, if you are using a function in your SQL for processing each row in the result set to calculate a scalar output, you are using a procedural approach. The internal execution engines of databases are designed and optimized for taking "set based instructions" as input (SQL) and executing these instructions in the best possible way (that varies based on a lot of criteria) to produce an output. That is why "Set based approaches" are almost always the better option. When SQL written in a "Set based approach" is issued against the database, the query optimizer generates an execution plan first, and then the execution engine executes the plan to retrieve data from the physical storage and processes the output in an efficient manner. That is, there is a single execution plan tree for each single SQL statement, be it simple or complex. Executing that single execution plan tree is generally a faster operation. 1. Introduction to Oracle/SQL Server Database Programming SQL and Database Programming

11 But, when we specify our own way of processing a result set (that is obtained by executing a SQL statement) using another SQL statement that works on a row-by-row manner in the result set, the database engine has to execute an execution plan for each and every row, even after obtaining the result set by executing an execution plan. Imagine a row-by-row operation that is executed for a result set containing 1 million rows. In this case, the initial data retrieval operation would require an execution plan to be executed, and later, another execution plan has to be repeated 1 million times for each row processed. That is what happens when a function is executed for each row in a result set. An additional overhead of using functions is the amount of stack I/O that takes place for invoking the function. On the other hand, if you use a Cursor to process a result set row-by-row, while executing, the cursor locks the rows in the corresponding table, and unlocks the rows when processing is done. This involves lots of resource usage on the server, and in the case of large result sets, severely slows down performance. The underlying message here is that you want to minimize the amount of procedural SQL for performance reasons. Many procedural SQL code can be rewritten into non-procedural SQL statements using subqueries and other sophisticated, new SQL commands such as the With clause. 1. Introduction to Oracle/SQL Server Database Programming SQL and Database Programming

12 1.2 Structure of Database Programs The structure of procedural database programs is very similar to many other programming languages. Each program has a distinct name, you may pass arguments into the program, and the program can also return values back to the calling environment. This part is called the header section. The structure itself consists of a declaration section where mostly variables are declared and the actual executable section. And last, but not least, there can be an exception section where errors are handled in a customized manner. Leaving the exception section out will trigger the default error handling of the environment. In Oracle as well as in SQL Server the structure of the database programs is equal, they just differ by the implementation or the syntax as shown in Figure 1 below. Oracle PL/SQL SQL Server T-SQL Header Header IS AS Declaration Begin Try Begin Execution Execution Exception End Try Begin Catch Exception Exception End Catch End; Figure 1: Program Structure Syntax Oracle vs. SQL Server 1. Introduction to Oracle/SQL Server Database Programming Structure of Database Programs

13 In Oracle only, you can also divide your program into smaller, manageable components by using nested procedures. A nested procedure is a sub program embedded in the main program that can only be called or referenced by the main program. Note: You can always create additional procedures that can be called from each other. The only difference is that they are stand-alone, individual programs. A nested program resides within the main program and belongs to the main program. Oracle PL/SQL Header IS Declaration Main Program IS Begin End; Begin Header Declaration Execution Sub Program Execution End; Figure 2: Nested Program Structure in Oracle 1. Introduction to Oracle/SQL Server Database Programming Structure of Database Programs

14 1.3 Differences between Oracle and SQL Server At this point in time, MS SQL Server runs only on the Windows platform whereas Oracle runs on Windows, Linux, and the various varieties of UNIX flavored platforms (Solaris, HP-UX, AIX). Versions and Editions The current version of SQL Server (as of time of this writing) is Past SQL Server versions include version 2000, 2005, 2008, 2012, 2014, Many companies are still running 2005 or 2008, both were a major release compared to version Oracle s current version is 12c R2. Oracle has come a long way. The version number 12 actually represents the number of versions the Oracle database has evolved. The c stands for cloud. Many companies are still running Oracle versions 9i at this time. SQL Server 2017 comes with the following editions: Enterprise Editon: The Enterprise Edition is for mission critical applications and data warehousing Web: SQL Server Web edition is a low total-cost-of-ownership option for Web hosters to provide scalability, affordability, and manageability capabilities for small to large scale Web properties Standard Edition: The Standard Edition is for basic database capabilities, reporting and analytics Express Edition: A small footprint, embedded SQL Server engine that can be used for local data storage and small scale system development (The Express Edition is free to download and can be freely redistributed with a software) Developer Edition: Every feature of the Enterprise is available in the Developer Edition (It is licensed for use by one user at a time and is meant to be used for development and testing purposes) Note: SQL Version 2008 contained additional editions, such as Premium, Web, Compact, and Workgroup editions. In version 2012, the number of editions has been reduced to basically three (besides Express and Developer editions) to simplify the selection for customers. 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

15 SQL Server is component based and can be installed with one or more components. The core component is the Database Engine. SQL Server Database Engine Analysis Services Reporting Services Integration Services Master Data Services Machine Learning Services (In- Database) Machine Learning Server (Standalone) SQL Server Database Engine includes the Database Engine, the core service for storing, processing, and securing data, replication, full-text search, tools for managing relational and XML data, in database analytics integration, and Polybase integration for access to Hadoop and other heterogeneous data sources, and the Data Quality Services (DQS) server. Analysis Services includes the tools for creating and managing online analytical processing (OLAP) and data mining applications. Reporting Services includes server and client components for creating, managing, and deploying tabular, matrix, graphical, and free-form reports. Reporting Services is also an extensible platform that you can use to develop report applications. Integration Services is a set of graphical tools and programmable objects for moving, copying, and transforming data. It also includes the Data Quality Services (DQS) component for Integration Services. Master Data Services (MDS) is the SQL Server solution for master data management. MDS can be configured to manage any domain (products, customers, accounts) and includes hierarchies, granular security, transactions, data versioning, and business rules, as well as an Add-in for Excel that can be used to manage data. Machine Learning Services (In-Database) supports distributed, scalable machine learning solutions using enterprise data sources. In SQL Server 2016, the R language was supported. SQL Server 2017 supports R and Python. Machine Learning Server (Standalone) supports deployment of distributed, scalable machine learning solutions on multiple platforms and using multiple enterprise data sources, including Linux, Hadoop, and Teradata. In SQL Server 2016, the R language was supported. SQL Server 2017 supports R and Python. Table 1: SQL Server Components (selected) 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

16 For the current version of Oracle, the following editions are available: Enterprise Edition (EE): This edition offers top performance for top money, like the SQL counterpart, every feature and capability of the product is enabled in this edition Standard Edition 2 (SE2): Much like the SQL Standard Edition, the Oracle Standard Edition has major features of the product enabled and is suitable for most business applications Express Edition (XE): This is a low footprint, small-scale, starter database for development purposes and is licensed for free redistributions (The Express Edition is still in version 11) Oracle Database Personal Edition (PE): Oracle Database Personal Edition supports single-user development and deployment environments that require full compatibility with Oracle Database Standard Edition 2 and Oracle Database Enterprise Edition. The table below shows the different editions of both products and how they compare: SQL Server 2012 Enterprise Edition Standard Edition Express Edition Developer Edition Oracle 12c R2 Enterprise Edition Standard Edition One Express Edition Personal Edition Table 2: Edition Comparisons SQL Server vs. Oracle 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

17 As with SQL Server, Oracle comes is component based and possesses many different database management tools. Oracle Active Data Guard Oracle Advanced Analytics Oracle Partitioning Oracle On-Line Analytical Processing (OLAP) Oracle Multitenant Extends Oracle Data Guard functionality with advanced features, allowing read-only access to data in a physical standby database to offload primary of such tasks as reporting, ad-hoc queries, data extraction and backup, offloading redo transport and minimizing standby impact on commit response times (using Far Sync feature), providing option for rolling upgrades for non-rac customers, managing clients workload across replicated database and improving automated service failover (using Global Data Services), etc. Allows access to in-database data mining algorithms and use of Oracle R Enterprise functionality, an integration with open-source R statistical programming language and environment. Allows partitioning of tables and indices, where large objects are stored in database as a collection of individual smaller pieces at the same time appearing on application level as a uniform data object. Oracle s implementation of online analytical processing. Capability that allows database consolidation and provides an additional abstraction layer. In a Multitenant configuration, one Oracle database instance known as "container database" (CDB) acts as a federated database system for a collection of up to 252 distinct portable collections of database objects, referred to as "pluggable databases" (PDB), each appearing to an outside client as a regular non-cdb Oracle database. Table 3: Oracle Components (selected) 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

18 Instances and Databases/Tablespaces The first architecture level difference between SQL Server and Oracle is in the concept of instances and databases. An instance in SQL Server terms means a self-contained application service that involves operating system files, memory structures, background processes and registry information. An instance is represented by a service in Windows and can be either in a running or stopped state. When running, an instance occupies a portion of the server s memory and also spawns a number of background processes. Central to a SQL Server instance are its databases. A SQL Server database is the repository of data and the program code for manipulating that data. If an instance is not running, databases within it cannot be accessed. There are two types of SQL Server databases: system databases and user databases. When a SQL Server instance is first installed, five system databases are created: master, model, msdb, tempdb and resource. If there is more than one SQL Server instance running in a machine, each instance will have its own dedicated set of system databases. An instance cannot start if any of its system databases except msdb is inaccessible or corrupted. User databases on the other hand are created by DBAs and developers after the instance has been installed and the system databases have started. These are the databases that store an organization s business information. In short, a SQL Server instance will always include databases (even if it is only the system ones) and a database will always be associated with one (and only one) instance. At the physical level, a SQL Server database is represented by a set of operating system files residing in the server s disk system. There are two types of database files: the data file and the transaction log file. At the very minimum, a database will have one data file and one transaction log file. A data file is the main repository of information in a SQL database. A transaction log file on the other hand records the changes that have been applied to the data. This file is required by SQL Server for system recovery. A data or log file will always belong to a particular database: no two databases can share the same data or log file. If the database is large, it can have multiple data files. Multiple data files in a database can be logically grouped into structures known as filegroups. With Oracle, it works in somewhat reverse direction. When Oracle starts, it works just like SQL Server in that a portion of the server s memory is allocated for its operation. This memory area, known as the System Global Area (SGA), is divided into a number of distinct structures. Along with the memory space, a number of background processes are also started that interact with the SGA. Together, the memory space and the processes constitute an Oracle instance. Note that the Oracle database is still not in the picture. In fact an Oracle instance could be running 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

19 perfectly okay without its database even being online or accessible. When installing Oracle, there is an option to install only the software and to create the database later. A database in Oracle is a collection of operating system files. Unlike SQL Server, an Oracle database does not represent the logical grouping of objects; rather it is a single, collective term for a number of files on the disk that primarily hold data. The files that make up an Oracle database can be classified into three types: data file, redo log file and the control file. Data files are where all the data resides. There can be any number of data files in an Oracle database. Redo log files are like SQL Server transaction logs in that they record every change made to the data and is used for system recovery. Control files are a special kind of file that contains small but vital pieces of information about the database. Without this file, the instance will not be able to open the database. Apart from data, redo log and control files, the database will also contain a parameter file, password file and optionally, archive log files. Logical Physical Oracle: Tablespaces SQL Server: Databases Oracle: Data Files SQL Server: DB Files Oracle: Segments SQL Server: N/A Oracle: Extents SQL Server: Extents Oracle: Data Blocks SQL Server: Pages OS Block Figure 3: Logical and Physical Structure of SQL Server/Oracle 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

20 When an Oracle system starts, at first the instance is created in the memory. The instance then connects to the database residing on disk and finally opens the database for user interaction. When the system is shut down, the instance is erased from memory: all the memory structures and the processes are gone, but the database will still exist in the disk, albeit in a closed state. As said previously, it is possible to have the Oracle instance running without opening the database this is a major difference from SQL Server where an instance cannot start without its systems databases being online first. However, just like SQL Server, it is impossible to connect to an Oracle database if the instance has not started. Generally the relationship between an Oracle instance and its database is one-to-one. An instance will have one database associated with it. A database on the other hand can have one or more instances accessing it. A standalone Oracle installation will comprise of a single instance accessing a single database. Oracle installations configured as RAC (Real Application Cluster) will have multiple instances running in different machines accessing the same database in a shared disk. So where does the logical grouping of database objects lie within Oracle? In SQL Server, this logical grouping is done by the database itself. For Oracle, it is done through something called tablespaces. An Oracle tablespace is a logical structure that groups together tables, views, indexes and other database objects. For example, your production Oracle database may have one tablespace dedicated for the HR application and another tablespace for payroll. Each tablespace is physically represented by one or more data files on disk and form a part of the database. The database is logically made up of a number of tablespaces and the tablespaces in turn are physically made up of one or more data files. So Oracle s equivalent to a SQL Server database is a tablespace. And since they are so similar in their functions, the process of creating a database in SQL Server is quite similar to creating a tablespace in Oracle. Whether creating a database or a tablespace, the DBA needs to specify a name first. The DBA then assigns one or more data files to the database or tablespace and specifies the initial size and growth increments for each file. 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

21 Just like a SQL Server user database can be made offline or read-only, so can be an Oracle user tablespace. And just like one or more data files in a SQL Server user database can be made read-only, one or more data files in an Oracle user tablespace can be marked offline. However, databases and tablespaces do differ in the following areas: In SQL Server, database files can be logically grouped into filegroups. Oracle tablespaces do not have this concept. In SQL Server databases, each database will have its own transaction log and the log file properties will need to be specified during database creation. For Oracle, transactions for the whole database (that means for every tablespace) are recorded in one redo log. Consequently, there is no provision to create individual log files for tablespaces. For SQL Server, the database can be created with simple recovery mode. Simple recovery mode means the inactive portion of the database log will be truncated after each checkpoint. Oracle has a similar concept, but it is not possible to configure that property for individual tablespaces. Instance Names vs. SIDs Both SQL Server and Oracle allow multiple instances of the server software to run concurrently on the same machine. These multiple execution contexts are completely independent of each other: as far as one database engine is concerned, it does not know or care if another is running on the same box. In SQL Server, this mechanism is enabled through the concept of instances. SQL Server can run either as a named or a default instance. The default instance has the same name as the Windows server hosting it. Obviously, there can be only one default instance per host, but it is possible to run multiple named instances on that same machine. A named instance is identified in the form of HOSTNAMEINSTANCE_NAME, where each INSTANCE_NAME running on the host has to be unique. Each instance will have its own set of binaries with some common components shared between all. 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

22 SQL Server Host Oracle Host Instance: Self-contained application service involving os files, memory, processes. Instance: Only memory allocation and processes. Schema: Logical grouping of database objects, owner and user of objects Database: Collection of OS files. Database: System databaes(needed for instance to run) and user databases. Tablespace: Logical structure for grouping db objects. Figure 4: SQL Server/Oracle Server Architecture For Oracle, it works the same way. When installing Oracle, the DBA needs to specify a Global Database Name and a System Identifier (SID). Instance and databases are completely separate entities in Oracle. A global database name uniquely identifies a database in the network where it is hosted and can have a fully qualified name in the form of database_name.network_domain_name. A SID on the other hand identifies the instance associated with the database. In most cases where a single instance is associated with a single database, the SID and the database name will be the same. Oracle Real Application Cluster (RAC) environments are an exception: RAC allows multiple instances to access the same database hosted in a shared storage; the instance names are different from the database name in such cases. However, just like a SQL Server machine, an Oracle database server cannot have two instances running with the same SID. Another area of similarity is that once specified during setup, a SQL Server instance name or an Oracle SID cannot be changed later. A SQL Server DBA can run the following query to know the name of the instance he is currently logged on to: An Oracle DBA will run queries like the following to get the instance and database name: SELECT INSTANCE_NAME, HOST_NAME, VERSION, DATABASE_STATUS FROM V$INSTANCE; SELECT NAME, DATABASE_ROLE, CREATED FROM V$DATABASE; 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

23 System Databases and System Tablespaces A SQL Server instances will have five system databases (four for versions before 2005) present: master, model, msdb, tempdb and resource. An Oracle database will need a minimum of three system tablespaces for its operation: SYSTEM, SYSAUX and TEMP. The master and the resource databases are the central repositories of all the information SQL Server needs to manage itself. Among many other things, it contains the system configuration settings, list of databases and the location of their files, end-points, linked servers and user accounts (or logins ). System level objects are stored in a read-only database known as the resource database where this information comes from. For Oracle, SYSTEM tablespace is the equivalent of the master database. SYSTEM tablespace contains the data dictionary, which is Oracle s metadata about itself. The data dictionary can be compared to SQL s resource database. And probably you have already guessed: Oracle will not start if the SYSTEM tablespace is unavailable or corrupted. For a SQL Server instance, the model database is the template that is used for every new database created in that instance. You can make a change to the model database and the change will be reflected to every new database created afterwards. For Oracle, there is no such template, but when you create a tablespace, you can specify whether it will be a permanent tablespace or of any other type like a TEMP or an UNDO tablespace. Permanent tablespaces are the ones that hold user data. 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

24 SQL Server s tempdb is used as a scratch pad for the whole instance. Tempdb is created every time the instance is restarted and destroyed every time the instance is shut down. Oracle s TEMP tablespace does pretty much the same task: it is used to hold large scale sort operation results. However, SQL s tempdb can also be used for row versioning. When enabled for a database, row versioning ensures the database engine keeps track of each version of a data row as it is modified. The pre-modification copy of the row is copied to a version store in the tempdb database. Queries requesting the data row will get the latest committed version. When a read operation uses an isolation level based on row versioning, it does not block other transactions trying to modify the same data. This is because the read query is not placing a shared lock on the data rows. However, this behavior needs to be explicitly enabled for each database. Oracle uses the same concept with a different type of tablespace known as the UNDO tablespace. An undo tablespace holds read-consistent copy of data that is currently being updated by a DML statement. As a user starts making changes to data, a pre-update version of that data is stored in the UNDO tablespace. If another user wants to query those same rows of data, s/he will get the preupdate version from the UNDO tablespace. Unlike SQL s version store, this feature does not have to be explicitly enabled it is part of Oracle s concurrent data access mechanism. Finally, SQL Server s msdb database is required for its Agent service s operation. SQL Server Agent is responsible for scheduled jobs, alerts, replication and log shipping among many other things. Without the msdb database, the Agent service will not be running. There is no clear equivalent of msdb in an Oracle. The SYSAUX tablespace is a system tablespace, created during the installation process. It holds information such as Oracle s Automatic Workload Repository (AWR), spatial and multimedia data, XML database etc. 1. Introduction to Oracle/SQL Server Database Programming Differences between Oracle and SQL Server

25 1.4 Graphical Database Management Tools We will be using the following tools to access and manipulate the database: Oracle SQL Developer SQL Server Management Studio (SSMS) The installation instructions can be found on my web site. In this chapter we will be simply covering the basics of how to use these tools. SQL Server Management Studio (SSMS) After you launch SSMS you will see the Connect to Server dialog box as shown in.once you are connected to the database server (SQL Express/LocalDB) you are presented with the following UI: Figure 5: SQL Server Management Studio 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

26 The hierarchical structure of the SQL Server database contains the following main nodes: Databases: The Databases node is the first node in SQL Server Management Studio. Within the Databases node are one or more subnodes. The first subnode is System Databases. There are additional subnodes for each database contained on the server. Security: To manage users, roles and credentials for the database. Using the Security Node, you can work with logins, add to and remove people from server roles, and create credentials. Server Objects: Server Objects refer to a set of objects used at the server level (not at the database level). These objects include Backup Devices, Linked Servers, and Server Triggers. Replication: To manage database replication. (Replication is a set of technologies for copying and distributing data and database objects from one database to another and then synchronizing between databases to maintain consistency.) Polybase: For big data operations, to access data from Hadoop file system. Always On High Availability: High-availability and disaster-recovery solution that provides an enterprise-level alternative to database mirroring Management: This section includes policy management, SQL Server logs, and legacy services such Data Transformation Services (DTS). Integration Services Catalogs (SSIS): The SSIS Catalog is the one place where you will manage SSIS projects and packages, including the configuration and monitoring. The most important and the most frequently used node is the database node. This node lists all the databases contained in the current server. Figure 6 shows the hierarchy structure under the database node. Database Node Programmability Node Figure 6: Database & Programmability Node For the scope of this course, we will use the Tables, Views, and the Programmability folder. In particular, the Programmability folder is an important folder for this course since it contains the database objects where procedural SQL code is stored. 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

27 Example 1-1: Create SQL Server HR Database 1. First using Windows Explorer, navigate to c:\temp and create a folder named ProceduralDB. 2. Open SQL Server Management Studio (SSMS). Log in using Windows Authentication mode. 3. Right-click on the Databases Folder and select New Database. 4. Type ProcDB as a name for the database. 5. In the Database files section, scroll to the right and select c:\temp\proceduraldb in the Path section. Right-click on Database Node 6. Click on OK 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

28 Example 1-1(continued): Create SQL Server HR Database 7. Under the Databases node, the database folder ProcDB is now displayed. In the toolbar, click on the New Query button or right-click on the ProcDB database folder and select New Query. If you clicked the New Query button in the toolbar, make sure to select the ProcDB database from the drop-down list below. 8. A new pane is displayed on the right side. 9. Copy and paste the instructor provided sql script to create the database into this pane. 10.Now click on the Execute button in the toolbar or right-click inside the script and select Execute to run this script. 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

29 Example 1-1(continued): Create SQL Server HR Database 11.Verify in the output window at the bottom that no errors have occurred. 12.Click on the plus sign next to the Tables folder under the ProcDB Database to view all the database tables. 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

30 Oracle SQL Developer We will first install SQL Developer into the c:\temp\proceduraldb folder. Since this software is completely JAVA based, the installation does not require any registry entries or other windows installation requirements. Example 1-2: Install Oracle SQL Developer 1. Copy the instructor provided zip file into c:\temp\proceduraldb. 2. Double-click on this zip file and then drag the folder into C:\Temp\ProceduralDB. 3. After the extraction is complete, a folder named sqldeveloper is created under the ProceduralDB folder. 4. In this folder, you find an executable file named sqldeveloper.exe. 5. Double-click on this file to run SQL developer. 6. Create a new connection (green plus sign) and type the following information: Password will be provided by the instructor 7. Click on connect. 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

31 Example 1-2 (continued): Install Oracle SQL Developer 8. Copy and paste an instructor provided script into the right pane, the so-called SQL worksheet. Click on the Run Script button to create the ProcDB user/schema account. Check the Script Output at the bottom for potential errors, unfortunately there is no overall message whether the script has been successfully executed. 9. Create a new connection using ProcDB as Connection Name and Username, use password hr. 10.Click on the plus sign next to ProcDB to open the object tree. 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

32 As you can see, the organization of the database is completely different than in SQL Server. There are no subnodes like in SQL Server to provide further grouping. The important objects we will use in this course are of course tables. Besides tables, we will place database code in Packages, Procedures, Functions, and Triggers. Figure 7 shows the object tree in SQL Developer. Figure 7: Oracle SQL Developer 1. Introduction to Oracle/SQL Server Database Programming Graphical Database Management Tools

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training

More information

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals Description The SQL Fundamentals exam is intended to verify that certification candidates have a basic understanding of the SQL language. It covers the

More information

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs Module Title Duration : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs : 4 days Course Description This four-day instructor-led course provides students with the knowledge and skills to capitalize

More information

Course 40045A: Microsoft SQL Server for Oracle DBAs

Course 40045A: Microsoft SQL Server for Oracle DBAs Skip to main content Course 40045A: Microsoft SQL Server for Oracle DBAs - Course details Course Outline Module 1: Database and Instance This module provides an understanding of the two major components

More information

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE ORACLE 11gR2 DBA by Mr. Akal Singh ( Oracle Certified Master ) INTRODUCTION to ORACLE COURSE CONTENT Exploring the Oracle Database Architecture List the major architectural components of Oracle Database

More information

Microsoft SQL Server" 2008 ADMINISTRATION. for ORACLE9 DBAs

Microsoft SQL Server 2008 ADMINISTRATION. for ORACLE9 DBAs Microsoft SQL Server" 2008 ADMINISTRATION for ORACLE9 DBAs Contents Acknowledgments *v Introduction xvii Chapter 1 Introduction to the SQL Server Platform 1 SQLServer Editions 2 Premium Editions 3 Core

More information

MCSA SQL SERVER 2012

MCSA SQL SERVER 2012 MCSA SQL SERVER 2012 1. Course 10774A: Querying Microsoft SQL Server 2012 Course Outline Module 1: Introduction to Microsoft SQL Server 2012 Introducing Microsoft SQL Server 2012 Getting Started with SQL

More information

Oracle 12C DBA Online Training. Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL:

Oracle 12C DBA Online Training. Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL: Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL: A. Introduction Course Objectives, Course Agenda and Appendixes Used in this Course Overview of Oracle Database

More information

Microsoft SQL Server Training Course Catalogue. Learning Solutions

Microsoft SQL Server Training Course Catalogue. Learning Solutions Training Course Catalogue Learning Solutions Querying SQL Server 2000 with Transact-SQL Course No: MS2071 Two days Instructor-led-Classroom 2000 The goal of this course is to provide students with the

More information

CHAPTER. Oracle Database 11g Architecture Options

CHAPTER. Oracle Database 11g Architecture Options CHAPTER 1 Oracle Database 11g Architecture Options 3 4 Part I: Critical Database Concepts Oracle Database 11g is a significant upgrade from prior releases of Oracle. New features give developers, database

More information

Venezuela: Teléfonos: / Colombia: Teléfonos:

Venezuela: Teléfonos: / Colombia: Teléfonos: CONTENIDO PROGRAMÁTICO Moc 20761: Querying Data with Transact SQL Module 1: Introduction to Microsoft SQL Server This module introduces SQL Server, the versions of SQL Server, including cloud versions,

More information

SQL Server 2014 Training. Prepared By: Qasim Nadeem

SQL Server 2014 Training. Prepared By: Qasim Nadeem SQL Server 2014 Training Prepared By: Qasim Nadeem SQL Server 2014 Module: 1 Architecture &Internals of SQL Server Engine Module : 2 Installing, Upgrading, Configuration, Managing Services and Migration

More information

Data Integration and ETL with Oracle Warehouse Builder

Data Integration and ETL with Oracle Warehouse Builder Oracle University Contact Us: 1.800.529.0165 Data Integration and ETL with Oracle Warehouse Builder Duration: 5 Days What you will learn Participants learn to load data by executing the mappings or the

More information

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: Create additional listeners Create Oracle Net Service aliases Configure

More information

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions 1Z0-060 Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-060 Exam on Upgrade to Oracle Database 12c... 2 Oracle 1Z0-060 Certification Details:... 2

More information

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Chapter 1: Introducing SQL Server

Chapter 1: Introducing SQL Server Leiter ftoc.tex V3-03/25/2009 1:31pm Page xv Introduction xxvii Chapter 1: Introducing SQL Server 2008 1 A Condensed History of SQL Server 1 In the Beginning 1 The Evolution of a Database 1 Microsoft Goes

More information

"Charting the Course... Oracle 18c DBA I (3 Day) Course Summary

Charting the Course... Oracle 18c DBA I (3 Day) Course Summary Oracle 18c DBA I (3 Day) Course Summary Description This course provides a complete, hands-on introduction to Oracle Database Administration including the use of Enterprise Manager (EMDE), SQL Developer

More information

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database 11g: New Features for Administrators DBA Release 2 Oracle Database 11g: New Features for Administrators DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g: New Features for Administrators DBA Release 2 training explores new change

More information

Synergetics-Standard-SQL Server 2012-DBA-7 day Contents

Synergetics-Standard-SQL Server 2012-DBA-7 day Contents Workshop Name Duration Objective Participants Entry Profile Training Methodology Setup Requirements Hardware and Software Requirements Training Lab Requirements Synergetics-Standard-SQL Server 2012-DBA-7

More information

ORANET- Course Contents

ORANET- Course Contents ORANET- Course Contents 1. Oracle 11g SQL Fundamental-l 2. Oracle 11g Administration-l 3. Oracle 11g Administration-ll Oracle 11g Structure Query Language Fundamental-l (SQL) This Intro to SQL training

More information

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z Course Outline [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z0-063 18 Jun 2018 Contents 1. Course Objective 2. Pre-Assessment 3. Exercises, Quizzes, Flashcards

More information

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z

Course Outline. [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 1Z Course Outline [ORACLE PRESS] All-in-One Course for the OCA/OCP Oracle Database 12c Exams 1Z0-061, 1Z0-062, & 28 Apr 2018 Contents 1. Course Objective 2. Pre-Assessment 3. Exercises, Quizzes, Flashcards

More information

Oracle Database 11g: New Features for Administrators Release 2

Oracle Database 11g: New Features for Administrators Release 2 Oracle University Contact Us: 0845 777 7711 Oracle Database 11g: New Features for Administrators Release 2 Duration: 5 Days What you will learn This course gives you the opportunity to learn about and

More information

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database Course 6231A: Maintaining a Microsoft SQL Server 2008 Database OVERVIEW About this Course Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the

More information

$ SQL Server 2000 Database Administration. Course Description. Table of Contents. Pricing and Multi-User Licensing

$ SQL Server 2000 Database Administration. Course Description. Table of Contents. Pricing and Multi-User Licensing Course Description This course is a soup-to-nuts course that will teach you how to choose your edition, install, configure and manage any edition of SQL Server 2000. You ll learn the details of security,

More information

Ebook : Overview of application development. All code from the application series books listed at:

Ebook : Overview of application development. All code from the application series books listed at: Ebook : Overview of application development. All code from the application series books listed at: http://www.vkinfotek.com with permission. Publishers: VK Publishers Established: 2001 Type of books: Develop

More information

Enterprise Manager: Scalable Oracle Management

Enterprise Manager: Scalable Oracle Management Session id:xxxxx Enterprise Manager: Scalable Oracle John Kennedy System Products, Server Technologies, Oracle Corporation Enterprise Manager 10G Database Oracle World 2003 Agenda Enterprise Manager 10G

More information

"Charting the Course... Oracle 18c DBA I (5 Day) Course Summary

Charting the Course... Oracle 18c DBA I (5 Day) Course Summary Course Summary Description This course provides a complete, hands-on introduction to Oracle Database Administration including the use of Enterprise Manager Database Express (EMDE), SQL Developer and SQL*Plus.

More information

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database Course 6231A: Maintaining a Microsoft SQL Server 2008 Database About this Course This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2008

More information

Jet Data Manager 2014 SR2 Product Enhancements

Jet Data Manager 2014 SR2 Product Enhancements Jet Data Manager 2014 SR2 Product Enhancements Table of Contents Overview of New Features... 3 New Features in Jet Data Manager 2014 SR2... 3 Improved Features in Jet Data Manager 2014 SR2... 5 New Features

More information

Oracle Database 11g for Experienced 9i Database Administrators

Oracle Database 11g for Experienced 9i Database Administrators Oracle Database 11g for Experienced 9i Database Administrators 5 days Oracle Database 11g for Experienced 9i Database Administrators Course Overview The course will give experienced Oracle 9i database

More information

Changes Schema Of Table Procedure Sql 2008 R2 Replication

Changes Schema Of Table Procedure Sql 2008 R2 Replication Changes Schema Of Table Procedure Sql 2008 R2 Replication The following table describes the possible schema changes that can and cannot When synchronizing data with SQL Server 2008 R2, SQL Server Compact

More information

DOWNLOAD PDF SQL SERVER 2012 STEP BY STEP

DOWNLOAD PDF SQL SERVER 2012 STEP BY STEP Chapter 1 : Microsoft SQL Server Step by Step - PDF Free Download - Fox ebook Your hands-on, step-by-step guide to building applications with Microsoft SQL Server Teach yourself the programming fundamentals

More information

Where is Database Management System (DBMS) being Used?

Where is Database Management System (DBMS) being Used? The main objective of DBMS (Database Management System) is to provide a structured way to store and retrieve information that is both convenient and efficient. By data, we mean known facts that can be

More information

Using SQL Developer. Oracle University and Egabi Solutions use only

Using SQL Developer. Oracle University and Egabi Solutions use only Using SQL Developer Objectives After completing this appendix, you should be able to do the following: List the key features of Oracle SQL Developer Identify menu items of Oracle SQL Developer Create a

More information

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer ORACLG Oracle Press Oracle Database 12c Install, Configure & Maintain Like a Professional Ian Abramson Michael Abbey Michelle Malcher Michael Corey Mc Graw Hill Education New York Chicago San Francisco

More information

Oracle Database 10g: New Features for Administrators Release 2

Oracle Database 10g: New Features for Administrators Release 2 Oracle University Contact Us: +27 (0)11 319-4111 Oracle Database 10g: New Features for Administrators Release 2 Duration: 5 Days What you will learn This course introduces students to the new features

More information

MySQL for Database Administrators Ed 4

MySQL for Database Administrators Ed 4 Oracle University Contact Us: (09) 5494 1551 MySQL for Database Administrators Ed 4 Duration: 5 Days What you will learn The MySQL for Database Administrators course teaches DBAs and other database professionals

More information

Oracle Database 18c and Autonomous Database

Oracle Database 18c and Autonomous Database Oracle Database 18c and Autonomous Database Maria Colgan Oracle Database Product Management March 2018 @SQLMaria Safe Harbor Statement The following is intended to outline our general product direction.

More information

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE 70-465 DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE Designing Database Solutions for Microsoft SQL Server (70-465) WWW.ANALYTICSEXAM.COM Contents Designing

More information

6 SSIS Expressions SSIS Parameters Usage Control Flow Breakpoints Data Flow Data Viewers

6 SSIS Expressions SSIS Parameters Usage Control Flow Breakpoints Data Flow Data Viewers MSBI Training Program [SSIS SSAS SSRS] Duration : 60 Hrs SSIS 1 Introduction to SSIS SSIS Components Architecture & Installation SSIS Tools and DTS 2 SSIS Architecture Control Flow Tasks Data Flow Tasks

More information

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI) Oracle DBA (10g, 11g) Training Course Content Introduction (Database Architecture) Describe course objectives Explore the Oracle 10g database architecture Installing the Oracle Database Software Explain

More information

MOC 6232A: Implementing a Microsoft SQL Server 2008 Database

MOC 6232A: Implementing a Microsoft SQL Server 2008 Database MOC 6232A: Implementing a Microsoft SQL Server 2008 Database Course Number: 6232A Course Length: 5 Days Course Overview This course provides students with the knowledge and skills to implement a Microsoft

More information

EnterpriseTrack Reporting Data Model Configuration Guide Version 17

EnterpriseTrack Reporting Data Model Configuration Guide Version 17 EnterpriseTrack EnterpriseTrack Reporting Data Model Configuration Guide Version 17 October 2018 Contents About This Guide... 5 Configuring EnterpriseTrack for Reporting... 7 Enabling the Reporting Data

More information

Managing Oracle Real Application Clusters. An Oracle White Paper January 2002

Managing Oracle Real Application Clusters. An Oracle White Paper January 2002 Managing Oracle Real Application Clusters An Oracle White Paper January 2002 Managing Oracle Real Application Clusters Overview...3 Installation and Configuration...3 Oracle Software Installation on a

More information

SQL Server DBA Course Content

SQL Server DBA Course Content 1 SQL Server DBA Course Content SQL Server Versions and Editions Features of SQL Server Differentiate the SQL Server and Oracle Services of SQL Server Tools of SQL server SQL Server Installation SQL server

More information

Maintaining a Microsoft SQL Server 2008 Database (Course 6231A)

Maintaining a Microsoft SQL Server 2008 Database (Course 6231A) Duration Five days Introduction Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2008

More information

1z z0-060 Upgrade to Oracle Database 12c

1z z0-060 Upgrade to Oracle Database 12c 1z0-060 Number: 1z0-060 Passing Score: 800 Time Limit: 120 min File Version: 7.1 1z0-060 Upgrade to Oracle Database 12c Exam A QUESTION 1 Your multitenant container (CDB) contains two pluggable databases

More information

Oracle Architectural Components

Oracle Architectural Components Oracle Architectural Components Date: 14.10.2009 Instructor: Sl. Dr. Ing. Ciprian Dobre 1 Overview of Primary Components User process Shared Pool Instance SGA Server process PGA Library Cache Data Dictionary

More information

Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l

Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l Oracle Database 12c: New Features for Administrators (40 hrs.) Prerequisites: Oracle Database 11g: Administration Workshop l Course Topics: Introduction Overview Oracle Database Innovation Enterprise Cloud

More information

Course Contents of ORACLE 9i

Course Contents of ORACLE 9i Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating

More information

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led Introduction This three-day instructor-led course provides students with product knowledge and skills needed to

More information

Oracle Database 12c: Administration Workshop Ed 2

Oracle Database 12c: Administration Workshop Ed 2 Oracle University Contact Us: +40 21 3678820 Oracle Database 12c: Administration Workshop Ed 2 Duration: 5 Days What you will learn The Oracle Database 12c: Administration Workshop will teach you about

More information

Number: Passing Score: 800 Time Limit: 120 min File Version:

Number: Passing Score: 800 Time Limit: 120 min File Version: 70-465 Number: 000-000 Passing Score: 800 Time Limit: 120 min File Version: 1.0 http://www.gratisexam.com/ Exam A QUESTION 1 You need to recommend a backup process for an Online Transaction Processing

More information

Oracle Database 12c: Administration Workshop Ed 2

Oracle Database 12c: Administration Workshop Ed 2 Oracle Database 12c: Administration Workshop Ed 2 Duration 5 Days What you will learn The Oracle Database 12c: Administration Workshop will teach you about the Oracle Database architecture. You will discover

More information

Microsoft SQL Server Database Administration

Microsoft SQL Server Database Administration Address:- #403, 4 th Floor, Manjeera Square, Beside Prime Hospital, Ameerpet, Hyderabad 500038 Contact: - 040/66777220, 9177166122 Microsoft SQL Server Database Administration Course Overview This is 100%

More information

DumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king

DumpsKing.   Latest exam dumps & reliable dumps VCE & valid certification king DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version

More information

Installing SQL Server Developer Last updated 8/28/2010

Installing SQL Server Developer Last updated 8/28/2010 Installing SQL Server Developer Last updated 8/28/2010 1. Run Setup.Exe to start the setup of SQL Server 2008 Developer 2. On some OS installations (i.e. Windows 7) you will be prompted a reminder to install

More information

Manufacturing Process Intelligence DELMIA Apriso 2017 Installation Guide

Manufacturing Process Intelligence DELMIA Apriso 2017 Installation Guide Manufacturing Process Intelligence DELMIA Apriso 2017 Installation Guide 2016 Dassault Systèmes. Apriso, 3DEXPERIENCE, the Compass logo and the 3DS logo, CATIA, SOLIDWORKS, ENOVIA, DELMIA, SIMULIA, GEOVIA,

More information

Oracle Database 11g: SQL Fundamentals I

Oracle Database 11g: SQL Fundamentals I Oracle Database SQL Oracle Database 11g: SQL Fundamentals I Exam Number: 1Z0-051 Exam Title: Oracle Database 11g: SQL Fundamentals I Exam Number: 1Z0-071 Exam Title: Oracle Database SQL Oracle and Structured

More information

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

Designing Database Solutions for Microsoft SQL Server (465)

Designing Database Solutions for Microsoft SQL Server (465) Designing Database Solutions for Microsoft SQL Server (465) Design a database structure Design for business requirements Translate business needs to data structures; de-normalize a database by using SQL

More information

12.1 Multitenancy in real life

12.1 Multitenancy in real life 12.1 Multitenancy in real life 2017 HOUG szakmai nap Jozsef Horvath Budapest, 2017-11-08 Disclaimer This presentation: Does not intend to judge Oracle Multitenancy Does not intent to judge Oracle Corporation

More information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

Introduction. Performance

Introduction. Performance Table of Contents Introduction 3 Performance 3 Multiple Storage Engines and Query Optimization 4 Transactional Support 4 Referential Integrity 5 Procedural Language Support 5 Support for Triggers 5 Supported

More information

Microsoft Exam Designing Database Solutions for Microsoft SQL Server Version: 12.0 [ Total Questions: 111 ]

Microsoft Exam Designing Database Solutions for Microsoft SQL Server Version: 12.0 [ Total Questions: 111 ] s@lm@n Microsoft Exam 70-465 Designing Database Solutions for Microsoft SQL Server Version: 12.0 [ Total Questions: 111 ] Topic break down Topic No. of Questions Topic 1: Litware, Inc 10 Topic 2: Contoso

More information

COURSE CONTENT. ORACLE 10g/11g DBA. web: call: (+91) / 400,

COURSE CONTENT. ORACLE 10g/11g DBA.   web:  call: (+91) / 400, COURSE CONTENT ORACLE 10g/11g DBA 1. Introduction (Database Architecture) Oracle 10g: Database Describe course objectives Explore the Oracle 10g database architecture 2: Installing the Oracle Database

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline

More information

Oracle Database 12c R2: Managing Multitenant Architecture Ed 2

Oracle Database 12c R2: Managing Multitenant Architecture Ed 2 Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 12c R2: Managing Multitenant Architecture Ed 2 Duration: 4 Days What you will learn During the Oracle Database

More information

MSBI (SSIS, SSRS, SSAS) Course Content

MSBI (SSIS, SSRS, SSAS) Course Content SQL / TSQL Development 1. Basic database and design 2. What is DDL, DML 3. Data Types 4. What are Constraints & types 1. Unique 2. Check 3. NULL 4. Primary Key 5. Foreign Key 5. Default 1. Joins 2. Where

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

ORACLE 11g R2 New Features

ORACLE 11g R2 New Features KNOWLEDGE POWER Oracle Grid Infrastructure Installation and Upgrade Enhancements Oracle Restart ASM Enhancements Storage Enhancements Data Warehouse and Partitioning Enhancements Oracle SecureFiles Security

More information

Oracle 1Z0-497 Exam Questions and Answers (PDF) Oracle 1Z0-497 Exam Questions 1Z0-497 BrainDumps

Oracle 1Z0-497 Exam Questions and Answers (PDF) Oracle 1Z0-497 Exam Questions 1Z0-497 BrainDumps Oracle 1Z0-497 Dumps with Valid 1Z0-497 Exam Questions PDF [2018] The Oracle 1Z0-497 Oracle Database 12c Essentials exam is an ultimate source for professionals to retain their credentials dynamic. And

More information

Oracle Database 12C: Advanced Administration - 1Z0-063

Oracle Database 12C: Advanced Administration - 1Z0-063 Oracle Database 12C: Advanced Administration - 1Z0-063 Backup and Recovery Explain Oracle backup and recovery solutions o Describe types of database failures o Describe the tools available for backup and

More information

Expert Oracle Database

Expert Oracle Database Expert Oracle Database logadministration Sam R. Alapati Apress Contents About the Author About the Technical Reviewer Acknowledgments Introduction xxxiii xxxiv xxxv xxxvii PART 1 Background, Data Modeling,

More information

Microsoft SQL Server

Microsoft SQL Server Microsoft SQL Server Abstract This white paper outlines the best practices for Microsoft SQL Server Failover Cluster Instance data protection with Cohesity DataPlatform. December 2017 Table of Contents

More information

Introduction... xxxi Chapter 1: Introducing SQL Server In Depth... 2

Introduction... xxxi Chapter 1: Introducing SQL Server In Depth... 2 Introduction... xxxi Chapter 1: Introducing SQL Server 2012... 1 In Depth... 2 Why Use SQL Server?... 2 Features Introduced in SQL Server 2008 R2... 3 Master Data Services... 3 StreamInsight... 3 Multi-Server

More information

Configuring and Integrating Oracle

Configuring and Integrating Oracle Configuring and Integrating Oracle The Basics of Oracle 3 Configuring SAM to Monitor an Oracle Database Server 4 This document includes basic information about Oracle and its role with SolarWinds SAM Adding

More information

Oracle Database 12c: Administration Workshop Duration: 5 Days Method: Instructor-Led

Oracle Database 12c: Administration Workshop Duration: 5 Days Method: Instructor-Led Oracle Database 12c: Administration Workshop Duration: 5 Days Method: Instructor-Led Certification: Oracle Database 12c Administrator Certified Associate Exam: Oracle Database 12c: Installation and Administration

More information

Replication. Some uses for replication:

Replication. Some uses for replication: Replication SQL Server 2000 Replication allows you to distribute copies of data from one database to another, on the same SQL Server instance or between different instances. Replication allows data to

More information

Oracle V Table Schema Sql Script

Oracle V Table Schema Sql Script Oracle V Table Schema Sql Script the following table: Table 2-1 Schema Objects in Oracle and Microsoft SQL Server COMPUTE attaches computed values at the end of the query. These are The dynamic performance

More information

Survey of Oracle Database

Survey of Oracle Database Survey of Oracle Database About Oracle: Oracle Corporation is the largest software company whose primary business is database products. Oracle database (Oracle DB) is a relational database management system

More information

20762B: DEVELOPING SQL DATABASES

20762B: DEVELOPING SQL DATABASES ABOUT THIS COURSE This five day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL Server 2016 database. The course focuses on teaching individuals how to

More information

Oracle Database 11g: New Features for Oracle 9i DBAs

Oracle Database 11g: New Features for Oracle 9i DBAs Oracle University Contact Us: 1.800.529.0165 Oracle Database 11g: New Features for Oracle 9i DBAs Duration: 5 Days What you will learn This course introduces students to the new features of Oracle Database

More information

Oracle Syllabus Course code-r10605 SQL

Oracle Syllabus Course code-r10605 SQL Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic

More information

Oracle Database 12c: Administration Workshop Ed 2 NEW

Oracle Database 12c: Administration Workshop Ed 2 NEW Oracle Database 12c: Administration Workshop Ed 2 NEW Duration: 5 Days What you will learn The Oracle Database 12c: Administration Workshop will teach you about the Oracle Database architecture. You will

More information

Studio 2008 Change Table

Studio 2008 Change Table One Schema In Sql Server 2005 Management Studio 2008 Change Table Modify Data Through a View Server 2012 SQL Server 2008 R2 SQL Server 2008 SQL Server 2005 To provide a backward compatible interface to

More information

Oracle Database 12c R2: New Features for 12c R1 Administrators Ed 1

Oracle Database 12c R2: New Features for 12c R1 Administrators Ed 1 Oracle University Contact Us: Local: 0180 2000 526 Intl: +49 8914301200 Oracle Database 12c R2: New Features for 12c R1 Administrators Ed 1 Duration: 5 Days What you will learn The Oracle Database 12c

More information

Oracle DBA Course Content

Oracle DBA Course Content 1 Oracle DBA Course Content Database Architecture: Introduction to Instance and Database How user connects to database How SQL statement process in the database Oracle data dictionary and its role Memory

More information

RMOUG Training Days 2018

RMOUG Training Days 2018 RMOUG Training Days 2018 Pini Dibask Product Manager for Database Tools February 22 nd, 2018 Winning Performance Challenges in Oracle Multitenant About the Speaker Pini Dibask, Product Manager for Database

More information

Microsoft. [MS20762]: Developing SQL Databases

Microsoft. [MS20762]: Developing SQL Databases [MS20762]: Developing SQL Databases Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : Microsoft SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This five-day

More information

Expert Oracle GoldenGate

Expert Oracle GoldenGate Expert Oracle GoldenGate Ben Prusinski Steve Phillips Richard Chung Apress* Contents About the Authors About the Technical Reviewer Acknowledgments xvii xviii xix Chapter 1: Introduction...1 Distributed

More information

SQL Server. Management Studio. Chapter 3. In This Chapter. Management Studio. c Introduction to SQL Server

SQL Server. Management Studio. Chapter 3. In This Chapter. Management Studio. c Introduction to SQL Server Chapter 3 SQL Server Management Studio In This Chapter c Introduction to SQL Server Management Studio c Using SQL Server Management Studio with the Database Engine c Authoring Activities Using SQL Server

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

More information

Microsoft Developing SQL Databases

Microsoft Developing SQL Databases 1800 ULEARN (853 276) www.ddls.com.au Length 5 days Microsoft 20762 - Developing SQL Databases Price $4290.00 (inc GST) Version C Overview This five-day instructor-led course provides students with the

More information

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda Agenda Oracle9i Warehouse Review Dulcian, Inc. Oracle9i Server OLAP Server Analytical SQL Mining ETL Infrastructure 9i Warehouse Builder Oracle 9i Server Overview E-Business Intelligence Platform 9i Server:

More information

Course: Oracle Database 12c R2: Administration Workshop Ed 3

Course: Oracle Database 12c R2: Administration Workshop Ed 3 Course: Oracle Database 12c R2: Administration Workshop Ed 3 The Oracle Database 12c R2: Administration Workshop Ed 3 course is designed to provide you with a firm foundation in administration of an Oracle

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 Managing Oracle Database 12c with Oracle Enterprise Manager 12c Martin

More information