Tasks for Installation / Introduction Concepts. 1. What are the Advantages of SQL Server? Data Integrity

Size: px
Start display at page:

Download "Tasks for Installation / Introduction Concepts. 1. What are the Advantages of SQL Server? Data Integrity"

Transcription

1 Tasks for Installation / Introduction Concepts 1. What are the Advantages of SQL Server? Data Integrity Data integrity in SQL Server is enhanced by the use of 'triggers' which can be applied whenever a record is added, updated or deleted. This occurs at the table level and cannot thus be forgotten about, ignored or bypassed by the client machine. For example audit processes cannot be avoided (accidentally or deliberately) with this scenario. Performance With Access all tables involved in a form, report or a query are copied across the network from the server to the client's machine. The tables are then processed and filtered to generate the required recordset. For example if looking up details for one particular order from an orders table containing, say, 50,000 records then the whole table (all 50,000 records) is dragged over the network and then 49,999 of these records are thrown away (this is an over-simplification since indexing can be used to mitigate this to some extent). Contrast this with SQL Server where the filtering takes place on the server (if designed properly) and only 1 record is transmitted over the network. This can affect performance in two ways. Firstly SQL Server is highly optimised and can usually perform the required filtering much more quickly than the client machine and secondly the amount of data sent across the network link is vastly reduced. For most databases the main performance bottleneck is data transmission over the network hence reducing this can give a really dramatic improvement in performance. Predicting likely performance improvements is very difficult but an average overall speed improvement of 3 to 5 times, and possibly much more, would not be unexpected. Network Traffic As can be seen from the previous section, network traffic is greatly reduced in a client/server scenario, often by many orders of magnitude. This both improves network reliability (by reducing collisions, etc.) and also improves the performance of the network for other software (as there is less traffic on the network). Where there is a slow connection, such as over a telephone dial-up, Access is usually so slow as to be all but unusable (obviously this does depend upon the amount of data) whereas a SQL Server application, if designed for this environment, can still be perfectly useable. Low Bandwidth This occurs when you are accessing your database over a connection that only supports low data speeds, which, for all practical situations, means anything other than a LAN. In all low bandwidth situations Access/JET usually performs so slowly as to be unusable whilst a correctly designed SQL Server system can be similar in speed to running it over a LAN. The main low bandwidth situations are: Dial-up

