ICM DBLookup Function Configuration Example

Size: px
Start display at page:

Download "ICM DBLookup Function Configuration Example"

Transcription

1 ICM DBLookup Function Configuration Example Contents Introduction Prerequisites Requirements Components Used Configure Verify Troubleshoot Introduction This document describes how to configure the DBLookup function in the Intelligent Contact Manager (ICM) in order to fetch data from an external database and use it in the script. In order to illustrate how to configure the function, this document uses an example scenario where the user tries to identify if the caller is part of a list (for example, in order to provide priority service). Prerequisites Requirements There are no specific requirements for this document. Components Used This document is not restricted to specific software and hardware versions. The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command. Configure 1. Create the database. First, create the database. In Miscrosoft SQL Server Management Studio, right-click Databases and choose New Database:

2 Next, create a table in this database. Right-click Tables under the newly-created database. Then, you can add a few columns: Note: Define all integer fields in tables accessed by a DBLookup node as NOT NULL. Only these data types are supported for SQL databases: SQLINT1 (tinyint), SQLINT2 (smallint), SQLINT4 (int), SQLCHAR (char), SQLVARCHAR (varchar), SQLFLT4DBFLT4 (real), SQLFLT8DBFLT8 (float), and SQLDATETIME (datetime). You must define all fields except SQLDATETIME, SQLVARCHAR, and SQLCHAR as NOT NULL fields. You can define these three fields as NULL.Choose the varchar data type because it allows the flexibility to also have characters in the number. In order to set the Phone column as the primary key, uncheck Allow Nulls in the check box. In order to set this column as the primary key, rightclick and choose Set Primary

3 Key: complete, save the changes. Now, you can add data to your Once these steps are table: 2. Configure ICM in order to connect to this database. Use the Configuration Manager under Explorer tools in order to open Database Lookup Explorer. Then, add the newly-created database and column:

4 You also need to configure the username/password in order to log in to the database because the system uses sa with an empty password by default. Configure the username/password in the registry with this key:hkey_local_machine\software\cisco Systems, Inc.\ICM\inst1\RouterA\Router\CurrentVersion\Configuration\Database\SQLLogin This example shows how you can configure the key with the domain user:\\pod2sprawla\dblookup=(zfb\administrator,password) Note: Do not use the following special characters in the password: "=", ")", "(", ",", "?", "\", "/" 3. Ensure that you choose Enable Database Routing on the Edit Router screen, which can be accessed in the router setup on the web interface:

5 4. Use this database in the script. Add the DBLookup node and specify in which table you want to search. This example shows a search of the Priority table with the CallingLineID. Because nchar was chosen as the datatype, you must convert the number to a string before you enter the lookup: The lookup occurs on the column which is set as primary key. Later, you can use data from the same row to populate call variables. This example shows the addition of another column, City, both

6 in the database and in the configuration manager, which can be populated in the script: Verify Use this section to confirm that DB Worker is able to connect to the external database. Create a txt file dbw.txt that contains the logs since the last restart of the DB Worker process: C:\Users\Administrator.ZFB>cdlog <instance_name> ra C:\icm\inst1\ra\logfiles>dumplog dbw /o /ms /last Verify that DB Worker is able to connect to the database with dbw.txt: 12:39:08:413 ra-dbw Trace: Attempting integrated security open of POD2SPRAWLA using ZFB\Administrator 12:39:08:451 ra-dbw Trace: Sucessfully impersonated ZFB\Administrator 12:39:08:476 ra-dbw Trace: 'id' is column 2 in sysobjects. 12:39:08:477 ra-dbw Trace: ID for table Priority is :39:08:484 ra-dbw Trace: Columns for Priority: 12:39:08:484 ra-dbw Trace: Column 1: Phone, type=47, length=30 12:39:08:536 ra-dbw Trace: Primary key for Priority is Phone, column 1. 12:39:08:557 ra-dbw Trace: Created connection to POD2SPRAWLA,DBLookup for thread 0 12:39:08:557 ra-dbw Trace: Created connection to POD2SPRAWLA,DBLookup for thread 1 12:39:08:558 ra-dbw Trace: Created connection to POD2SPRAWLA,DBLookup for thread 2 12:39:08:558 ra-dbw Trace: Created connection to POD2SPRAWLA,DBLookup for thread 3 12:39:08:558 ra-dbw Trace: Created connection to POD2SPRAWLA,DBLookup for thread 4 12:39:08:558 ra-dbw Trace: ScriptTable Piority is now available. 12:39:08:559 ra-dbw Trace: ScriptTable Piority (ID 5000) connected to POD2SPRAWLA,DBLookup,Priority 12:39:08:559 ra-dbw Trace: Internal connect for POD2SPRAWLA,DBLookup,Priority 12:39:08:559 ra-dbw Trace: 'id' is column 2 in sysobjects. 12:39:08:560 ra-dbw Trace: ID for table Priority is :39:08:560 ra-dbw Trace: Columns for Priority: 12:39:08:560 ra-dbw Trace: Column 1: Phone, type=47, length=30 12:39:08:561 ra-dbw Trace: Primary key for Priority is Phone, column 1. 12:39:08:561 ra-dbw Trace: Column Phone (ID 5002) is table column 1, type :39:08:561 ra-dbw Trace: ScriptTable Piority (ID 5000) connected to POD2SPRAWLA,DBLookup,Priority The DB Worker logs display this response when there is no entry that matches in the primary key column (triggered by DBLookup node in the script): 13:24:05:294 ra-dbw Trace: Queue a lookup request 13:24:05:295 ra-dbw Trace: DBWorker Thread 0 (ID Table:Priority): Received request: transactionid 1 13:24:05:295 ra-dbw Trace: DBWorker Thread 0 (ID ),transactionID 1,

