var context = new CustomerContext(); //... context code...

Size: px
Start display at page:

Download "var context = new CustomerContext(); //... context code..."

Transcription

1 .NET Entity Framework Extensions >.NET Entity Framework Extension What's Entity Framework Extensions? The library enhances and optimizes Entity Framework's performance by using bulk operations. var context = new CustomerContext(); //... context code... // Save entities in Bulk to increase SaveChanges performance context.bulksavechanges(); // Perform specific bulk operations context.bulkdelete(customers); context.bulkinsert(customers); context.bulkupdate(customers); context.bulkmerge(customers); // Customize operations for performance tuning context.bulksavechanges(operation => operation.batchsize = 100); // Scalable customization such as primary key context.bulkmerge(customers, operation => { operation.columnprimarykeyexpression = customer => customer.code; 1 ZZZ Projects Inc.

2 .NET Entity Framework Extensions > BulkSaveChanges Method BulkSaveChanges INSERT entities in a database table or a view. var context = new CustomerContext(); //... context code... context.bulksavechanges(); // Customize operation context.bulksavechanges(operation => operation.batchsize = 100); 2 ZZZ Projects Inc.

3 .NET Entity Framework Extensions > Bulk Operations Methods BulkInsert INSERT entities in a database table or a view. BulkUpdate UPDATE entities in a database table or a view. BulkDelete DELETE entities in a database table or a view. BulkMerge UPSERT operation. INSERT new entities and UPDATE entities matching the primary key in a database table or a view. context.bulkinsert(customers); // Customize operation. context.bulkinsert(customers, operation => { operation.batchsize = 100; context.bulkupdate(customers); // Customize operation. context.bulkupdate(customers, operation => { operation.batchsize = 100; operation.columnprimarykeyexpression = customer => customer.code; context.bulkdelete(customers); // Customize operation. context.bulkdelete(customers, operation => { operation.batchsize = 100; operation.columnprimarykeyexpression = customer => customer.code; context.bulkmerge(customers); // Customize operation. context.bulkmerge(customers, operation => { operation.batchsize = 100; operation.columnprimarykeyexpression = customer => customer.code; 3 ZZZ Projects Inc.

4 .NET Entity Framework Extensions > FromQuery Methods DeleteFromQuery DELETE rows in a database table or a view using Lambda Expressions without loading entities in the DbContext. UpdateFromQuery UPDATE rows in a database table or a view using Lambda Expressions without loading entities in the DbContext. var context = new CustomerContext(); // DELETE all customers that are inactive for more than 2 years context.customers.where(x => x.lastlogin < DateTime.Now.AddYears(-2)).DeleteFromQuery(); // Customize operation context.customers.where(x => x.lastlogin < DateTime.Now.AddYears(-2)).DeleteFromQuery(operation => operation.batchsize = 100); // UPDATE all customers that are inactive for more than 2 years // SET status active to false context.customers.where(x => x.actif && x.lastlogin < DateTime.Now.AddYears(-2)).UpdateFromQuery(x => new Customer {Actif = false 4 ZZZ Projects Inc.

5 .NET Entity Framework Extensions > Caching FromMemoryCache Cache and retrieve entities from the memory cache. // Load entities from the database once, // Then load entities from Memory cache for subsequent calls. var states = context.states.where(x => x.actif).frommemorycache(); // Customize caching settings such as key to use. var statesactif = context.states.where(x => x.actif).frommemorycache("states_actif"); FromSessionCache Cache and retrieve entities from the session cache. FromHttpRequestCache Cache and retrieve entities from the HttpRequest cache. FromHttpRuntimeCache Cache and retrieve entities from the HttpRuntime cache. var states = context.states.where(x => x.actif).fromsessioncache(); var states = context.states.where(x => x.actif).fromhttprequestcache(); var states = context.states.where(x => x.actif).fromhttpruntimecache(null, DateTime.Now.AddHours(1), TimeSpan.Zero, CacheItemPriority.Default, null); 5 ZZZ Projects Inc.

6 .NET Entity Framework Extensions > Execute Methods ExecuteDataSet Execute a SQL statement and return all results sets in a DataSet. var sql = "SELECT * FROM Customer WHERE Actif // Customizing command with parameters. var ds = context.database.executedataset(command => { command.commandtext = sql; var parameter = command.createparameter(); parameter.parametername = "@IsActif"; parameter.value = true; ExecuteDataTable Execute a SQL statement and return a DataTable. ExecuteEntity<TEntity> Execute a SQL statement and return a TEntity. ExecuteEntities<TEntity> Execute a SQL statement and return a List<TEntity>. ExecuteEntityWithMapping<TEntity> Execute a SQL statement and return a TEntity using Entity Framework Mapping. ExecuteEntitiesWithMapping<TEntity> Execute a SQL statement and return a List<TEntity> using Entity Framework Mapping. ExecuteExpandoObject Execute a SQL statement and return an ExpandoObject. ExecuteExpandoObjects Execute a SQL statement and return a List<ExpandoObject>. command.parameters.add(parameter); var sql = "SELECT * FROM Customer"; var dt = context.database.executedatatable(sql); var sql = "SELECT TOP 1 * FROM Customer"; Customer entity = context.database.executeentity<customer>(sql); var sql = "SELECT * FROM Customer"; List<Customer> entities = context.database.executeentities<customer>(sql); var sql = "SELECT TOP 1 * FROM Customer"; Customer entity = context.database.executeentitywithmapping<customer>(sql); var sql = "SELECT * FROM Customer"; List<Customer> entities = context.database.executeentitieswithmapping<customer>(sql); var sql = "SELECT TOP 1 * FROM Customer"; ExpandoObject expandoobject = context.database.executeexpandoobject(sql); var sql = "SELECT * FROM Customer"; List<ExpandoObject> expandoobjects = context.database.expandoobjects(sql); 6 ZZZ Projects Inc.

