CC SQL Utilities.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
Access Lesson 2 Creating a Database
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Integrating Access with the Web and with Other Programs.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
Introduction To Form Builder
Introduction To Form Builder
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Tutorial 11: Connecting to External Data
How to Get The Most Out of Outlook 2003 Michele Schwartzman Division of Customer Support Summer 2006.
Center for Earned Value Management wInsight – “How to Use” Guide
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
Chapter 2 Querying a Database
Chapter 3 Maintaining a Database
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-1 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left,
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Working with a Database
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
Creating a Web Site to Gather Data and Conduct Research.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
FireRMS NEMSIS (Part 2) Presented by Laura Small FireRMS Quality Assurance.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 24 Managing and Reporting Database Information 1 Morrison / Wells / Ruffolo.
Create Forms Lesson 5. Objectives Software Orientation The Forms group (below) is located on the Create tab in the Ribbon and can be used to create a.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Chapter 17 Creating a Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Create Lists in Millennium Jenny Schmidt SWITCH Library Consortium.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
FIX Eye FIX Eye Getting started: The guide EPAM Systems B2BITS.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
ACCESS Part 2. OBJECTIVE  Use the Query Wizard.  Work with data in a query.  Use Query Design View.  Sort and find data.  Filter data Apply AND criteria.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
O FFICE M ANAGEMENT T OOL - II B BA -V I TH. Abdus Salam2 Week-7 Introduction to Query Introduction to Query Querying from Multiple Tables Querying from.
 Click Start, point to All Programs, point to Accessories, point to System Tools,and then click Backup. The Backup or Restore Wizard starts.