7 Attempt to read the record: 13:24:05:295 ra-dbw Trace: DBWorker transactionid 1, Failed! result=1 When there is a match, this is the response: 13:25:25:810 ra-dbw Trace: Queue a lookup request 13:25:25:810 ra-dbw Trace: DBWorker Thread 1 (ID Table:Piority): Received request: transactionid 2 13:25:25:810 ra-dbw Trace: DBWorker Thread 1 (ID ),transactionID 2, Attempt to read the record: 13:25:25:811 ra-dbw Trace: DBWorker Thread 1 (ID ),transactionID 2, Succeeded. Troubleshoot There is currently no specific troubleshooting information available for this configuration.

Department of Computer Science University of Cyprus. EPL342 Databases. Lab 2

Department of Computer Science University of Cyprus. EPL342 Databases. Lab 2 Department of Computer Science University of Cyprus EPL342 Databases Lab 2 ER Modeling (Entities) in DDS Lite & Conceptual Modeling in SQL Server 2008 Panayiotis Andreou http://www.cs.ucy.ac.cy/courses/epl342

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

HP NonStop Data Transformation Engine ODBC Adapter Reference Guide

HP NonStop Data Transformation Engine ODBC Adapter Reference Guide HP NonStop Data Transformation Engine ODBC Adapter Reference Guide Abstract This manual provides information about using the HP NonStop Data Transformation Engine (NonStop DTE) ODBC adapter. Product Version

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

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 # 2 Hands-On. DDL Basic SQL Statements Institute of Computer Science, University of Tartu, Estonia

Lab # 2 Hands-On. DDL Basic SQL Statements Institute of Computer Science, University of Tartu, Estonia Lab # 2 Hands-On DDL Basic SQL Statements Institute of Computer Science, University of Tartu, Estonia Part A: Demo by Instructor in Lab a. Data type of MySQL b. CREATE table c. ALTER table (ADD, CHANGE,

More information

Simple Quesries in SQL & Table Creation and Data Manipulation

Simple Quesries in SQL & Table Creation and Data Manipulation Simple Quesries in SQL & Table Creation and Data Manipulation Based on CBSE Curriculum Class -11 By- Neha Tyagi PGT CS KV 5 Jaipur II Shift Jaipur Region Neha Tyagi, PGT CS II Shift Jaipur Introduction

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

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

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

Programming and Database Fundamentals for Data Scientists

Programming and Database Fundamentals for Data Scientists Programming and Database Fundamentals for Data Scientists Database Fundamentals Varun Chandola School of Engineering and Applied Sciences State University of New York at Buffalo Buffalo, NY, USA chandola@buffalo.edu

More information

More MySQL ELEVEN Walkthrough examples Walkthrough 1: Bulk loading SESSION

More MySQL ELEVEN Walkthrough examples Walkthrough 1: Bulk loading SESSION SESSION ELEVEN 11.1 Walkthrough examples More MySQL This session is designed to introduce you to some more advanced features of MySQL, including loading your own database. There are a few files you need

More information

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client Lab 2.0 - MySQL CISC3140, Fall 2011 DUE: Oct. 6th (Part 1 only) Part 1 1. Getting started This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client host

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