2 Allowing remote salesmen, off-site workers, home workers, out of hours users and the like to dial into the network over the normal telephone lines. Most file server databases are completely unusable over dial-up unless some additional technology, such as Terminal Server, is used (and this brings it's own complications). WAN If you want to link more than one site to a database then typically you would use a WAN (Wide Area Network). Irrespective of the communications technology used (which would usually be leased line, VPN {Virtual Private Network} or ISDN), WANs tend to have a low bandwidth compared to LANs and in addition are often heavily loaded with traffic. Traditional file server databases do not work well over a WAN and will often have both performance problems and reliability problems (owing to the less than perfect connections that most WANs provide). Internet A database that is being run over the Internet needs to be stable, scalable, able to handle heavy loads and capable of coping with failed connections; none of which are usually associated with file server database architectures. Small scale, non-critical databases can be run over the Internet but in most situations you should migrate to a client/server design. Wireless LAN These are increasingly popular and are usually fine for accessing a spreadsheet or Word document where a wired solution is inconvenient or is just not practical. However file/server databases do not usually work well over most wireless links due to the low bandwidth that they offer (even a 10Mhz wireless link will usually operate at only half of that speed or less). Scalability A file server system such as Access is designed for small workgroups and is scalable to perhaps 10 concurrent clients. Above this level performance starts to degrade rapidly as more users are added. With the SQL Server client/server architecture many hundreds, or even thousands (with the appropriate infrastructure), of concurrent users can be supported without significant performance degradation 2. What are the different Editions of SQL Server? Enterprise Edition Supports Large Enterprise level OLTP and complex environments. Standard Edition Data Management and analysis platform for small and medium sized organizations.

3 Developer Edition Allows developer to build any type of application on top of SQL Server. Express Edition Free, easy-to-use and simple-to-manage database solution. Workgroup Edition Data management solution for small organization that has no limits of data and users. Mobile Edition Designed exclusively to server Mobile applications. 3. What are the different SYSTEM DATABASES in SQL Server? Purpose of Each? SQL Server System Databases Master o o o Resource o o o TempDB o Purpose - Core system database to manage the SQL Server instance. In SQL Server 2005, the Master database is the logical repository for the system objects residing in the sys schema. In SQL Server 2000 and previous editions of SQL Server, the Master database physically stored all of the system objects. Prominent Functionality Per instance configurations Databases residing on the instance Files for each database Logins Linked\Remote servers Endpoints Additional Information The first database in the SQL Server startup process In SQL Server 2005, needs to reside in the same directory as the Resource database Purpose - The Resource database is responsible for physically storing all of the SQL Server 2005 system objects. This database has been created to improve the upgrade and rollback of SQL Server system objects with the ability to overwrite only this database. Prominent Functionality System object definition Additional Information Introduced in SQL Server 2005 to help manage the upgrade and rollback of system objects Prior to SQL Server 2005 the system related data was stored in the master database Read-only database that is not accessible via the SQL Server 2005 tool set The database ID for the Resource database is The Resource database does not have an entry in master.sys.databases Purpose - Temporary database to store temporary tables (#temptable or ##temptale), table variables, cursors, work tables, row versioning, create or rebuild indexes sorted in TempDB, etc. Each time the SQL Server instance is restarted all

4 objects in this database are destroyed, so permanent objects cannot be created in this database. o Prominent Functionality Manage temporary objects listed in the purpose above Model o Purpose - Template database for all user defined databases o Prominent Functionality Objects Columns Users o Additional Information User defined tables, stored procedures, user defined data types, etc can be created in the Model database and will exist in all future user defined databases The database configurations such as the recovery model for the Model database are applied to future user defined databases MSDB o Purpose - Primary database to manage the SQL Server Agent configurations o Prominent Functionality SQL Server Agent Jobs, Operators and Alerts DTS Package storage in SQL Server 7.0 and 2000 SSIS Package storage in SQL Server 2005 Distribution o Purpose - Primary data to support SQL Server replication o Prominent Functionality Database responsible for the replication meta data Supports the data for transaction replication between the publisher and subscriber(s) ReportServer o Purpose - Primary database for Reporting Services to store the meta data and object definitions o Prominent Functionality Reports security Job schedules and running jobs Report notifications Report execution history ReportServerTempDB o Purpose - Temporary storage for Reporting Services o Prominent Functionality Session information Cache System Databases Do's and Don'ts Data Access - Based on the version of SQL Server query only the recommended objects. In general the system database objects are being deprecated to a set of views, so be sure all of your scripts are accessing the right objects. If not, you are going to have a big project in the future to convert all of your scripts. Changing Objects - Do not change system objects. In SQL Server 2005 all of the database objects have been moved to the Resource database which stores the definition for the system objects and can be updated via new SQL Server releases independent of the data.

5 New Objects - Creating objects in the system databases is not recommended. If you have objects that are needed for the instance i.e. administrative items, just create a separate DBA database to store these objects. Sneaking a Peak - Up to this point, all of the T-SQL code for the tables, views, stored procedures, functions, etc. has been clear text. So you can review the objects and learn from the techniques used by Microsoft. Dropping Objects - The most prominent reason to drop system objects are for specific types of lock downs and auditing in particular industries. Although some of those practices are well documented, be sure you understand the ramifications related to administering and developing applications once those restrictions are in place. Security - Do not forget about the Public role and Guest user, they are the conduit for users to access the system objects. So that should answer the question of how people (logins\users) can access the objects based on the object owner or schema, depending on the SQL Server version. Backups - Be sure to have a consistent backup process for your system databases. Including the system databases with your user defined databases might be the best approach if a disaster occurs. Scope - Each SQL Server instance (including the Express Edition) has its own set of SQL Server system databases. As such, if a single Windows server has multiple SQL Server instances installed, a change to one system database only impacts the single instance, not all instances on the Windows server. 4. What are the new features in SQL Server 2014? In-Memory OLTP: which allows you to move individual tables to special in-memory structures. The performance boost can be as huge as 30x. There are a number of limitations and special requirements for these tables, so they won't work under every circumstance. But when they do, your OLTP performance will go through the roof. This is better than other in-memory solutions that require the entire database to be placed in memory. You can get more performance by converting existing stored procedures into in-memory procedures, too. You'll need to test to make sure your tables are compatible Managed Backup to Azure: Managed Backup automatically backs up your database (or your instance) based on your defined recovery interval and workload patterns. When the system determines the data has changed significantly enough, it takes a backup to Azure. This feature only works with Azure blob storage. But since your backups are already offsite, there's no need to worry about tapes. Azure VMs for Availability replicas: With SQL Server 2014, you can define an Availability Group replica that resides in Azure. When a primary failure happens, you have to fail over manually, but you will be up and running very quickly. And as long as your primary is online you can still push your reporting to the Azure replica to offload that activity from production. If you need reliable, off-site HA but don't have a second site, then this feature is for you. Just pick the location you'd like when you create the Azure VM, and you're set. SQL Server Data Files in Azure: Data Files in Azure is just what it sounds like: Your database runs locally in your data center, while the database files themselves live in an Azure blob container. This can offer advantages in DR and migration. But depending on the size of the database and its workload, the potential performance cost

6 of pushing the data for every transaction across the Internet could be prohibitive. A better use of this feature may be to store the data files in an Azure VM in the same data center. This can also get you around the current limitation of having only 16 mounted disks in an Azure VM. Updateable columnstore indexes: Columnstore indexes in SQL Server 2014 brought a dramatic boost to data warehouse performance, but with a hitch: They couldn't be updated. With SQL Server 2014, now they can. This means you no longer have to drop and re-create columnstore indexes every time you need to load your warehouse tables. Not only that, but updateability also means you may be able to look at columnstore indexes for certain OLTP applications. The caveat is that you must have a clustered columnstore index on the table. Non-clustered columnstores aren't supported. Resource Governor for I/O: Disk I/O is typically the most constrained resource of a database system, and often a large or rogue query will take up more precious I/O resources than you can afford. Microsoft has finally given us some control over runaway I/O. With Resource Governor for I/O, you can now put queries into their own resource pool and limit the amount of I/O per volume they're allowed. MIN_IOPS_PER_VOLUME and MAX_IOPS_PER_VOLUME set the minimum and maximum reads or writes per second allowed by a process in a disk volume. Resource Governor I/O control, continued: MIN_IOPS_PER_VOLUME reserves a minimum number of I/O transactions per second, while MAX_IOPS_PER_VOLUME provides a maximum number. This maximum doesn't limit the number of I/O operations a query can perform, but merely keeps it from monopolizing a disk. This way your large queries can still run, but other things will run as well. A good use of I/O control is to reserve some IOPS for administrators to be able to investigate issues when the disks are overloaded. Delayed durability: In SQL Server, changes to data are written to the log first. This is called write ahead logging (WAL). Control isn't returned to the application until the log record has been written to disk (a process referred to as "hardening"). Delayed durability allows you to return control back to the application before the log is hardened. This can speed up transactions if you have issues with log performance. Nothing is free, though, and here you sacrifice recoverability. Should the database go down before the log is committed to disk, then you lose those transactions forever. It may be worth the risk if your log performance is severely degrading application response times. SSD buffer pool extension: Creating a buffer pool extension for SQL Server 2014 is like being able to define a different page file in Windows. As data pages move into memory, they begin to fill up the buffer pool. If the buffer pool fills up, the less frequently used pages will be paged to disk. Then when they're needed again, they'll be swapped with something else in the buffer pool and moved back into memory. The buffer pool extension option allows you to define an SSD as a buffer file location. Because SSD is so much faster than spinning disk, the paging is considerably quicker, which increases performance dramatically in some cases. You can define a buffer pool extension file up to 32 times the size of your memory.

7 Incremental statistics: Updating statistics in SQL Server is the very definition of redundant work. Whenever statistics need to be rebuilt, you can't just update the new items -- you have to update everything. This means that a table with 200 million rows and only 40 million changes will need to update all 200 million rows in order to pick up those changes. Incremental statistics in SQL Server 2014 allow you to update just those rows that have changed and merge them with what's already there. This can have a big impact on query performance in some configurations. Lock priority of online operations: You can now specify a lock priority for online reindexing. In previous versions of SQL Server, long-running queries could block reindexing operations, chewing up your maintenance window while your re-index op sits waiting, doing nothing. In SQL Server 2014, you can specify how your re-index operation will handle being blocked. You specify how long it will wait and what to do when the wait is over. Will you have it follow traditional behavior and wait indefinitely? Will you have it terminate and move to the next table? Or will you kill the blocking query, so your re-indexing can complete? It's your choice. Tasks for DB Design, Table Design and Constraints Concepts 1. What are the data types in SQL Server 2012/2014? Exact Numerics bigint bit decimal int money numeric smallint smallmoney tinyint Approximate Numerics float real Date and Time date datetime2 datetime datetimeoffset smalldatetime time Character Strings char text varchar

8 Unicode Character Strings nchar ntext nvarchar Binary Strings binary image varbinary Other Data Types cursor hierarchyid sql_variant table timestamp uniqueidentifier xml Spatial Types Exact Numeric Data Types: DATA TYPE FROM TO bigint - 9,223,372,036,854,775,808 9,223,372,036,854,775,807 int -2,147,483,648 2,147,483,647 smallint -32,768 32,767 tinyint bit 0 1 decimal -10^ ^38-1 numeric -10^ ^38-1 Approximate Numeric Data Types DATA TYPE FROM TO Float -1.79E E Real -3.40E E + 38

9 Date and Time Data Types DATA TYPE FROM TO datetime Jan 1, 1753 Dec 31, 9999 smalldatetime Jan 1, 1900 Jun 6, 2079 date Stores a date like June 30, 1991 time Stores a time of day like 12:30 P.M. Character Strings Data Types DATA TYPE Description char Maximum length of 8,000 characters.( Fixed length non-unicode characters) varchar Maximum of 8,000 characters.(variable-length non-unicode data). varchar(max) text Maximum length of 231characters, Variablelength non-unicode data (SQL Server 2005 only). Variable-length non- Unicode data with a maximum length of 2,147,483,647 characters. Unicode Character Strings Data Types DATA TYPE Description nchar Maximum length of 4,000 characters.( Fixed length Unicode) nvarchar Maximum length of 4,000 characters.(variable length Unicode)

10 nvarchar(max) ntext Maximum length of 231characters (SQL Server 2005 only).( Variable length Unicode) Maximum length of 1,073,741,823 characters. ( Variable length Unicode ) Binary Data Types DATA TYPE Description binary Maximum length of 8,000 bytes(fixed-length binary data ) varbinary Maximum length of 8,000 bytes.(variable length binary data) varbinary(max) Maximum length of 231 bytes (SQL Server 2005 only). ( Variable length Binary data) image Maximum length of 2,147,483,647 bytes. ( Variable length Binary Data) Misc Data Types DATA TYPE sql_variant timestamp Description Stores values of various SQL Server-supported data types, except text, ntext, and timestamp. Stores a database-wide unique number that gets updated every time a row gets updated

11 uniqueidentifier xml cursor table Stores a globally unique identifier (GUID) Stores XML data. You can store xml instances in a column or a variable (SQL Server 2005 only). Reference to a cursor object Stores a result set for later processing 2. What are the Temporary Tables? With Example? SQL Server provides two types of temp tables based on the behaviour and scope of the table. These are: Local Temp Table Global Temp Table Local Temp Table Local temp tables are only available to the current connection for the user; and they are automatically deleted when the user disconnects from instances. Local temporary table name is stared with hash ("#") sign. Global Temp Table Global Temporary tables name starts with a double hash ("##"). Once this table has been created by a connection, like a permanent table it is then available to any user by any connection. It can only be deleted once all connections have been closed. Two types of temporary tables available. Here I am going to describe each of them. Local Temporary Table The syntax given below is used to create a local Temp table in SQL Server: CREATE TABLE #LocalTempTable_SQLSchool(

12 User_ID int, User_Name varchar(50), User_Address varchar(150)) The above script will create a temporary table in tempdb database. We can insert or delete records in the temporary table similar to a general table like: insert into # LocalTempTable_SQLSchool values ( 1, Sai,'India'); insert into # LocalTempTable_SQLSchool values (2, Phanindra,'India'); Now select records from that table: select * from # LocalTempTable_SQLSchool After execution of all these statements, if we close the query window and again execute "Insert" or "Select" Command, it will throw the following error: Msg 208, Level 16, State 0, Line 1 Invalid object name '#LocalTempTable'. This is because the scope of Local Temporary table is only bounded with the current connection of current user. Global Temporary Table The scope of Global temporary table is the same for the entire user for a particular connection. We need to put "##" with the name of Global temporary tables. Below is the syntax for creating a Global Temporary Table: CREATE TABLE ##NewGlobalTempTable( UserID int, UserName varchar(50), UserAddress varchar(150)) The above script will create a temporary table in tempdb database. We can insert or delete records in the temporary table similar to a general table like: insert into ##NewGlobalTempTable values ( 1, 'Abhijit','India'); Now select records from that table: select * from ##NewGlobalTempTable Global temporary tables are visible to all SQL Server connections. When we create one of these, all the users can see it. 3. How to DISABLE Check Constraints? Syntax and Example.

13 To disable a check constraint for replication -or- 1. In database diagram, right-click the table containing the constraint, then select Check Constraints from the shortcut menu. Open the table containing the constraint, right-click in the Table Designer, and choose Check Constraints from the shortcut menu. 2. In the Check Constraints dialog box select the constraint from the Selected Check Constraint list. 3. In the properties grid change the value to No. Or -- Disable the constraints on a table called tablename: ALTER TABLE tablename NOCHECK CONSTRAINT ALL -- Re-enable the constraints on a table called tablename: ALTER TABLE tablename WITH CHECK CHECK CONSTRAINT ALL 4. How to add Primary Key for existing tables? Syntax and Example. ALTER TABLE <table-name> ADD CONSTRAINT <constraint-name> PRIMARY KEY <column-name> EXAMPLE: ALTER TABLE CUSTOMERS ADD PRIMARY KEY (CUST_ID) PS: Ensure the column is of type NOT NULL to perform above activity. 5. What is CASCADING of Foreign Keys? Explanation with Example. CREATE TABLE categories ( id int unsigned not null primary key, name VARCHAR(255) default null ); CREATE TABLE products ( id int unsigned not null primary key, name VARCHAR(255) default null ); CREATE TABLE categories_products ( category_id int unsigned not null, product_id int unsigned not null, PRIMARY KEY (category_id, product_id),

14 KEY pkey (product_id), FOREIGN KEY (category_id) REFERENCES categories (id) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (product_id) REFERENCES products (id) ON DELETE CASCADE ON UPDATE CASCADE ); This way, you can delete a product OR a category, and only the associated records in categories_products will die alongside. The cascade won't travel farther up the tree and delete the parent product/category table. e.g. products: boots, mittens, hats, coats categories: red, green, blue, white, black prod/cats: red boots, green mittens, red coats, black hats If you delete the 'red' category, then only the 'red' entry in the categories table dies, as well as the two entries prod/cats: 'red boots' and 'red coats'. The delete will not cascade any farther and will not take out the 'boots' and 'coats' categories. 6. What is the need for making Identity Property as Primary Key? By default Identity will allow duplicates by using a state called IDENTITY REBOUND(), so if we use primary key, it won t allow duplicates. Tasks for Views, Joins, Grouping and Indexes Concepts 1. What are the limitations of WITH CHECK OPTION It won t allow dynamic conditions (condition should be predefined, not depends on the user input) Any updates performed directly to a view's underlying tables are not verified against the view, even if CHECK OPTION is specified. 2. What is the difference between HAVING and WHERE Clause? WHERE and HAVING clauses are using in JOINS.

15 WHERE clause executes before the GROUPBY statement HAVING clause executes after the GROUP BY statement 3. Can we work with an array of number in SQL Server using T-SQL? If Yes, Any examples and limitations? If no, any alternatives for this? NO. We can use the Functions which return a table values. Example:- CREATE FUNCTION fn_reportcustdetails (@Age tinyint) RETURNS table AS RETURN ( SELECT * FROM CUSTOMERS WHERE CUST_AGE SELECT * FROM fn_reportcustdetails(25) 4. Write a Query to find the THIRD greatest of a given sequence of Numbers. SELECT * FROM tablename tbl1 WHERE (N-1) = ( SELECT COUNT(DISTINCT(Emp2.Salary)) FROM tablename tbl2 WHERE tbl2.salary > tbl1.salary ) /*here, N=3 greatest or highest number of given column*/ 5. How to delete duplicate rows in a table? For this example, we will use the following table with duplicate PK values. In this table the primary key is the two columns (col1, col2). We cannot create a unique index or PRIMARY KEY constraint since two rows have duplicate PKs. This procedure illustrates how to identify and remove the duplicates. create table t1(col1 int, col2 int, col3 char(50)) insert into t1 values (1, 1, 'data value one') insert into t1 values (1, 1, 'data value one') insert into t1 values (1, 2, 'data value two')

16 The first step is to identify which rows have duplicate primary key values: SELECT col1, col2, count(*) FROM t1 GROUP BY col1, col2 HAVING count(*) > 1 This will return one row for each set of duplicate PK values in the table. The last column in this result is the number of duplicates for the particular PK value. col1 col If there are only a few sets of duplicate PK values, the best procedure is to delete these manually on an individual basis. For example: set rowcount 1 delete from t1 where col1=1 and col2=1

ColumnStore Indexes UNIQUE and NOT DULL

ColumnStore Indexes UNIQUE and NOT DULL Agenda ColumnStore Indexes About me The Basics Key Characteristics DEMO SQL Server 2014 ColumnStore indexes DEMO Best Practices Data Types Restrictions SQL Server 2016+ ColumnStore indexes Gareth Swanepoel

More information

Exact Numeric Data Types

Exact Numeric Data Types SQL Server Notes for FYP SQL data type is an attribute that specifies type of data of any object. Each column, variable and expression has related data type in SQL. You would use these data types while

More information

Department of Computer Science University of Cyprus. EPL342 Databases. Lab 1. Introduction to SQL Server Panayiotis Andreou

Department of Computer Science University of Cyprus. EPL342 Databases. Lab 1. Introduction to SQL Server Panayiotis Andreou Department of Computer Science University of Cyprus EPL342 Databases Lab 1 Introduction to SQL Server 2008 Panayiotis Andreou http://www.cs.ucy.ac.cy/courses/epl342 1-1 Before We Begin Start the SQL Server

More information

Lab 4: Tables and Constraints

Lab 4: Tables and Constraints Lab : Tables and Constraints Objective You have had a brief introduction to tables and how to create them, but we want to have a more in-depth look at what goes into creating a table, making good choices

More information

Constraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2

Constraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2 CMPT 354 Constraints Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers John Edgar 2 firstname type balance city customerid lastname accnumber rate branchname phone

More information

Building Better. SQL Server Databases

Building Better. SQL Server Databases Building Better SQL Server Databases Who is this guy? Eric Cobb SQL Server Database Administrator MCSE: Data Platform MCSE: Data Management and Analytics 1999-2013: Webmaster, Programmer, Developer 2014+:

More information

Documentation Accessibility. Access to Oracle Support. Supported Browsers

Documentation Accessibility. Access to Oracle Support. Supported Browsers Oracle Cloud Known Issues for Oracle Business Intelligence Cloud Service E37404-12 March 2018 Known Issues Learn about the issues you may encounter when using Oracle Business Intelligence Cloud Service

More information

New Features Bulletin Replication Server Options 15.6

New Features Bulletin Replication Server Options 15.6 Bulletin Replication Server Options 15.6 Linux, Microsoft Windows, and UNIX DOCUMENT ID: DC01004-01-1560-01 LAST REVISED: November 2010 Copyright 2010 by Sybase, Inc. All rights reserved. This publication

More information

Angela Henry. Data Types Do Matter

Angela Henry. Data Types Do Matter Angela Henry Data Types Do Matter Angela Henry Angela is a DBA/BI Developer, living in High Point, NC and loves what she does. She's worked with all versions of SQL Server & worn all the hats that come

More information

Tables. Tables. Physical Organization: SQL Server Partitions

Tables. Tables. Physical Organization: SQL Server Partitions Tables Physical Organization: SQL Server 2005 Tables and indexes are stored as a collection of 8 KB pages A table is divided in one or more partitions Each partition contains data rows in either a heap

More information

Physical Organization: SQL Server 2005

Physical Organization: SQL Server 2005 Physical Organization: SQL Server 2005 Tables Tables and indexes are stored as a collection of 8 KB pages A table is divided in one or more partitions Each partition contains data rows in either a heap

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

Introduction to SQL Server 2005/2008 and Transact SQL

Introduction to SQL Server 2005/2008 and Transact SQL Introduction to SQL Server 2005/2008 and Transact SQL Week 4: Normalization, Creating Tables, and Constraints Some basics of creating tables and databases Steve Stedman - Instructor Steve@SteveStedman.com

More information

5. SQL Query Syntax 1. Select Statement. 6. CPS: Database Schema

5. SQL Query Syntax 1. Select Statement. 6. CPS: Database Schema 5. SQL Query Syntax 1. Select Statement 6. CPS: Database Schema Joined in 2016 Previously IT Manager at RSNWO in Northwest Ohio AAS in Computer Programming A+ Certification in 2012 Microsoft Certified

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

SQL Server 2014 Column Store Indexes. Vivek Sanil Microsoft Sr. Premier Field Engineer

SQL Server 2014 Column Store Indexes. Vivek Sanil Microsoft Sr. Premier Field Engineer SQL Server 2014 Column Store Indexes Vivek Sanil Microsoft Vivek.sanil@microsoft.com Sr. Premier Field Engineer Trends in the Data Warehousing Space Approximate data volume managed by DW Less than 1TB

More information

Survey of the Azure Data Landscape. Ike Ellis

Survey of the Azure Data Landscape. Ike Ellis Survey of the Azure Data Landscape Ike Ellis Wintellect Core Services Consulting Custom software application development and architecture Instructor Led Training Microsoft s #1 training vendor for over

More information

Get Table Schema In Sql Server 2005 Modify. Column Datatype >>>CLICK HERE<<<

Get Table Schema In Sql Server 2005 Modify. Column Datatype >>>CLICK HERE<<< Get Table Schema In Sql Server 2005 Modify Column Datatype Applies To: SQL Server 2014, SQL Server 2016 Preview Specifies the properties of a column that are added to a table by using ALTER TABLE. Is the

More information

Intelligent Caching in Data Virtualization Recommended Use of Caching Controls in the Denodo Platform

Intelligent Caching in Data Virtualization Recommended Use of Caching Controls in the Denodo Platform Data Virtualization Intelligent Caching in Data Virtualization Recommended Use of Caching Controls in the Denodo Platform Introduction Caching is one of the most important capabilities of a Data Virtualization

More information

SQL Coding Guidelines

SQL Coding Guidelines SQL Coding Guidelines 1. Always specify SET NOCOUNT ON at the top of the stored procedure, this command suppresses the result set count information thereby saving some amount of time spent by SQL Server.

More information

Course Topics. Microsoft SQL Server. Dr. Shohreh Ajoudanian. 01 Installing MSSQL Server Data types

Course Topics. Microsoft SQL Server. Dr. Shohreh Ajoudanian. 01 Installing MSSQL Server Data types Dr. Shohreh Ajoudanian Course Topics Microsoft SQL Server 01 Installing MSSQL Server 2008 03 Creating a database 05 Querying Tables with SELECT 07 Using Set Operators 02 Data types 04 Creating a table,

More information

Information Systems Engineering. SQL Structured Query Language DDL Data Definition (sub)language

Information Systems Engineering. SQL Structured Query Language DDL Data Definition (sub)language Information Systems Engineering SQL Structured Query Language DDL Data Definition (sub)language 1 SQL Standard Language for the Definition, Querying and Manipulation of Relational Databases on DBMSs Its

More information

FLAT DATACENTER STORAGE CHANDNI MODI (FN8692)

FLAT DATACENTER STORAGE CHANDNI MODI (FN8692) FLAT DATACENTER STORAGE CHANDNI MODI (FN8692) OUTLINE Flat datacenter storage Deterministic data placement in fds Metadata properties of fds Per-blob metadata in fds Dynamic Work Allocation in fds Replication

More information

Alter Changes Default Schema Sql Server 2008 R2 Replicate

Alter Changes Default Schema Sql Server 2008 R2 Replicate Alter Changes Default Schema Sql Server 2008 R2 Replicate Topic Status: Some information in this topic is preview and subject to change in Specifies the properties of a column that are added to a table

More information

TRIM Integration with Data Protector

TRIM Integration with Data Protector TRIM Integration with Data Protector Table of Contents Introduction... 3 Prerequisites... 3 TRIM Internals... 3 TRIM s Data Organization... 3 TRIM s Architecture... 4 Implications for Backup... 4 Sample

More information

Get Table Schema In Sql Server 2005 Modify. Column Size >>>CLICK HERE<<<

Get Table Schema In Sql Server 2005 Modify. Column Size >>>CLICK HERE<<< Get Table Schema In Sql Server 2005 Modify Column Size Dynamic T-SQL - Alter column definition to max length of field VARCHAR(MAX) = '' SELECT IDENTITY(int,1,1) as ID, -- for later update 'ALTER TABLE

More information

ColdFusion Summit 2016

ColdFusion Summit 2016 ColdFusion Summit 2016 Building Better SQL Server Databases Who is this guy? Eric Cobb - Started in IT in 1999 as a "webmaster - Developer for 14 years - Microsoft Certified Solutions Expert (MCSE) - Data

More information

System Pages (Setup Admins Only)

System Pages (Setup Admins Only) System Pages (Setup Admins Only) 1 Primary System Pages 2 More on Page Views & Sub Page Views 3 4 System Lookup Pages 5 6 7 Distinguishing Tables, Pages, Filtered Pages, & Page Views 8 9 Reasons to Create

More information

T-sql Check If Index Exists Information_schema

T-sql Check If Index Exists Information_schema T-sql Check If Index Exists Information_schema Is there another way to check if table/column exists in SQL Server? indexes won't pick them up, causing it to use the Clustered Index whenever a new column

More information

6 Months Training Module in MS SQL SERVER 2012

6 Months Training Module in MS SQL SERVER 2012 6 Months Training Module in MS SQL SERVER 2012 Module 1 Installing and Configuring Windows Server 2012 Installing and Managing Windows Server 2012 Windows Server 2012 Overview Installing Windows Server

More information

In-Memory Tables and Natively Compiled T-SQL. Blazing Speed for OLTP and MOre

In-Memory Tables and Natively Compiled T-SQL. Blazing Speed for OLTP and MOre In-Memory Tables and Natively Compiled T-SQL Blazing Speed for OLTP and MOre Andy Novick SQL Server Consultant SQL Server MVP since 2010 Author of 2 books on SQL Server anovick@novicksoftware.com www.novicksoftware.com

More information

Building Better. SQL Server Databases

Building Better. SQL Server Databases Building Better SQL Server Databases Who is this guy? Eric Cobb Started in IT in 1999 as a "webmaster Developer for 14 years Microsoft Certified Solutions Expert (MCSE) Data Platform Data Management and

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

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

About System Setup Pages

About System Setup Pages About System Setup Pages System Pages (Setup Admins Only) Domains Pages Page Views Reports Report Pages A list of churches that are allowed to use this database. Each church will connect via a different

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

Code Centric: T-SQL Programming with Stored Procedures and Triggers

Code Centric: T-SQL Programming with Stored Procedures and Triggers Apress Books for Professionals by Professionals Sample Chapter: "Data Types" Code Centric: T-SQL Programming with Stored Procedures and Triggers by Garth Wells ISBN # 1-893115-83-6 Copyright 2000 Garth

More information

1. SQL Overview. Allows users to access data in the relational database management systems.

1. SQL Overview. Allows users to access data in the relational database management systems. 1. Overview is a language to operate databases; it includes database creation, deletion, fetching rows, modifying rows, etc. is an ANSI (American National Standards Institute) standard language, but there

More information

Manual Trigger Sql Server 2008 Update Inserted Rows

Manual Trigger Sql Server 2008 Update Inserted Rows Manual Trigger Sql Server 2008 Update Inserted Rows Am new to SQL scripting and SQL triggers, any help will be appreciated Does it need to have some understanding of what row(s) were affected, sql-serverperformance.com/2010/transactional-replication-2008-r2/

More information

Basis Data Terapan. Yoannita

Basis Data Terapan. Yoannita Basis Data Terapan Yoannita SQL Server Data Types Character strings: Data type Description Storage char(n) varchar(n) varchar(max) text Fixed-length character string. Maximum 8,000 characters Variable-length

More information

IBM DB2 UDB V7.1 Family Fundamentals.

IBM DB2 UDB V7.1 Family Fundamentals. IBM 000-512 DB2 UDB V7.1 Family Fundamentals http://killexams.com/exam-detail/000-512 Answer: E QUESTION: 98 Given the following: A table containing a list of all seats on an airplane. A seat consists

More information

Developing Microsoft Azure Solutions (70-532) Syllabus

Developing Microsoft Azure Solutions (70-532) Syllabus Developing Microsoft Azure Solutions (70-532) Syllabus Cloud Computing Introduction What is Cloud Computing Cloud Characteristics Cloud Computing Service Models Deployment Models in Cloud Computing Advantages

More information

Microsoft Developing Microsoft SQL Server 2012 Databases. Download Full Version :

Microsoft Developing Microsoft SQL Server 2012 Databases. Download Full Version : Microsoft 70-464 Developing Microsoft SQL Server 2012 Databases Download Full Version : https://killexams.com/pass4sure/exam-detail/70-464 QUESTION: 172 DRAG DROP You administer a SQL Server 2014 instance.

More information

Exam Questions

Exam Questions Exam Questions 70-464 Developing Microsoft SQL Server 2012 Databases https://www.2passeasy.com/dumps/70-464/ 1. You create a view by using the following code: Several months after you create the view,

More information

Introduction to IBM DB2

Introduction to IBM DB2 Introduction to IBM DB2 Architecture Client-server system Server: SERVEDB, servedb.ing.man 10.17.2.91 Client: IBM Data Studio: graphical DB2 Command Window: command line 2 Architecture Servers, instances,

More information

CAST(HASHBYTES('SHA2_256',(dbo.MULTI_HASH_FNC( tblname', schemaname'))) AS VARBINARY(32));

CAST(HASHBYTES('SHA2_256',(dbo.MULTI_HASH_FNC( tblname', schemaname'))) AS VARBINARY(32)); >Near Real Time Processing >Raphael Klebanov, Customer Experience at WhereScape USA >Definitions 1. Real-time Business Intelligence is the process of delivering business intelligence (BI) or information

More information

Welcome to the presentation. Thank you for taking your time for being here.

Welcome to the presentation. Thank you for taking your time for being here. Welcome to the presentation. Thank you for taking your time for being here. In this presentation, my goal is to share with you 10 practical points that a single partitioned DBA needs to know to get head

More information

BEGINNING T-SQL. Jen McCown MidnightSQL Consulting, LLC MinionWare, LLC

BEGINNING T-SQL. Jen McCown MidnightSQL Consulting, LLC MinionWare, LLC BEGINNING T-SQL Jen McCown MidnightSQL Consulting, LLC MinionWare, LLC FIRST: GET READY 1. What to model? 2. What is T-SQL? 3. Books Online (BOL) 4. Transactions WHAT TO MODEL? What kind of data should

More information

Mobile Data Management Structure Design based on Mobile Database

Mobile Data Management Structure Design based on Mobile Database International Conference on Materials Engineering and Information Technology Applications (MEITA 2015) Mobile Data Management Structure Design based on Mobile Database Xin Hu Library, Nanchang Institute

More information

Sql Server 2008 Query Table Schema Management Studio Create

Sql Server 2008 Query Table Schema Management Studio Create Sql Server 2008 Query Table Schema Management Studio Create using SQL Server Management Studio or Transact-SQL by creating a new table and in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

More information

Ms Sql Server 2008 R2 Check If Temp Table Exists

Ms Sql Server 2008 R2 Check If Temp Table Exists Ms Sql Server 2008 R2 Check If Temp Table Exists I need to store dynamic sql result into a temporary table #Temp. Dynamic SQL Query How to check if column exists in SQL Server table 766 Insert results.

More information

Scalable Shared Databases for SQL Server 2005

Scalable Shared Databases for SQL Server 2005 White Paper Scalable Shared Databases for SQL Server 2005 Achieving Linear Scalability for Scale-out Reporting using SQL Server 2005 Enterprise Edition Abstract: Microsoft SQL Server 2005 Enterprise Edition

More information

COURSE 10977A: UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014

COURSE 10977A: UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014 ABOUT THIS COURSE This five-day instructor-led course teaches students how to use the enhancements and new features that have been added to SQL Server and the Microsoft data platform since the release

More information

Datacenter replication solution with quasardb

Datacenter replication solution with quasardb Datacenter replication solution with quasardb Technical positioning paper April 2017 Release v1.3 www.quasardb.net Contact: sales@quasardb.net Quasardb A datacenter survival guide quasardb INTRODUCTION

More information

Introduction to Databases and SQL

Introduction to Databases and SQL Introduction to Databases and SQL Files vs Databases In the last chapter you learned how your PHP scripts can use external files to store and retrieve data. Although files do a great job in many circumstances,

More information

Developing Microsoft Azure Solutions (70-532) Syllabus

Developing Microsoft Azure Solutions (70-532) Syllabus Developing Microsoft Azure Solutions (70-532) Syllabus Cloud Computing Introduction What is Cloud Computing Cloud Characteristics Cloud Computing Service Models Deployment Models in Cloud Computing Advantages

More information

Teiid - Scalable Information Integration. Teiid Caching Guide 7.6

Teiid - Scalable Information Integration. Teiid Caching Guide 7.6 Teiid - Scalable Information Integration 1 Teiid Caching Guide 7.6 1. Overview... 1 2. Results Caching... 3 2.1. Support Summary... 3 2.2. User Interaction... 3 2.2.1. User Query Cache... 3 2.2.2. Procedure

More information

TempDB how it works? Dubi Lebel Dubi Or Not To Be

TempDB how it works? Dubi Lebel Dubi Or Not To Be TempDB how it works? Dubi Lebel Dubi Or Not To Be Dubi.Lebel@gmail.com How this presentation start? Sizing Application Application databases TempDB size & IOPS? What we know Only one TempDB per instance.

More information

Get Table Schema In Sql Server 2008 To Add Column If Not Exists >>>CLICK HERE<<<

Get Table Schema In Sql Server 2008 To Add Column If Not Exists >>>CLICK HERE<<< Get Table Schema In Sql Server 2008 To Add Column If Not Exists IF NOT EXISTS ( SELECT * FROM sys.columns WHERE object_id = OBJECT_ID(N'(dbo). Also try catch is easily possible to use in sql serverand

More information

Manual Trigger Sql Server 2008 Insert Multiple Rows At Once

Manual Trigger Sql Server 2008 Insert Multiple Rows At Once Manual Trigger Sql Server 2008 Insert Multiple Rows At Once Adding SQL Trigger to update field on INSERT (multiple rows) However, if there are multiple records inserted (as in the user creates several

More information

MySQL 5.1 Past, Present and Future MySQL UC 2006 Santa Clara, CA

MySQL 5.1 Past, Present and Future MySQL UC 2006 Santa Clara, CA MySQL 5.1 Past, Present and Future jan@mysql.com MySQL UC 2006 Santa Clara, CA Abstract Last year at the same place MySQL presented the 5.0 release introducing Stored Procedures, Views and Triggers to

More information

Guide to Mitigating Risk in Industrial Automation with Database

Guide to Mitigating Risk in Industrial Automation with Database Guide to Mitigating Risk in Industrial Automation with Database Table of Contents 1.Industrial Automation and Data Management...2 2.Mitigating the Risks of Industrial Automation...3 2.1.Power failure and

More information

Maintenance Guide.

Maintenance Guide. Maintenance Guide www.12dsynergy.com Table of Contents Overview 3 SQL Server Maintenance Tasks 3 Index Fragmentation 3 Index Fragmentation with less than 30 users... 3 Index Fragmentation with more than

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

System Environment of the Database Engine

System Environment of the Database Engine Chapter 15 System Environment of the Database Engine In This Chapter c System Databases c Disk Storage c Utilities and the DB Command c Policy-Based Management 406 Microsoft SQL Server 2012: A Beginner

More information

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1 SQL Fundamentals Chapter 3 Class 03: SQL Fundamentals 1 Class 03: SQL Fundamentals 2 SQL SQL (Structured Query Language): A language that is used in relational databases to build and query tables. Earlier

More information

Field Testing Buffer Pool Extension and In-Memory OLTP Features in SQL Server 2014

Field Testing Buffer Pool Extension and In-Memory OLTP Features in SQL Server 2014 Field Testing Buffer Pool Extension and In-Memory OLTP Features in SQL Server 2014 Rick Heiges, SQL MVP Sr Solutions Architect Scalability Experts Ross LoForte - SQL Technology Architect - Microsoft Changing

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

A Practical Guide to Migrating from Oracle to MySQL. Robin Schumacher

A Practical Guide to Migrating from Oracle to MySQL. Robin Schumacher A Practical Guide to Migrating from Oracle to MySQL Robin Schumacher Director of Product Management, MySQL AB 1 Agenda Quick look at MySQL AB Relationship between Oracle and MySQL n-technical reasons why

More information

Best Practices. Deploying Optim Performance Manager in large scale environments. IBM Optim Performance Manager Extended Edition V4.1.0.

Best Practices. Deploying Optim Performance Manager in large scale environments. IBM Optim Performance Manager Extended Edition V4.1.0. IBM Optim Performance Manager Extended Edition V4.1.0.1 Best Practices Deploying Optim Performance Manager in large scale environments Ute Baumbach (bmb@de.ibm.com) Optim Performance Manager Development

More information

Log Manager. Introduction

Log Manager. Introduction Introduction Log may be considered as the temporal database the log knows everything. The log contains the complete history of all durable objects of the system (tables, queues, data items). It is possible

More information

Db2 Alter Table Alter Column Set Data Type Char

Db2 Alter Table Alter Column Set Data Type Char Db2 Alter Table Alter Column Set Data Type Char I am trying to do 2 alters to a column in DB2 in the same alter command, and it doesn't seem to like my syntax alter table tbl alter column col set data

More information

RDBMS Basics: What Makes Up a SQL Server Database?

RDBMS Basics: What Makes Up a SQL Server Database? 57012c01.qxd:WroxBeg 11/22/08 10:19 AM Page 1 1 RDBMS Basics: What Makes Up a SQL Server Database? What makes up a database? Data for sure. (What use is a database that doesn t store anything?) But a Relational

More information

Introduction. Storage Failure Recovery Logging Undo Logging Redo Logging ARIES

Introduction. Storage Failure Recovery Logging Undo Logging Redo Logging ARIES Introduction Storage Failure Recovery Logging Undo Logging Redo Logging ARIES Volatile storage Main memory Cache memory Nonvolatile storage Stable storage Online (e.g. hard disk, solid state disk) Transaction

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

About the Tutorial. Audience. Prerequisites. Compile/Execute SQL Programs. Copyright & Disclaimer SQL

About the Tutorial. Audience. Prerequisites. Compile/Execute SQL Programs. Copyright & Disclaimer SQL i About the Tutorial SQL is a database computer language designed for the retrieval and management of data in a relational database. SQL stands for Structured Query Language. This tutorial will give you

More information

IBM EXAM QUESTIONS & ANSWERS

IBM EXAM QUESTIONS & ANSWERS IBM 000-730 EXAM QUESTIONS & ANSWERS Number: 000-730 Passing Score: 800 Time Limit: 120 min File Version: 69.9 http://www.gratisexam.com/ IBM 000-730 EXAM QUESTIONS & ANSWERS Exam Name: DB2 9 Fundamentals

More information

Daily, Weekly or Monthly Partitions? A discussion of several factors for this important decision

Daily, Weekly or Monthly Partitions? A discussion of several factors for this important decision Daily, Weekly or Monthly Partitions? A discussion of several factors for this important decision Copyright 2006 Mercury Consulting Published in July 2006 Conventions The following typographical conventions

More information

SQL Data Definition Language: Create and Change the Database Ray Lockwood

SQL Data Definition Language: Create and Change the Database Ray Lockwood Introductory SQL SQL Data Definition Language: Create and Change the Database Pg 1 SQL Data Definition Language: Create and Change the Database Ray Lockwood Points: DDL statements create and alter the

More information

Lab # 4. Data Definition Language (DDL)

Lab # 4. Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Lab # 4 Data Definition Language (DDL) Eng. Haneen El-Masry November, 2014 2 Objective To be familiar with

More information

How to Migrate Microsoft SQL Server Connections from the OLE DB to the ODBC Provider Type

How to Migrate Microsoft SQL Server Connections from the OLE DB to the ODBC Provider Type How to Migrate Microsoft SQL Server Connections from the OLE DB to the ODBC Provider Type Copyright Informatica LLC, 2017. Informatica and the Informatica logo are trademarks or registered trademarks of

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

SQL Server 2014: In-Memory OLTP for Database Administrators

SQL Server 2014: In-Memory OLTP for Database Administrators SQL Server 2014: In-Memory OLTP for Database Administrators Presenter: Sunil Agarwal Moderator: Angela Henry Session Objectives And Takeaways Session Objective(s): Understand the SQL Server 2014 In-Memory

More information

TINYINT[(M)] [UNSIGNED] [ZEROFILL] A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255.

TINYINT[(M)] [UNSIGNED] [ZEROFILL] A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255. MySQL: Data Types 1. Numeric Data Types ZEROFILL automatically adds the UNSIGNED attribute to the column. UNSIGNED disallows negative values. SIGNED (default) allows negative values. BIT[(M)] A bit-field

More information

Sql Server Check If Global Temporary Table Exists

Sql Server Check If Global Temporary Table Exists Sql Server Check If Global Temporary Table Exists I am trying to create a temp table from the a select statement so that I can get the schema information from the temp I have yet to see a valid justification

More information

Drop Users Syntax In Sql Server 2000 Orphaned

Drop Users Syntax In Sql Server 2000 Orphaned Drop Users Syntax In Sql Server 2000 Orphaned Applies To: SQL Server 2014, SQL Server 2016 Preview Syntax Before dropping a database user that owns securables, you must first drop or transfer. To access

More information

SearchWinIT.com SearchExchange.com SearchSQLServer.com

SearchWinIT.com SearchExchange.com SearchSQLServer.com TechTarget Windows Media SearchWinIT.com SearchExchange.com SearchSQLServer.com SearchEnterpriseDesktop.com SearchWindowsServer.com SearchDomino.com LabMice.net E-Guide Mid-Market Guide to Architecting

More information

Jeffrey Garbus. ASE Administration. SAP* ASE 16/Sybase. 9 Rheinwerk. Publishing. Bonn Boston

Jeffrey Garbus. ASE Administration. SAP* ASE 16/Sybase. 9 Rheinwerk. Publishing. Bonn Boston Jeffrey Garbus SAP* ASE 16/Sybase ASE Administration 9 Rheinwerk Publishing Bonn Boston Acknowledgments 23 Preface 25 Introduction to SAP ASE System Administration 27 1.1 Placement within the SAP Landscape

More information

1Z0-526

1Z0-526 1Z0-526 Passing Score: 800 Time Limit: 4 min Exam A QUESTION 1 ABC's Database administrator has divided its region table into several tables so that the west region is in one table and all the other regions

More information

How to speed up a database which has gotten slow

How to speed up a database which has gotten slow Triad Area, NC USA E-mail: info@geniusone.com Web: http://geniusone.com How to speed up a database which has gotten slow hardware OS database parameters Blob fields Indices table design / table contents

More information

Manual Triggers Sql Server 2008 Examples

Manual Triggers Sql Server 2008 Examples Manual Triggers Sql Server 2008 Examples Inserted Delete Oracle equivalent for SQL Server INSERTED and DELETED tables (find the msdn article here: msdn.microsoft.com/en-us/library/ms191300.aspx) Or else

More information

Change Schema For All Tables In Sql Server 2008

Change Schema For All Tables In Sql Server 2008 Change Schema For All Tables In Sql Server 2008 I am trying to understand why changing schema ownership is causing permissions to be revoked. I am having a hard 3.i am able to access now all tables with

More information

HOW TO CREATE AND MAINTAIN DATABASES AND TABLES. By S. Sabraz Nawaz Senior Lecturer in MIT FMC, SEUSL

HOW TO CREATE AND MAINTAIN DATABASES AND TABLES. By S. Sabraz Nawaz Senior Lecturer in MIT FMC, SEUSL HOW TO CREATE AND MAINTAIN DATABASES AND TABLES By S. Sabraz Nawaz Senior Lecturer in MIT FMC, SEUSL What is SQL? SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate

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

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

Teiid - Scalable Information Integration. Teiid Caching Guide 7.2

Teiid - Scalable Information Integration. Teiid Caching Guide 7.2 Teiid - Scalable Information Integration 1 Teiid Caching Guide 7.2 1. Overview... 1 2. Results Caching... 3 2.1. Support Summary... 3 2.2. User Interaction... 3 2.2.1. User Query Cache... 3 2.2.2. Procedure

More information

GETTING 1 STARTED. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

GETTING 1 STARTED. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. GETTING 1 STARTED hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: SQL Server 2000 features. SQL Server Editions. SQL Server architecture. SQL Server 2000 components. Graphical

More information

Enzo Framework Developer Guide

Enzo Framework Developer Guide Enzo Framework Developer Guide This document provides technical information about the Enzo Framework for developers and architects. Blue Syntax Consulting specializes in the Microsoft Azure platform and

More information

Overview Architecture Sample

Overview Architecture Sample Table of Contents Overview Architecture Sample Graph processing with SQL Server and Azure SQL Database 1/17/2018 2 min to read Edit Online THIS TOPIC APPLIES TO: SQL Server (starting with 2017) Azure SQL

More information

Was ist dran an einer spezialisierten Data Warehousing platform?

Was ist dran an einer spezialisierten Data Warehousing platform? Was ist dran an einer spezialisierten Data Warehousing platform? Hermann Bär Oracle USA Redwood Shores, CA Schlüsselworte Data warehousing, Exadata, specialized hardware proprietary hardware Introduction

More information