7 .NET Entity Framework Extensions > Execute Methods ExecuteNonQuery Execute a SQL statement and return the number of rows affected. ExecuteReader Execute a SQL Statement and perform an action on the DataReader. ExecuteScalar Execute a SQL statement and return an object. ExecuteScalarAs<TValue> Execute a SQL statement and return a TValue using cast. ExecuteScalarTo<TValue> Execute a SQL statement and return a TValue using convert. ExecuteXmlReader Execute a SQL statement and return a XmlReader. var sql = "DELETE FROM Customer"; int rowaffected = context.database.executenonquery(sql); var sql = "SELECT COUNT(1) FROM Customer"; context.database.executereader(sql, reader => { while (reader.read()) { //... code... } var sql = "SELECT COUNT(1) FROM Customer"; object value = context.database.executescalar(sql); var sql = "SELECT COUNT(1) FROM Customer"; int value = context.database.executescalaras<int>(sql); var sql = "SELECT COUNT(1) FROM Customer"; int value = context.database.executescalarto<int>(sql); var sql = "SELECT * FROM Customer"; XmlReader reader = context.database.executexmlreader(sql); 7 ZZZ Projects Inc.

8 .NET Entity Framework Extensions > Extension Methods Database Retrieve the model behind the context at runtime. var database = new CustomerContext().Database; // Get Context var context = database.getcontext<customercontext>(); var dbcontext = database.getdbcontext(); // Get Connection var connection = database.getconnection<sqlconnection>(); var entityconnection = database.getentityconnection(); DbContext Get a specific entity from the model. // Get Transaction var transaction = database.gettransaction<sqltransaction>(); var dbtransaction = database.getdbtransaction(); var entitytransaction = database.getentitytransaction(); var dbcontext = new CustomerContext(); // Get Model var model = dbcontext.getmodel(); // Get Context var objectcontext = dbcontext.getobjectcontext(); DbSet Get a specific property from an entity. // Convert ToData var ds = dbcontext.todataset(customers); var dt = dbcontext.todatatable(customers); var dbcontext = new CustomerContext(); // Add or Update entities dbcontext.customers.addorupdateextension(customer => customer.code, customers); 8 ZZZ Projects Inc.

9 .NET Entity Framework Extensions > Extension Methods EntityTransaction Get a specific property from an entity. IQueryable Get a specific property from an entity. ObjectContext Get a specific property from an entity. var entitytransaction = new CustomerContext().Database.GetEntityTransaction(); // Get Transaction var transaction = entitytransaction.gettransaction<sqltransaction>(); var dbtransaction = entitytransaction.getdbtransaction(); var query = new CustomerContext().Customers.Where(x => x.actif); // Get Context var context = query.getcontext(); var objectcontext = new CustomerContext().GetObjectContext(); // Get Context var dbcontext = objectcontext.getdbcontext(); 9 ZZZ Projects Inc.

10 .NET Entity Framework Extensions > Runtime Model GetModel Retrieve the model behind the context at runtime. Entity<TEntity> Get a specific entity from the model. Property Get a specific property from an entity. var context = new CustomerContext(); // GET model var model = context.getmodel(); var model = context.getmodel(); // GET entity and meta var customer = model.entity<customer>(); var basetype = customer.info.basetype; var istpc = customer.info.istpc; var model = context.getmodel(); var customer = model.entity<customer>(); // GET property and meta var name = customer.property(x => x.name); var ismandatory =!name.nullable; var isprimarykey = name.isprimarykey; var length = name.maxlength; 10 ZZZ Projects Inc.

11 .NET Entity Framework Extensions > Specialized Database SqlDatabase Get a SQL Server database instance for the context. var context = new CustomerContext(); var sql = "SELECT * FROM Customer WHERE Actif // Use specialized database to use specific class instead of abstract class var dt = context.sqldatabase().executedatatable(sql, new[] {new SqlParameter("@IsActif", true) SqlCeDatabase Get a SQL Compact database instance for the context. MySqlDatabase Get a MySQL database instance for the context. SQLiteDatabase Get a SQLite database instance for the context. // Customize command var dt2 = context.sqldatabase().executedatatable(command => { command.commandtext = sql; command.parameters.add(new SqlParameter("@IsActif", true)); var dt = context.sqlcedatabase().executedatatable(sql, new[] {new SqlCeParameter("@IsActif", true) var dt = context.mysqldatabase().executedatatable(sql, new[] {new MySqlParameter("@IsActif", true) var dt = context.sqlitedatabase().executedatatable(sql, new[] {new SQLiteParameter("@IsActif", true) 11 ZZZ Projects Inc.

ASP.NET Programming with C# and SQL Server

ASP.NET Programming with C# and SQL Server ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET Objectives In this chapter, you will: Connect to SQL Server from ASP.NET Learn how to handle

More information

The Data Access Handbook

The Data Access Handbook The Data Access Handbook Achieving Optimal Database Application Performance and Scalability John Goodson and Robert A. Steward PRENTICE HALL Upper Saddle River, NJ Boston Indianapolis San Francisco New

More information

ITDUMPS QUESTION & ANSWER. Accurate study guides, High passing rate! IT dumps provides update free of charge in one year!

ITDUMPS QUESTION & ANSWER. Accurate study guides, High passing rate! IT dumps provides update free of charge in one year! ITDUMPS QUESTION & ANSWER Accurate study guides, High passing rate! IT dumps provides update free of charge in one year! HTTP://WWW.ITDUMPS.COM Exam : 70-549(C++) Title : PRO:Design & Develop Enterprise

More information

and what does it have to do with accounting software? connecting people and business

and what does it have to do with accounting software? connecting people and business 1999-2008. All rights reserved Jim2 is a registered trademark of Jim2 by Happen Business Pty Limited P +61 2 9570 4696 F +61 2 8569 1858 E info@happen.biz W www.happen.biz what is sql and what does it

More information

SnapLogic Salesforce Snap Reference

SnapLogic Salesforce Snap Reference SnapLogic Salesforce Snap Reference Document Release: October 2012 SnapLogic, Inc. 71 East Third Avenue San Mateo, California 94401 U.S.A. www.snaplogic.com Copyright Information 2012 SnapLogic, Inc. All

More information

Introduction to SQL for Data Scientists

Introduction to SQL for Data Scientists Introduction to SQL for Data Scientists Ben O. Smith College of Business Administration University of Nebraska at Omaha Learning Objectives By the end of this document you will learn: 1. How to perform

More information

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition Beginning C# 5.0 Databases Second Edition Vidya Vrat Agarwal Contents J About the Author About the Technical Reviewer Acknowledgments Introduction xviii xix xx xxi Part I: Understanding Tools and Fundamentals

More information

MySQL for Beginners Ed 3

MySQL for Beginners Ed 3 Oracle University Contact Us: 1.800.529.0165 MySQL for Beginners Ed 3 Duration: 4 Days What you will learn The MySQL for Beginners course helps you learn about the world's most popular open source database.

More information

HareDB HBase Client Web Version USER MANUAL HAREDB TEAM

HareDB HBase Client Web Version USER MANUAL HAREDB TEAM 2013 HareDB HBase Client Web Version USER MANUAL HAREDB TEAM Connect to HBase... 2 Connection... 3 Connection Manager... 3 Add a new Connection... 4 Alter Connection... 6 Delete Connection... 6 Clone Connection...

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

SQL - QUICK GUIDE. Allows users to access data in relational database management systems.

SQL - QUICK GUIDE. Allows users to access data in relational database management systems. http://www.tutorialspoint.com/sql/sql-quick-guide.htm SQL - QUICK GUIDE Copyright tutorialspoint.com What is SQL? SQL is Structured Query Language, which is a computer language for storing, manipulating

More information

Programming in C# with Microsoft Visual Studio 2010

Programming in C# with Microsoft Visual Studio 2010 Introducción a la Programación Web con C# en Visual Studio 2010 Curso: Introduction to Web development Programming in C# with Microsoft Visual Studio 2010 Introduction to Web Development with Microsoft

More information

Intro to Databases. ACM Webmonkeys 2011

Intro to Databases. ACM Webmonkeys 2011 Intro to Databases ACM Webmonkeys 2011 Motivation Computer programs that deal with the real world often need to store a large amount of data. E.g.: Weather in US cities by month for the past 10 years List

More information

Assignment 3 Version 2.0 Reactive NoSQL Due April 13

Assignment 3 Version 2.0 Reactive NoSQL Due April 13 CS 635 Advanced OO Design and Programming Spring Semester, 2016 Assignment 3 2016, All Rights Reserved, SDSU & Roger Whitney San Diego State University -- This page last updated 4/2/16 Assignment 3 Version

More information

DBMS / Business Intelligence, SQL Server

DBMS / Business Intelligence, SQL Server DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.

More information

SQL, PL/SQL FALL Semester 2013

SQL, PL/SQL FALL Semester 2013 SQL, PL/SQL FALL Semester 2013 Rana Umer Aziz MSc.IT (London, UK) Contact No. 0335-919 7775 enquire@oeconsultant.co.uk EDUCATION CONSULTANT Contact No. 0335-919 7775, 0321-515 3403 www.oeconsultant.co.uk

More information

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. SQL Databases Course by Applied Technology Research Center. 23 September 2015 This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. Oracle Topics This Oracle Database: SQL

More information

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days SSIS Training Prerequisites All SSIS training attendees should have prior experience working with SQL Server. Hands-on/Lecture

More information

Database Optimization for Web Developers. Little things that make a big difference

Database Optimization for Web Developers. Little things that make a big difference Database Optimization for Web Developers Little things that make a big difference About me 16 years experience in web development and administration (systems, databases, networks) Various jobs: Web Developer

More information

Toad for Oracle 8.6 SQL Tuning

Toad for Oracle 8.6 SQL Tuning Quick User Guide for Toad for Oracle 8.6 SQL Tuning SQL Tuning Version 6.1.1 SQL Tuning definitively solves SQL bottlenecks through a unique methodology that scans code, without executing programs, to

More information

Multimedia im Netz Online Multimedia Winter semester 2015/16

Multimedia im Netz Online Multimedia Winter semester 2015/16 Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 04 Minor Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 04 (NF) - 1 Today s Agenda Repetition:

More information

1Z0-117 Oracle Database 11g Release 2: SQL Tuning. Oracle

1Z0-117 Oracle Database 11g Release 2: SQL Tuning. Oracle 1Z0-117 Oracle Database 11g Release 2: SQL Tuning Oracle To purchase Full version of Practice exam click below; http://www.certshome.com/1z0-117-practice-test.html FOR Oracle 1Z0-117 Exam Candidates We

More information

CS 564: DATABASE MANAGEMENT SYSTEMS

CS 564: DATABASE MANAGEMENT SYSTEMS Fall 2013 CS 564: DATABASE MANAGEMENT SYSTEMS 9/4/13 CS 564: Database Management Systems, Jignesh M. Patel 1 Teaching Staff Instructor: Jignesh Patel, jignesh@cs.wisc.edu Office Hours: Mon, Wed 1:30-2:30

More information

Getting Started with Telerik Data Access. Contents

Getting Started with Telerik Data Access. Contents Contents Overview... 3 Product Installation... 3 Building a Domain Model... 5 Database-First (Reverse) Mapping... 5 Creating the Project... 6 Creating Entities From the Database Schema... 7 Model-First

More information

CSC 443 Data Base Management Systems. Basic SQL

CSC 443 Data Base Management Systems. Basic SQL CSC 443 Data Base Management Systems Lecture 6 SQL As A Data Definition Language Basic SQL SQL language Considered one of the major reasons for the commercial success of relational databases SQL Structured

More information

Conquer the 5 Most Common Magento Coding Issues to Optimize Your Site for Performance

Conquer the 5 Most Common Magento Coding Issues to Optimize Your Site for Performance Conquer the 5 Most Common Magento Coding Issues to Optimize Your Site for Performance Written by: Oleksandr Zarichnyi Table of Contents INTRODUCTION... TOP 5 ISSUES... LOOPS... Calculating the size of

More information

SQL Server Instance-Level Benchmarks with DVDStore

SQL Server Instance-Level Benchmarks with DVDStore SQL Server Instance-Level Benchmarks with DVDStore Dell developed a synthetic benchmark tool back that can run benchmark tests against SQL Server, Oracle, MySQL, and PostgreSQL installations. It is open-sourced

More information

Deleting A Record... 26 Updating the Database... 27 Binding Data Tables to Controls... 27 Binding the Data Table to the Data Grid View...

Deleting A Record... 26 Updating the Database... 27 Binding Data Tables to Controls... 27 Binding the Data Table to the Data Grid View... 1 Table of Contents Chapter 9...4 Database and ADO.NET...4 9.1 Introduction to Database...4 Table Definitions...4 DDL and DML...5 Indexes, the Primary Key, and the Foreign Key...5 Index Uniqueness...5

More information

Physical Database Design Process. Physical Database Design Process. Major Inputs to Physical Database. Components of Physical Database Design

Physical Database Design Process. Physical Database Design Process. Major Inputs to Physical Database. Components of Physical Database Design Physical Database Design Process Physical Database Design Process The last stage of the database design process. A process of mapping the logical database structure developed in previous stages into internal

More information

v1.1.0 SimpleSQL SQLite manager for Unity3D echo17.com

v1.1.0 SimpleSQL SQLite manager for Unity3D echo17.com v1.1.0 SimpleSQL SQLite manager for Unity3D echo17.com Table of Contents Table of Contents................................................................ ii 1. Overview 2. Workflow...................................................................

More information

System Services. Engagent System Services 2.06

System Services. Engagent System Services 2.06 System Services Engagent System Services 2.06 Overview Engagent System Services constitutes the central module in Engagent Software s product strategy. It is the glue both on an application level and on

More information

Bubble Code Review for Magento

Bubble Code Review for Magento User Guide Author: Version: Website: Support: Johann Reinke 1.1 https://www.bubbleshop.net bubbleshop.net@gmail.com Table of Contents 1 Introducing Bubble Code Review... 3 1.1 Features... 3 1.2 Compatibility...

More information

VB.NET - DATABASE ACCESS

VB.NET - DATABASE ACCESS VB.NET - DATABASE ACCESS http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm Copyright tutorialspoint.com Applications communicate with a database, firstly, to retrieve the data stored there

More information

Enterprise Performance Tuning: Best Practices with SQL Server 2008 Analysis Services. By Ajay Goyal Consultant Scalability Experts, Inc.

Enterprise Performance Tuning: Best Practices with SQL Server 2008 Analysis Services. By Ajay Goyal Consultant Scalability Experts, Inc. Enterprise Performance Tuning: Best Practices with SQL Server 2008 Analysis Services By Ajay Goyal Consultant Scalability Experts, Inc. June 2009 Recommendations presented in this document should be thoroughly

More information

PROCESSES LOADER 9.0 SETTING. Requirements and Assumptions: I. Requirements for the batch process:

PROCESSES LOADER 9.0 SETTING. Requirements and Assumptions: I. Requirements for the batch process: SETTING UP DATA LOADER 9.0 FOR AUTO PROCESSES Requirements and Assumptions: 9.0 The purpose of this document is to document findings on the setup of Data Loader 9.0 for automated processes. I will be updating

More information

SQL Programming. CS145 Lecture Notes #10. Motivation. Oracle PL/SQL. Basics. Example schema:

SQL Programming. CS145 Lecture Notes #10. Motivation. Oracle PL/SQL. Basics. Example schema: CS145 Lecture Notes #10 SQL Programming Example schema: CREATE TABLE Student (SID INTEGER PRIMARY KEY, name CHAR(30), age INTEGER, GPA FLOAT); CREATE TABLE Take (SID INTEGER, CID CHAR(10), PRIMARY KEY(SID,

More information

ASP.NET Using C# (VS2012)

ASP.NET Using C# (VS2012) ASP.NET Using C# (VS2012) This five-day course provides a comprehensive and practical hands-on introduction to developing applications using ASP.NET 4.5 and C#. It includes an introduction to ASP.NET MVC,

More information

Execution Plans: The Secret to Query Tuning Success. MagicPASS January 2015

Execution Plans: The Secret to Query Tuning Success. MagicPASS January 2015 Execution Plans: The Secret to Query Tuning Success MagicPASS January 2015 Jes Schultz Borland plan? The following steps are being taken Parsing Compiling Optimizing In the optimizing phase An execution

More information

Developing Web Applications for Microsoft SQL Server Databases - What you need to know

Developing Web Applications for Microsoft SQL Server Databases - What you need to know Developing Web Applications for Microsoft SQL Server Databases - What you need to know ATEC2008 Conference Session Description Alpha Five s web components simplify working with SQL databases, but what

More information

8- Management of large data volumes

8- Management of large data volumes (Herramientas Computacionales Avanzadas para la Inves6gación Aplicada) Rafael Palacios, Jaime Boal Contents Storage systems 1. Introduc;on 2. Database descrip;on 3. Database management systems 4. SQL 5.

More information

In This Lecture. Security and Integrity. Database Security. DBMS Security Support. Privileges in SQL. Permissions and Privilege.

In This Lecture. Security and Integrity. Database Security. DBMS Security Support. Privileges in SQL. Permissions and Privilege. In This Lecture Database Systems Lecture 14 Natasha Alechina Database Security Aspects of security Access to databases Privileges and views Database Integrity View updating, Integrity constraints For more

More information

Supporting Data Set Joins in BIRT

Supporting Data Set Joins in BIRT Supporting Data Set Joins in BIRT Design Specification Draft 1: Feb 13, 2006 Abstract This is the design specification of the BIRT Data Set Join feature. Document Revisions Version Date Description of

More information

70-487: Developing Windows Azure and Web Services

70-487: Developing Windows Azure and Web Services 70-487: Developing Windows Azure and Web Services The following tables show where changes to exam 70-487 have been made to include updates that relate to Windows Azure and Visual Studio 2013 tasks. These

More information

Whitepaper: performance of SqlBulkCopy

Whitepaper: performance of SqlBulkCopy We SOLVE COMPLEX PROBLEMS of DATA MODELING and DEVELOP TOOLS and solutions to let business perform best through data analysis Whitepaper: performance of SqlBulkCopy This whitepaper provides an analysis

More information

Database Query 1: SQL Basics

Database Query 1: SQL Basics Database Query 1: SQL Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Using Structured Query Language (SQL) to get the data you want from relational databases Learning basic

More information

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process.

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process. In this lab you will learn how to create and use variables. Variables are containers for data. Data can be passed into a job when it is first created (Initialization data), retrieved from an external source

More information

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

More information

T-SQL STANDARD ELEMENTS

T-SQL STANDARD ELEMENTS T-SQL STANDARD ELEMENTS SLIDE Overview Types of commands and statement elements Basic SELECT statements Categories of T-SQL statements Data Manipulation Language (DML*) Statements for querying and modifying

More information

Web Development using PHP (WD_PHP) Duration 1.5 months

Web Development using PHP (WD_PHP) Duration 1.5 months Duration 1.5 months Our program is a practical knowledge oriented program aimed at learning the techniques of web development using PHP, HTML, CSS & JavaScript. It has some unique features which are as

More information

Database Administration with MySQL

Database Administration with MySQL Database Administration with MySQL Suitable For: Database administrators and system administrators who need to manage MySQL based services. Prerequisites: Practical knowledge of SQL Some knowledge of relational

More information

A Brief Introduction to MySQL

A Brief Introduction to MySQL A Brief Introduction to MySQL by Derek Schuurman Introduction to Databases A database is a structured collection of logically related data. One common type of database is the relational database, a term

More information

Database Programming with C# CARSTEN THOMSEN

Database Programming with C# CARSTEN THOMSEN Database Programming with C# CARSTEN THOMSEN Database Programming with C# Copyright 2002 by Carsten Thomsen All rights reserved. No part of this work may be reproduced or transmitted in any form or by

More information

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD 20850

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD 20850 NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD 20850 WEB: www.nutechtraining.com TEL: 301-610-9300 MCSD Web Applications Course Outlines 70-487 Developing Microsoft Azure and

More information

Building ASP.NET Applications

Building ASP.NET Applications white paper Building ASP.NET Applications with Delphi and Advantage Database Server by Cary Jensen www.sybase.com/ianywhere TABLE OF CONTENTS X Abstract 2 Getting Started 5 The Primary Classes of the Advantage

More information

Chapter 9, More SQL: Assertions, Views, and Programming Techniques

Chapter 9, More SQL: Assertions, Views, and Programming Techniques Chapter 9, More SQL: Assertions, Views, and Programming Techniques 9.2 Embedded SQL SQL statements can be embedded in a general purpose programming language, such as C, C++, COBOL,... 9.2.1 Retrieving

More information

HIGH PERFORMANCE PROGRAMMING FOR SHAREPOINT DEVELOPERS. DEV213 Eric Shupps, Microsoft MVP [SharePoint]

HIGH PERFORMANCE PROGRAMMING FOR SHAREPOINT DEVELOPERS. DEV213 Eric Shupps, Microsoft MVP [SharePoint] HIGH PERFORMANCE PROGRAMMING FOR SHAREPOINT DEVELOPERS DEV213 Eric Shupps, Microsoft MVP [SharePoint] Ask The Experts Panel Text numbers 1. IT PRO 07891 100640 2. DEV 07790 108093 3. IW 07790 132855 4.

More information

MariaDB Cassandra interoperability

MariaDB Cassandra interoperability MariaDB Cassandra interoperability Cassandra Storage Engine in MariaDB Sergei Petrunia Colin Charles Who are we Sergei Petrunia Principal developer of CassandraSE, optimizer developer, formerly from MySQL

More information

David Dye. Extract, Transform, Load

David Dye. Extract, Transform, Load David Dye Extract, Transform, Load Extract, Transform, Load Overview SQL Tools Load Considerations Introduction David Dye derekman1@msn.com HTTP://WWW.SQLSAFETY.COM Overview ETL Overview Extract Define

More information

A Comparison of Database Query Languages: SQL, SPARQL, CQL, DMX

A Comparison of Database Query Languages: SQL, SPARQL, CQL, DMX ISSN: 2393-8528 Contents lists available at www.ijicse.in International Journal of Innovative Computer Science & Engineering Volume 3 Issue 2; March-April-2016; Page No. 09-13 A Comparison of Database

More information

Raima Database Manager Version 14.0 In-memory Database Engine

Raima Database Manager Version 14.0 In-memory Database Engine + Raima Database Manager Version 14.0 In-memory Database Engine By Jeffrey R. Parsons, Senior Engineer January 2016 Abstract Raima Database Manager (RDM) v14.0 contains an all new data storage engine optimized

More information

PUBLIC Performance Optimization Guide

PUBLIC Performance Optimization Guide SAP Data Services Document Version: 4.2 Support Package 6 (14.2.6.0) 2015-11-20 PUBLIC Content 1 Welcome to SAP Data Services....6 1.1 Welcome.... 6 1.2 Documentation set for SAP Data Services....6 1.3

More information

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008 Course 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL About this Course This 3-day instructor led course provides students with the technical skills required to write basic Transact-

More information

Data Integrator Performance Optimization Guide

Data Integrator Performance Optimization Guide Data Integrator Performance Optimization Guide Data Integrator 11.7.2 for Windows and UNIX Patents Trademarks Copyright Third-party contributors Business Objects owns the following

More information

Package sjdbc. R topics documented: February 20, 2015

Package sjdbc. R topics documented: February 20, 2015 Package sjdbc February 20, 2015 Version 1.5.0-71 Title JDBC Driver Interface Author TIBCO Software Inc. Maintainer Stephen Kaluzny Provides a database-independent JDBC interface. License

More information

OPTIMIZING QUERIES IN SQL SERVER 2008

OPTIMIZING QUERIES IN SQL SERVER 2008 Scientific Bulletin Economic Sciences, Vol. 9 (15) - Information technology - OPTIMIZING QUERIES IN SQL SERVER 2008 Professor Ph.D. Ion LUNGU 1, Nicolae MERCIOIU 2, Victor VLĂDUCU 3 1 Academy of Economic

More information

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Course 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Length: 3 Days Language(s): English Audience(s): IT Professionals Level: 200 Technology: Microsoft SQL Server 2008 Type: Course

More information

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World COSC 304 Introduction to Systems Introduction Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca What is a database? A database is a collection of logically related data for

More information

Geodatabase Programming with SQL

Geodatabase Programming with SQL DevSummit DC February 11, 2015 Washington, DC Geodatabase Programming with SQL Craig Gillgrass Assumptions Basic knowledge of SQL and relational databases Basic knowledge of the Geodatabase We ll hold

More information

Serious Threat. Targets for Attack. Characterization of Attack. SQL Injection 4/9/2010 COMP620 1. On August 17, 2009, the United States Justice

Serious Threat. Targets for Attack. Characterization of Attack. SQL Injection 4/9/2010 COMP620 1. On August 17, 2009, the United States Justice Serious Threat SQL Injection COMP620 On August 17, 2009, the United States Justice Department tcharged an American citizen Albert Gonzalez and two unnamed Russians with the theft of 130 million credit

More information

PHP Language Binding Guide For The Connection Cloud Web Services

PHP Language Binding Guide For The Connection Cloud Web Services PHP Language Binding Guide For The Connection Cloud Web Services Table Of Contents Overview... 3 Intended Audience... 3 Prerequisites... 3 Term Definitions... 3 Introduction... 4 What s Required... 5 Language

More information

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP by Dalibor D. Dvorski, March 2007 Skills Canada Ontario DISCLAIMER: A lot of care has been taken in the accuracy of information provided in this article,

More information

ADOBE AIR. Working with Data in AIR. David Tucker

ADOBE AIR. Working with Data in AIR. David Tucker ADOBE AIR Working with Data in AIR David Tucker Who am I Software Engineer II, Universal Mind Adobe Community Expert Lead Author, Adobe AIR 1.5 Cookbook Podcaster, Weekly RIA RoundUp at InsideRIA Author,

More information

Resco CRM Server Guide. How to integrate Resco CRM with other back-end systems using web services

Resco CRM Server Guide. How to integrate Resco CRM with other back-end systems using web services Resco CRM Server Guide How to integrate Resco CRM with other back-end systems using web services Integrating Resco CRM with other back-end systems using web services (Data, Metadata) This document consists

More information

www.dotnetsparkles.wordpress.com

www.dotnetsparkles.wordpress.com Database Design Considerations Designing a database requires an understanding of both the business functions you want to model and the database concepts and features used to represent those business functions.

More information

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia smith@backendmedia.com

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia smith@backendmedia.com Lukas Smith database abstraction layers in PHP BackendMedia 1 Overview Introduction Motivation PDO extension PEAR::MDB2 Client API SQL syntax SQL concepts Result sets Error handling High level features

More information

AWS Schema Conversion Tool. User Guide Version 1.0

AWS Schema Conversion Tool. User Guide Version 1.0 AWS Schema Conversion Tool User Guide AWS Schema Conversion Tool: User Guide Copyright 2016 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may

More information

LearnFromGuru Polish your knowledge

LearnFromGuru Polish your knowledge SQL SERVER 2008 R2 /2012 (TSQL/SSIS/ SSRS/ SSAS BI Developer TRAINING) Module: I T-SQL Programming and Database Design An Overview of SQL Server 2008 R2 / 2012 Available Features and Tools New Capabilities

More information

High-Performance Oracle: Proven Methods for Achieving Optimum Performance and Availability

High-Performance Oracle: Proven Methods for Achieving Optimum Performance and Availability About the Author Geoff Ingram (mailto:geoff@dbcool.com) is a UK-based ex-oracle product developer who has worked as an independent Oracle consultant since leaving Oracle Corporation in the mid-nineties.

More information

Setting Up ALERE with Client/Server Data

Setting Up ALERE with Client/Server Data Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,

More information

Java DB Performance. Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860

Java DB Performance. Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860 Java DB Performance Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860 AGENDA > Java DB introduction > Configuring Java DB for performance > Programming tips > Understanding Java DB performance

More information

In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR

In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR 1 2 2 3 In this session, we use the table ZZTELE with approx. 115,000 records for the examples. The primary key is defined on the columns NAME,VORNAME,STR The uniqueness of the primary key ensures that

More information

Talking to Databases: SQL for Designers

Talking to Databases: SQL for Designers Biography Sean Hedenskog Talking to Databases: SQL for Designers Sean Hedenskog Agent Instructor Macromedia Certified Master Instructor Macromedia Certified Developer ColdFusion / Dreamweaver Reside in

More information

Introduction to IR Systems: Supporting Boolean Text Search. Information Retrieval. IR vs. DBMS. Chapter 27, Part A

Introduction to IR Systems: Supporting Boolean Text Search. Information Retrieval. IR vs. DBMS. Chapter 27, Part A Introduction to IR Systems: Supporting Boolean Text Search Chapter 27, Part A Database Management Systems, R. Ramakrishnan 1 Information Retrieval A research field traditionally separate from Databases

More information

Overview. Physical Database Design. Modern Database Management McFadden/Hoffer Chapter 7. Database Management Systems Ramakrishnan Chapter 16

Overview. Physical Database Design. Modern Database Management McFadden/Hoffer Chapter 7. Database Management Systems Ramakrishnan Chapter 16 HNC Computing - s HNC Computing - s Physical Overview Process What techniques are available for physical design? Physical Explain one physical design technique. Modern Management McFadden/Hoffer Chapter

More information

Partitioning under the hood in MySQL 5.5

Partitioning under the hood in MySQL 5.5 Partitioning under the hood in MySQL 5.5 Mattias Jonsson, Partitioning developer Mikael Ronström, Partitioning author Who are we? Mikael is a founder of the technology behind NDB

More information

SQL. Short introduction

SQL. Short introduction SQL Short introduction 1 Overview SQL, which stands for Structured Query Language, is used to communicate with a database. Through SQL one can create, manipulate, query and delete tables and contents.

More information

SQLITE C/C++ TUTORIAL

SQLITE C/C++ TUTORIAL http://www.tutorialspoint.com/sqlite/sqlite_c_cpp.htm SQLITE C/C++ TUTORIAL Copyright tutorialspoint.com Installation Before we start using SQLite in our C/C++ programs, we need to make sure that we have

More information

Why do statisticians need to know about databases?

Why do statisticians need to know about databases? Why do statisticians need to know about databases? Databases are in widespread use Data are fixed by client Data are very large and more efficiently stored in a relational database Allows data to be manipulated

More information

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 03 (Nebenfach)

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 03 (Nebenfach) Mul$media im Netz (Online Mul$media) Wintersemester 2014/15 Übung 03 (Nebenfach) Online Mul?media WS 2014/15 - Übung 3-1 Databases and SQL Data can be stored permanently in databases There are a number

More information

Using IRDB in a Dot Net Project

Using IRDB in a Dot Net Project Note: In this document we will be using the term IRDB as a short alias for InMemory.Net. Using IRDB in a Dot Net Project ODBC Driver A 32-bit odbc driver is installed as part of the server installation.

More information

MySQL Storage Engines

MySQL Storage Engines MySQL Storage Engines Data in MySQL is stored in files (or memory) using a variety of different techniques. Each of these techniques employs different storage mechanisms, indexing facilities, locking levels

More information

CSCC09F Programming on the Web. Mongo DB

CSCC09F Programming on the Web. Mongo DB CSCC09F Programming on the Web Mongo DB A document-oriented Database, mongoose for Node.js, DB operations 52 MongoDB CSCC09 Programming on the Web 1 CSCC09 Programming on the Web 1 What s Different in

More information

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Course 2778-08;

More information

relational database tables row column SQL

relational database tables row column SQL SQLite in Android 1 What is a database? relational database: A method of structuring data as tables associated to each other by shared attributes. a table row corresponds to a unit of data called a record;

More information

TMS RemoteDB Documentation

TMS RemoteDB Documentation TMS SOFTWARE TMS RemoteDB Documentation TMS RemoteDB Documentation August, 2015 Copyright (c) 2015 by tmssoftware.com bvba Web: http://www.tmssoftware.com E-mail: info@tmssoftware.com I TMS RemoteDB Documentation

More information

Improving SQL Server Performance

Improving SQL Server Performance Informatica Economică vol. 14, no. 2/2010 55 Improving SQL Server Performance Nicolae MERCIOIU 1, Victor VLADUCU 2 1 Prosecutor's Office attached to the High Court of Cassation and Justice 2 Prosecutor's

More information

JDBC (Java / SQL Programming) CS 377: Database Systems

JDBC (Java / SQL Programming) CS 377: Database Systems JDBC (Java / SQL Programming) CS 377: Database Systems JDBC Acronym for Java Database Connection Provides capability to access a database server through a set of library functions Set of library functions

More information