Introduction to SQL on GRAHAM ED ARMSTRONG SHARCNET AUGUST 2018

Introduction to SQL on GRAHAM ED ARMSTRONG SHARCNET AUGUST 2018 Introduction to SQL on GRAHAM ED ARMSTRONG SHARCNET AUGUST 2018 Background Information 2 Background Information What is a (Relational) Database 3 Dynamic collection of information. Organized into tables,

More information

Kaotii.

Kaotii. Kaotii IT http://www.kaotii.com Exam : 70-762 Title : Developing SQL Databases Version : DEMO 1 / 10 1.DRAG DROP Note: This question is part of a series of questions that use the same scenario. For your

More information

DOCUMENT REVISION HISTORY

DOCUMENT REVISION HISTORY DOCUMENT REVISION HISTORY Rev. No. Changes Date 000 New Document 10 Jan. 2011 001 Document Revision: 06 Jun. 2011 - Addition of section on MYSQL backup and restore. 002 Document Revision: 22 Jul. 2011

More information

SAS OVERVIEW WHAT S NEW IN 9.4

SAS OVERVIEW WHAT S NEW IN 9.4 SAS OVERVIEW WHAT S NEW IN 9.4 Matt Malczewski, Communities Manager SAS 9.4 AGENDA What s new DS2 Language SAS Enterprise Guide 6.1 SAS Studio 3.1 DS2 LANGUAGE SAS 9.4 BASE SAS NEW PROGRAMMING LANGUAGE

More information

Lab # 1. You will be using MySQL as a database management system during the labs. The goal of this first lab is to familiarize you with MySQL.

Lab # 1. You will be using MySQL as a database management system during the labs. The goal of this first lab is to familiarize you with MySQL. DDB Spring 2006 Lab # 1 You will be using MySQL as a database management system during the labs. The goal of this first lab is to familiarize you with MySQL. The reason you are using MySQL is twofolds.

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

Use NAT to Hide the Real IP Address of CTC to Establish a Session with ONS 15454

Use NAT to Hide the Real IP Address of CTC to Establish a Session with ONS 15454 Use NAT to Hide the Real IP Address of CTC to Establish a Session with ONS 15454 Document ID: 65122 Contents Introduction Prerequisites Requirements Components Used Conventions Background Information Topology

More information

SQL: Concepts. Todd Bacastow IST 210: Organization of Data 2/17/ IST 210

SQL: Concepts. Todd Bacastow IST 210: Organization of Data 2/17/ IST 210 SQL: Concepts Todd Bacastow IST 210: Organization of Data 2/17/2004 1 Design questions How many entities are there? What are the major entities? What are the attributes of each entity? Is there a unique

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

UCCE Outbound Option High Availability Quick Reference

UCCE Outbound Option High Availability Quick Reference UCCE Outbound Option High Availability Quick Reference Contents Introduction Prerequisites Requirements Components Used Background Information Architecture Overview of Failover Models Configure Preliminary

More information

Creating a Relational Database Using Microsoft SQL Code. Farrokh Alemi, Ph.D.

Creating a Relational Database Using Microsoft SQL Code. Farrokh Alemi, Ph.D. Creating a Relational Database Using Microsoft SQL Code Farrokh Alemi, Ph.D. The objective of this note is to help you understand how a relational database is organized as a collection of tables, linked

More information

MTAT Introduction to Databases

MTAT Introduction to Databases MTAT.03.105 Introduction to Databases Lecture #6 Constraints Ljubov Jaanuska (ljubov.jaanuska@ut.ee) Lecture 5. Summary E-R model according to Crow s Foot notation Model normalization Lecture 2-3. What

More information

20767B: IMPLEMENTING A SQL DATA WAREHOUSE

20767B: IMPLEMENTING A SQL DATA WAREHOUSE ABOUT THIS COURSE This 5-day instructor led course describes how to implement a data warehouse platform to support a BI solution. Students will learn how to create a data warehouse with Microsoft SQL Server

More information

Implementing a Data Warehouse with Microsoft SQL Server 2012

Implementing a Data Warehouse with Microsoft SQL Server 2012 Implementing a Data Warehouse with Microsoft SQL Server 2012 Course 10777A 5 Days Instructor-led, Hands-on Introduction Data warehousing is a solution organizations use to centralize business data for

More information

Configuration of Campaigns and Imports