1 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
CREATING DATABASE Presenter: Jolanta Soltis. When to use Excel Use Excel when you: –Require a flat or non-relational view of your data (you do not need.
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Microsoft Excel 2007 Noris Bt. Ismail Faculty of Information and Communication Technology Tel : (Ext 8408) BCOMP0101.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from Access, a Web site, or a CSV text file.
Access Tutorial 2 Building a Database and Defining Table Relationships
Practical Office 2007 Chapter 10
Tutorial 11: Connecting to External Data
Data File Import / Export
Test Information Distribution Engine (TIDE)
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Excel 2007 – Level 2
CIS16 Application Programming with Visual Basic
Presentation transcript:

CC SQL Utilities

CC SQL Utilities Overview The Primary tech tool used for viewing and changing data directly in the database Backup and restore Import and exporting SQL Query editor Attaching and detaching databases Other tech tools

CC SQL Utilities Logon Choose SQL sever Enter username and password computer name\comcash Enter username and password sa - no password

Utilities Launches Initially the server name appears Run SQL Server Service Manager Check Program Versions Attach Database Prompts for .mdf file Check for CC SQL Utilities update Needs internet connection Expand the server The attached databases are displayed

Select a database The database properties are displayed Size Date created File location Name of .mdf file Name of .ldf file

Go Live Clears out any unwanted data entered while evaluating ComCash Select to keep some data (optional) Customers Cashiers Registers Products Quick Service Menu Vendors Consignors Prompts to backup existing data

Empty one or more tables Very powerful Always BACKUP data first

Display row count for all tables in the database Helpful tool to display the number of rows in all tables Click on “Number of Rows” column header to list table in order of row count.

Detach Database Cannot detach until all connections are cleared first

Change Location Changes the location number the data is associated with

Delete Location Deletes all records associated with a specified location number

Set modified flags in one or more tables Marks records as “modified” for specified tables (forces records to poll) Prompts for location number

Clear modified flags in one or more tables Clears the “modified” property of records for tables specified. (records will not poll)

SQL Query Interface Utility Warns user – this is a very powerful utility Can write and run SQL statements Select Update Delete Insert Results are returned in a powerful grid format

Grids in CC SQL Utilities Click column headers to: Sort data by any field Drag the column header up to group bar to Group data by any field Filter Data by: All – no filter Selection – choose an available value from a field Custom – use logic to build custom filters (can be saved and recalled)

Custom Filters Equals \ does not equal Is less than \ is less than or equal to Is greater than \ is greater than or equal to Is like \ is not like Use _ to represent any single character Use % to represent any series of characters Is blank \ is not blank Use And\or operators to create compound filters

Print Grids as a report Use the report designer feature to customize the report

Backup Manager Overview Creates a .bak file manually or automatically When restored, it replaces existing data (does not add to it) Backs up, literally, all the data Can be moved to another computer and restored All prior backups are listed in the back up registry making them easy to find and restore. Marked with date\time stamp

Automatic Backups Turn on automatic backup feature in ComCash Manager Registers Entire database is backed up daily with close of day Backups are named for the day of the week (Monday, Tuesday, Wednesday, etc.) This Monday’s backup will overwrite last Monday’s backup .bak stored in C:\Program Files\ComCash\CCDatabases\Backups Offload c:\Program Files\ComCash 8.0\CCDatabase\backups folder once a week for a 365 day accounting of the data Restore the “auto-backups” just like any other backup

Manual Backups Create a new backup Prompts user for a directory Appears in the registry Restore selected backup Overwrite selected backup Delete selected backup Register a backup from another server .bak file backed up from another server only registered backups can be restored

Expand the database and select a table Initially the first 200 rows are displayed One does not want to inadvertently display all rows in a 500,000 line item table Displayed in powerful grid

Read\Write Mode (toggle) Read mode Data can only be viewed Read\write mode Allows user to edit, append and delete data directly on grid

SP Helper Stings Used by programmers and very advanced users to aid writing stored procedures and queries

Clear table Empties the selected table

Export Data

Exporting Data Overview Data from any selected table can be exported All fields or only specified fields can be exported All rows or only rows meeting specified criteria can be exported Exported files includes field names for column headers Data is exported to a .csv file (comma separated) .csv is the most common file type for exported files Can be imported into Microsoft Excel (and many other programs). Export wizard starts

Step 1 – Enter File Name Prompts for file name/directory User can browse to the directory

Step 2 – Create / Load Data Map Select fields to export (all or only selected) Choose the order of fields to export Save, Load, Rename, and Delete created data maps

Step 3 – Export the data Offers user the option of entering a SQL ‘where’ clause to limit the exported data by specified criteria (i.e. where dept = 4) Click Start Progress bar is displayed Number of rows exported is displayed

Import Data

Import Data Overview Uses a mapping method to import data from a .csv file into the selected table Errors will be reported at the end of the import process and any rows not imported can be saved in a separate file so that they may be reviewed and corrected.

Step 1 – Pick your CSV File Type in the name and path for (or browse to) your .csv file Select the delimiter (tab or comma) Check box: The first line of the CSV file contains field names Check the box if you have prepared your file by titling each column with the field name the data is destined for Check the box if the file was exported using CC SQL Utilities Check box: Auto generate import rules based on CSV column names Check the box if you checked the previous box and want the program to “auto-generate” rules for the import process to import data into fields where the field name matches the column header

Step 2 – Create / Load a Map The table structure is displayed Field name Data type Length Required? Delete, rename, load, and save created Maps Create rules for all fields that are to receive data during the import. (You must create rules for “required” fields)

Import Map Rules Import from a CSV column Enter the column number from the CSV file

Import Map Rules Insert a fixed text value Enter the text value Program will populate field with the same value for all rows imported Example: you can use this feature to populate Size with “Large” for all rows imported.

Import Map Rules Enter a fixed integer value (whole number) Enter the integer value Program will populate a field with the same value for all rows imported Example: you can use this feature to populate the location_no field with 1 for all rows imported

Import Map Rules Enter a fixed floating point value (number with a decimal in it) Enter the floating point value Program will populate field with the same value for all rows imported Example: you could use this feature to set the price 1.99 for all rows imported

Import Map Rules Insert an incrementing integer value from a fixed starting value Enter the starting value Enter the incrementing value Example: if you re importing products, you can use this option to generate PLUs starting from 400000001

Import Map Rules Insert an incrementing value starting from the columns current max value Enter the increment value Example: if you are importing customers, you can use this feature to generate incrementing customer numbers for all rows imported starting with the highest customer number already in you customer table.

Import Map Rules Bit value Inserts a fixed bit value for all rows imported Example: you can use the set the modified field to true (1) for all rows imported

Ready to import Click Start Progress bar is displayed Error log is created and user is given the option to save it This is where the bad_CSV_rows information will go

Set Modified Marks records as “modified” for the selected table (forces records to poll) Prompts for location number Clear Modified flags Un-marks records as “modified” for the selected table (records will not poll)

View Table Structure Field names Field types Length Required i.e. char, int, bit Length Required Nulls allowed / not allowed

View Table Contents Shows table contents again when viewing table structure