Configuration of Campaigns and Imports Outbound Option Configuration Process Overview, on page 1 Configuration Process Task Maps, on page 2 Preliminary Configuration Requirements, on page 3 Contact and Do Not Call List Imports, on page 6 Outbound

More information

Administering Cisco Unified Contact Center Enterprise Boot Camp

Administering Cisco Unified Contact Center Enterprise Boot Camp Administering Cisco Unified Contact Center Enterprise Boot Camp AUCCE-BC v10.0; 5 days, Instructor-led Course Description The Administering Cisco Unified Contact Center Enterprise Bootcamp is a 5 day,

More information

SQL. Often times, in order for us to build the most functional website we can, we depend on a database to store information.

SQL. Often times, in order for us to build the most functional website we can, we depend on a database to store information. Often times, in order for us to build the most functional website we can, we depend on a database to store information. If you ve ever used Microsoft Excel or Google Spreadsheets (among others), odds are

More information

Transbase R PHP Module

Transbase R PHP Module Transbase R PHP Module Transaction Software GmbH Willy-Brandt-Allee 2 D-81829 München Germany Phone: +49-89-62709-0 Fax: +49-89-62709-11 Email: info@transaction.de http://www.transaction.de Version 7.1.2.30

More information

OneStop Reporting 4.5 OSR Administration User Guide

OneStop Reporting 4.5 OSR Administration User Guide OneStop Reporting 4.5 OSR Administration User Guide Doc. Version 1.2 Updated: 10-Dec-14 Copyright OneStop Reporting AS Contents Introduction... 1 Who should read this manual... 1 What s included in this

More information

Dynamically build connection objects for Microsoft Access databases in SQL Server Integration Services SSIS

Dynamically build connection objects for Microsoft Access databases in SQL Server Integration Services SSIS Dynamically build connection objects for Microsoft Access databases in SQL Server Integration Services SSIS Problem As a portion of our daily data upload process, we receive data in the form of Microsoft

More information

Basic SQL. Basic SQL. Basic SQL

Basic SQL. Basic SQL. Basic SQL Basic SQL Dr Fawaz Alarfaj Al Imam Mohammed Ibn Saud Islamic University ACKNOWLEDGEMENT Slides are adopted from: Elmasri & Navathe, Fundamentals of Database Systems MySQL Documentation Basic SQL Structured

More information

Draft. Students Table. FName LName StudentID College Year. Justin Ennen Science Senior. Dan Bass Management Junior

Draft. Students Table. FName LName StudentID College Year. Justin Ennen Science Senior. Dan Bass Management Junior Chapter 6 Introduction to SQL 6.1 What is a SQL? When would I use it? SQL stands for Structured Query Language. It is a language used mainly for talking to database servers. It s main feature divisions

More information

D B M G. SQL language: basics. Managing tables. Creating a table Modifying table structure Deleting a table The data dictionary Data integrity

D B M G. SQL language: basics. Managing tables. Creating a table Modifying table structure Deleting a table The data dictionary Data integrity SQL language: basics Creating a table Modifying table structure Deleting a table The data dictionary Data integrity 2013 Politecnico di Torino 1 Creating a table Creating a table (1/3) The following SQL

More information

Implementing a SQL Data Warehouse

Implementing a SQL Data Warehouse Course 20767B: Implementing a SQL Data Warehouse Page 1 of 7 Implementing a SQL Data Warehouse Course 20767B: 4 days; Instructor-Led Introduction This 4-day instructor led course describes how to implement

More information

Tanium Asset User Guide. Version 1.3.1

Tanium Asset User Guide. Version 1.3.1 Tanium Asset User Guide Version 1.3.1 June 12, 2018 The information in this document is subject to change without notice. Further, the information provided in this document is provided as is and is believed

More information

API Gateway Version September Key Property Store User Guide

API Gateway Version September Key Property Store User Guide API Gateway Version 7.5.2 15 September 2017 Key Property Store User Guide Copyright 2017 Axway All rights reserved. This documentation describes the following Axway software: Axway API Gateway 7.5.2 No

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

THE UNIVERSITY OF AUCKLAND

THE UNIVERSITY OF AUCKLAND VERSION 1 COMPSCI 280 THE UNIVERSITY OF AUCKLAND SECOND SEMESTER, 2015 Campus: City COMPUTER SCIENCE Enterprise Software Development (Time allowed: 40 minutes) NOTE: Enter your name and student ID into

More information

Mirror Replication Agent

Mirror Replication Agent Primary Database Guide Mirror Replication Agent 15.1 Linux, Microsoft Windows, and UNIX DOCUMENT ID: DC00712-01-1510-01 LAST REVISED: September 2008 Copyright 2008 by Sybase, Inc. All rights reserved.

More information

Private Institute of Aga NETWORK DATABASE LECTURER NIYAZ M. SALIH

Private Institute of Aga NETWORK DATABASE LECTURER NIYAZ M. SALIH Private Institute of Aga 2018 NETWORK DATABASE LECTURER NIYAZ M. SALIH Data Definition Language (DDL): String data Types: Data Types CHAR(size) NCHAR(size) VARCHAR2(size) Description A fixed-length character

More information

Implement a Data Warehouse with Microsoft SQL Server

Implement a Data Warehouse with Microsoft SQL Server Implement a Data Warehouse with Microsoft SQL Server 20463D; 5 days, Instructor-led Course Description This course describes how to implement a data warehouse platform to support a BI solution. Students

More information

GoldenGate Client Xtra Reference Manual. For Macromedia Authorware

GoldenGate Client Xtra Reference Manual. For Macromedia Authorware GoldenGate Client Xtra Reference Manual For Macromedia Authorware Integration New Media Inc 2002 2007-09-11 Contents Contents 3 Methods Reference 5 Global Methods 5 GGStatus 5 GGError 5 GGConnection Methods

More information

Database and MySQL Temasek Polytechnic

Database and MySQL Temasek Polytechnic PHP5 Database and MySQL Temasek Polytechnic Database Lightning Fast Intro Database Management Organizing information using computer as the primary storage device Database The place where data are stored

More information

Outsourcer Administrator Guide Document Date

Outsourcer Administrator Guide   Document Date 5.2.3 Administrator Guide http://www.pivotalguru.com Document Date 2018-08-08 1 Overview of... 5 How it Works... 5 How it Works Illustration... 5 Main Components... 5 Jobs... 5 Queue... 6 Custom Tables...

More information

SQL Data Definition and Data Manipulation Languages (DDL and DML)

SQL Data Definition and Data Manipulation Languages (DDL and DML) .. Cal Poly CPE/CSC 365: Introduction to Database Systems Alexander Dekhtyar.. SQL Data Definition and Data Manipulation Languages (DDL and DML) Note: This handout instroduces both the ANSI SQL synatax

More information

For the Dorm Energy Monitoring DB design, some constraints are given and some are absent. You are asked to fill in some of these absent constraints.

For the Dorm Energy Monitoring DB design, some constraints are given and some are absent. You are asked to fill in some of these absent constraints. Assignment A-w4 Spring 2018 Name: For the Dorm Energy Monitoring DB design, some constraints are given and some are absent. You are asked to fill in some of these absent constraints. 1. Fill Foreign Key

More information

20463C-Implementing a Data Warehouse with Microsoft SQL Server. Course Content. Course ID#: W 35 Hrs. Course Description: Audience Profile

20463C-Implementing a Data Warehouse with Microsoft SQL Server. Course Content. Course ID#: W 35 Hrs. Course Description: Audience Profile Course Content Course Description: This course describes how to implement a data warehouse platform to support a BI solution. Students will learn how to create a data warehouse 2014, implement ETL with

More information

Implementing a Data Warehouse with Microsoft SQL Server

Implementing a Data Warehouse with Microsoft SQL Server Course 20463C: Implementing a Data Warehouse with Microsoft SQL Server Page 1 of 6 Implementing a Data Warehouse with Microsoft SQL Server Course 20463C: 4 days; Instructor-Led Introduction This course

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

SQL: Data De ni on. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3

SQL: Data De ni on. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3 B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3 SQL: Data De ni on Mar n Svoboda mar n.svoboda@fel.cvut.cz 13. 3. 2018 Czech Technical University

More information

Data Base Lab. The Microsoft SQL Server Management Studio Part-3- By :Eng.Alaa I.Haniy.

Data Base Lab. The Microsoft SQL Server Management Studio Part-3- By :Eng.Alaa I.Haniy. Data Base Lab Islamic University Gaza Engineering Faculty Computer Department Lab -5- The Microsoft SQL Server Management Studio Part-3- By :Eng.Alaa I.Haniy. SQL Constraints Constraints are used to limit

More information

BMC Client Management/Footprints Asset Core: How to populate Location Field using IP Range

BMC Client Management/Footprints Asset Core: How to populate Location Field using IP Range BMC Client Management/Footprints Asset Core: How to populate Location Field using IP Range Method Most of the time, it s possible to identify location just by checking IP range. This document explains

More information

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population In this lab, your objective is to learn the basics of creating and managing a DB system. One way to interact with the DBMS (MySQL)

More information

Change Tracking Framework

Change Tracking Framework Change Tracking Framework for Microsoft SQL Server Sergey Vaselenko Change Tracking Framework for Microsoft SQL Server Written by Sergey Vaselenko This e-book describes the change tracking framework for

More information

System Admin Manual <SNAPVALET> <Team No- 03>

System Admin Manual <SNAPVALET> <Team No- 03> System Admin Manual Name Brian Vanover Brian Bousman Ditong Ding Molly Karcher Patrick Horng Ridhima Manjrekar Role Project Manager, Developer Operational Concept Engineer, Developer

More information

Full file at

Full file at SQL for SQL Server 1 True/False Questions Chapter 2 Creating Tables and Indexes 1. In order to create a table, three pieces of information must be determined: (1) the table name, (2) the column names,

More information

C. Collect engine heap performance data via the Cisco Unified Real-Time Monitoring Tool.

C. Collect engine heap performance data via the Cisco Unified Real-Time Monitoring Tool. Volume: 50 Questions Question No: 1 In a high availability over WAN deployment, which option cannot be located across the WAN from the active Cisco Unified Contact Center Express site? A. SMTP server B.

More information

CREATE TABLE Observer ( NetworkID CHAR(20), DormName VARCHAR(35), PRIMARY KEY (NetworkID) );

CREATE TABLE Observer ( NetworkID CHAR(20), DormName VARCHAR(35), PRIMARY KEY (NetworkID) ); I am giving you relations in the form of partially-specified CREATE TABLE statements with attribute types that are consistent with some SQL interpreters (though not others). /* Observer associates computer

More information

Getting Started with Ingres and PHP April 8 th 2008

Getting Started with Ingres and PHP April 8 th 2008 Getting Started with Ingres and PHP April 8 th 2008 grantc@php.net 1 Abstract From downloading the source code to building the Ingres PECL extension, this session covers what is needed to get started with

More information

Cardholder data synchronization between an IDM system and Salto DB based on a staging table

Cardholder data synchronization between an IDM system and Salto DB based on a staging table Cardholder data synchronization between an IDM system and Salto DB based on a staging table Document name: Salto_User_Sync_Staging_Table_1_4.doc Version: 1.4 Last updated date: 8 August 2013 Historic of

More information

1. Given the name of a movie studio, find the net worth of its president.

1. Given the name of a movie studio, find the net worth of its president. 1. Given the name of a movie studio, find the net worth of its president. CREATE FUNCTION GetNetWorth( studio VARCHAR(30) ) RETURNS DECIMAL(9,3) DECLARE worth DECIMAL(9,3); SELECT networth INTO worth FROM

More information

Lesson 13 Transcript: User-Defined Functions

Lesson 13 Transcript: User-Defined Functions Lesson 13 Transcript: User-Defined Functions Slide 1: Cover Welcome to Lesson 13 of DB2 ON CAMPUS LECTURE SERIES. Today, we are going to talk about User-defined Functions. My name is Raul Chong, and I'm

More information

Tips and Tricks Working with Scribe Trace Files

Tips and Tricks Working with Scribe Trace Files Tips and Tricks Working with Scribe Trace Files This document gives some details about how Scribe tracing works, how to enable tracing, and how to read trace files. It also includes some tips and tricks

More information

Smart Monitoring

Smart  Monitoring Smart Email Monitoring A feature that provides the ability to check queue mails and send alerts if any mails are in pending state and not received to respective configured users. 1 Overview: The Smart

More information

Introduction to Relational Database Management Systems

Introduction to Relational Database Management Systems Introduction to Relational Database Management Systems nikos bikakis bikakis@dblab.ntua.gr dblab NTU Athens Jan 2014 Outline RDBMS History Relational Model Overview RDBMS Overview Integrity Constraints

More information

Every Byte Counts. Why Datatype Choices Matter. Andy Yun, Database Architect/Developer

Every Byte Counts. Why Datatype Choices Matter. Andy Yun, Database Architect/Developer Every Byte Counts Why Datatype Choices Matter Andy Yun, Database Architect/Developer Thank You Presenting Sponsors Gain insights through familiar tools while balancing monitoring and managing user created

More information

Implementing a SQL Data Warehouse

Implementing a SQL Data Warehouse Implementing a SQL Data Warehouse Course 20767B 5 Days Instructor-led, Hands on Course Information This five-day instructor-led course provides students with the knowledge and skills to provision a Microsoft

More information

Device Interface IP Address Subnet Mask Default Gateway

Device Interface IP Address Subnet Mask Default Gateway Topology Diagram Addressing Table Device Interface IP Address Subnet Mask Default Gateway BRANCH HQ ISP Fa0/0 172.20.1.129 255.255.255.128 N/A S0/0/0 172.20.1.1 255.255.255.128 N/A Fa0/0 172.20.0.129 255.255.255.128

More information

OSR Administration 3.7 User Guide. Updated:

OSR Administration 3.7 User Guide. Updated: OSR Administration 3.7 User Guide Updated: 2013-01-31 Copyright OneStop Reporting AS www.onestopreporting.com Table of Contents Introduction... 1 Who should read this manual... 1 What s included in this

More information

SQL Server 2008 Tutorial 3: Database Creation

SQL Server 2008 Tutorial 3: Database Creation SQL Server 2008 Tutorial 3: Database Creation IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 DDL Action in SQL Server Creating and modifying structures using the graphical interface Table

More information

Daffodil DB. Design Document (Beta) Version 4.0

Daffodil DB. Design Document (Beta) Version 4.0 Daffodil DB Design Document (Beta) Version 4.0 January 2005 Copyright Daffodil Software Limited Sco 42,3 rd Floor Old Judicial Complex, Civil lines Gurgaon - 122001 Haryana, India. www.daffodildb.com All

More information

Release Notes Scribe Insight

Release Notes Scribe Insight Release Notes Scribe Insight Requirements Version 7.0 and 7.0.1 Release Date July 29, 2010 Supported Operating Systems Windows 7 Server Enterprise/Standard Editions (x32 and x64) Windows 2008 Server Enterprise/Standard

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

Installation and Configuration Guide

Installation and Configuration Guide Senturus Analytics Connector Version 2.2 Installation and Configuration Guide Senturus Inc. 533 Airport Blvd. Suite 400 Burlingame CA 94010 P 888 601 6010 F 650 745 0640 2017 Senturus, Inc. Table of Contents

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

CSC 337. Relational Databases and SQL. Rick Mercer

CSC 337. Relational Databases and SQL. Rick Mercer CSC 337 Relational Databases and SQL Rick Mercer Relational databases Relational database: A method of structuring data as tables associated to each other by shared attributes A table row corresponds to

More information

Perceptive Intelligent Capture

Perceptive Intelligent Capture Perceptive Intelligent Capture Scripting Guide Version: 5.6.x Written by: Product Knowledge, R&D Date: September 2016 2015 Perceptive Software. All rights reserved. Lexmark and Perceptive Software are

More information

Perceptive Intelligent Capture

Perceptive Intelligent Capture Perceptive Intelligent Capture Scripting Guide Version: 5.7.x Written by: Product Development, R&D Date: September 2016 2016 Lexmark. All rights reserved. Lexmark is a trademark of Lexmark International

More information

Oracle Big Data Cloud Service, Oracle Storage Cloud Service, Oracle Database Cloud Service

Oracle Big Data Cloud Service, Oracle Storage Cloud Service, Oracle Database Cloud Service Demo Introduction Keywords: Oracle Big Data Cloud Service, Oracle Storage Cloud Service, Oracle Database Cloud Service Goal of Demo: Oracle Big Data Preparation Cloud Services can ingest data from various

More information

C Exam Code: C Exam Name: IBM InfoSphere DataStage v9.1

C Exam Code: C Exam Name: IBM InfoSphere DataStage v9.1 C2090-303 Number: C2090-303 Passing Score: 800 Time Limit: 120 min File Version: 36.8 Exam Code: C2090-303 Exam Name: IBM InfoSphere DataStage v9.1 Actualtests QUESTION 1 In your ETL application design

More information

DOCUMENT REVISION HISTORY

DOCUMENT REVISION HISTORY DOCUMENT REVISION HISTORY Rev. No. Changes Date 000 New Document 10 Jan. 2011 001 Document Revision: 06 Jun. 2011 - Addition of section on MYSQL backup and restore. 002 Document Revision: 22 Jul. 2011

More information

Database Gate User's Guide javaprssrvr 4.3

Database Gate User's Guide javaprssrvr 4.3 Database Gate User's Guide javaprssrvr 4.3 DBGate is Copyright 2016 - Pete Loveall AE5PL pete@ae5pl.net Use of the software is acceptance of the agreement to not hold the author or anyone associated with

More information

SQL Functionality SQL. Creating Relation Schemas. Creating Relation Schemas

SQL Functionality SQL. Creating Relation Schemas. Creating Relation Schemas SQL SQL Functionality stands for Structured Query Language sometimes pronounced sequel a very-high-level (declarative) language user specifies what is wanted, not how to find it number of standards original

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

Pagina 1 di 5 13.1.4. INSERT Syntax 13.1.4.1. INSERT... SELECT Syntax 13.1.4.2. INSERT DELAYED Syntax INSERT [LOW_PRIORITY DELAYED HIGH_PRIORITY] [IGNORE] [INTO] tbl_name [(col_name,...)] VALUES ({expr

More information

Implementing a Data Warehouse with Microsoft SQL Server 2012

Implementing a Data Warehouse with Microsoft SQL Server 2012 10777 - Implementing a Data Warehouse with Microsoft SQL Server 2012 Duration: 5 days Course Price: $2,695 Software Assurance Eligible Course Description 10777 - Implementing a Data Warehouse with Microsoft

More information

1 INTRODUCTION TO EASIK 2 TABLE OF CONTENTS

1 INTRODUCTION TO EASIK 2 TABLE OF CONTENTS 1 INTRODUCTION TO EASIK EASIK is a Java based development tool for database schemas based on EA sketches. EASIK allows graphical modeling of EA sketches and views. Sketches and their views can be converted

More information

Fname A variable character field up to 15 characters in length. Must have a value Lname A variable character field up to 15

Fname A variable character field up to 15 characters in length. Must have a value Lname A variable character field up to 15 Customer Table CUSTOMER (CustomerNo, fname, lname, phone) CustomerNo Primary key, numeric, 4 digits Fname A variable character field up to 15 characters in length. Must have a value Lname A variable character

More information

SQL Server and SQL Structured Query Language

SQL Server and SQL Structured Query Language SQL Server and SQL Structured Query Language Step by step Exercises Hans-Petter Halvorsen Database Systems Hans-Petter Halvorsen, M.Sc. Database Systems A Database is a structured way to store lots of

More information

GlobAl EDITION. Database Concepts SEVENTH EDITION. David M. Kroenke David J. Auer

GlobAl EDITION. Database Concepts SEVENTH EDITION. David M. Kroenke David J. Auer GlobAl EDITION Database Concepts SEVENTH EDITION David M. Kroenke David J. Auer This page is intentionally left blank. Chapter 3 Structured Query Language 157 the comment. We will use similar comments

More information

Chapter 3 Introduction to relational databases and MySQL

Chapter 3 Introduction to relational databases and MySQL Chapter 3 Introduction to relational databases and MySQL Murach's PHP and MySQL, C3 2014, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Use phpmyadmin to review the data and structure of

More information

MYRO My Record Oriented privilege system

MYRO My Record Oriented privilege system MYRO My Record Oriented privilege system Giorgio Calderone IFC - INAF Palermo, Italy Luciano Nicastro IASF - INAF Bologna, Italy April 29, 2015 Ver. 0.3.2-alpha3 http://ross.iasfbo.inaf.it/myro This page

More information

Chapter # 7 Introduction to Structured Query Language (SQL) Part I

Chapter # 7 Introduction to Structured Query Language (SQL) Part I Chapter # 7 Introduction to Structured Query Language (SQL) Part I Introduction to SQL SQL functions fit into two broad categories: Data definition language Data manipulation language Basic command set

More information

Exam /Course 20767B: Implementing a SQL Data Warehouse

Exam /Course 20767B: Implementing a SQL Data Warehouse Exam 70-767/Course 20767B: Implementing a SQL Data Warehouse Course Outline Module 1: Introduction to Data Warehousing This module describes data warehouse concepts and architecture consideration. Overview

More information

Module 3 MySQL Database. Database Management System

Module 3 MySQL Database. Database Management System Module 3 MySQL Database Module 3 Contains 2 components Individual Assignment Group Assignment BOTH are due on Mon, Feb 19th Read the WIKI before attempting the lab Extensible Networking Platform 1 1 -

More information

Microsoft SQL Installation and Setup

Microsoft SQL Installation and Setup This chapter provides information about installing and setting up Microsoft SQL. Encrypted Database Not Supported, page 1 Install and Setup Microsoft SQL Server, page 1 Database Migration Required for

More information