Insert Presentation Title Heremm.dd.yy, City, ST Database Functions The art of saving time and code Kevin Ford Services Consaultant Accela, Inc.

Slides:



Advertisements
Similar presentations
Why is that LOV in the screen not returning me desired value?
Advertisements

The Schema Behind the Schema
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
1Key – Report Creation with DB2. DB2 Databases Create Domain for DB2 Test Demo.
Int 1 Revision Word Processing Most people are familiar with word processing packages such as Microsoft Word, Open Office and Word Perfect. Here are some.
Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Inventory Management System With Berkeley DB 1. What is Berkeley DB? Berkeley DB is an Open Source embedded database library that provides scalable, high-
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.1 Oracle Workflow Notifications John Peters JRPJR, Inc.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1 Created By Martin Schedlbauer
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
Getting connected.  Java application calls the JDBC library.  JDBC loads a driver which talks to the database.  We can change database engines without.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
Insert Presentation Title Heremm.dd.yy, City, ST SQL Reporting Services – Building the Report Kevin Ford Services Consaultant Accela, Inc.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Software Engineering 2003 Jyrki Nummenmaa 1 CASE Tools CASE = Computer-Aided Software Engineering A set of tools to (optimally) assist in each.
SharePoint and Open XML Using SharePoint as a Data Source for your custom Open XML Documents Presented by Becky Bertram MCSD, MCAD, MCTS
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
Chris Wright Senior Systems Engineer, Lucity IMPORT & UPDATE.
M1G Introduction to Database Development 6. Building Applications.
Tom Castiglia Hershey Technologies
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Examining.
CSE 3330 Database Concepts Stored Procedures. How to create a user CREATE USER.. GRANT PRIVILEGE.
DATA STRUCTURE & ALGORITHMS (BCS 1223) CHAPTER 8 : SEARCHING.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Database Change Management One solution to an often complex problem Kevin Hurwitz Headspring Systems
Triggers A Quick Reference and Summary BIT 275. Triggers SQL code permits you to access only one table for an INSERT, UPDATE, or DELETE statement. The.
JDBC Java and Databases. RHS – SOC 2 JDBC JDBC – Java DataBase Connectivity An API (i.e. a set of classes and methods), for working with databases in.
Views In some cases, it is not desirable for all users to see the entire logical model (that is, all the actual relations stored in the database.) In some.
Stored Procedure. Objective At the end of the session you will be able to know :  What are Stored Procedures?  Create a Stored Procedure  Execute a.
CS1100: Microsoft Access Managing Data in Relational Databases Created By Martin Schedlbauer CS11001Microsoft Access - Introduction.
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
Stored Procedures. Definition a stored procedure is a set of Structured Query Language (SQL) statements with an assigned name that's stored in the database.
Dispatching Java agents to user for data extraction from third party web sites Alex Roque F.I.U. HPDRC.
IT System Administration Lesson 3 Dr Jeffrey A Robinson.
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Basics of JDBC Session 14.
PL/SQL programming Procedures and Cursors Lecture 1 [Part 2]
34 Copyright © 2007, Oracle. All rights reserved. Module 34: Siebel Business Services Siebel 8.0 Essentials.
IMS 4212: Application Architecture and Intro to Stored Procedures 1 Dr. Lawrence West, Management Dept., University of Central Florida
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
JDBC Java and Databases. SWC – JDBC JDBC – Java DataBase Connectivity An API (i.e. a set of classes and methods), for working with databases in.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
SQL IMPLEMENTATION & ADMINISTRATION Indexing & Views.
Using Kuder Navigator for Researching Careers
Data Virtualization Demoette… Packaged Query Single Select Option
Data Virtualization Demoette… ADO.NET Client
Do You Want To Pass In First Attempt?
O.S Lecture 13 Virtual Memory.
Azure's Performance, Scalability, SQL Servers Automate Real Time Data Transfer at Low Cost MINI-CASE STUDY “Azure offers high performance, scalable, and.
Introduction to .NetTiers
Assembler Design Options
Entity Framework Core (EF Core)
Developing a Model-View-Controller Component for Joomla Part 3
REAL-TIME, INTERACTIVE DOCUMENT AUTOMATION
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Your code is not just…your code
IntroductionToPHP Static vs. Dynamic websites
Business Document Platform
Database Management Systems
Topic 12 Lesson 2 – Retrieving Data with Queries
Handling Data in PL/SQL Blocks
Your code is not just…your code
Presentation transcript:

Insert Presentation Title Heremm.dd.yy, City, ST Database Functions The art of saving time and code Kevin Ford Services Consaultant Accela, Inc.

mm.dd.yy, City, STInsert Presentation Title Here The power of functions Saves time in development Saves Code Saves Redundancy Reusable Ability to do things far beyond what standard SQL would allow you. Usually fast and efficient execution

How do they work? Functions themselves are SQL queries. Called in line with queries to retrieve data while keeping the code of the query simple. Functions use parameters as criteria for the things that need to be returned Stored in the database and never have to be written again. Function on both SQL Server and Oracle

SQL without functions example. SELECT 'VALUE', ( SELECT BCB1.B1_CHECKLIST_COMMENT FROM BCHCKBOX BCB1 WHERE B.SERV_PROV_CODE = BCB1.SERV_PROV_CODE AND B.B1_PER_ID1 = BCB1.B1_PER_ID1 AND B.B1_PER_ID2 = BCB1.B1_PER_ID2 AND B.B1_PER_ID3 = BCB1.B1_PER_ID3 AND BCB1.B1_CHECKBOX_DESC = 'BOS District' ) FROM B1PERMIT B WHERE 1=1 AND B.B1_ALT_ID = 'CODX ' AND B.SERV_PROV_CODE = ‘Agency1'

SQL with Function SELECT 'VALUE', DBO.FN_GET_APP_SPEC_INFO(B.SERV_PROV_CODE, B.B1_PER_ID1, B.B1_PER_ID2, B.B1_PER_ID3, 'BOS District') District_Name FROM B1PERMIT B WHERE 1=1 AND B.B1_ALT_ID = 'CODX ' AND B.SERV_PROV_CODE = 'SACCO'

Demo and Explanation Walk through the documentation that we have on hand and show how to look at the functions so that you can learn how they work to ensure that they are used properly.

Loading Functions into the Database In the above example you can see that we have drilled down in the database to “Scalar-valued Functions” this is where the Accela Automation functions get loaded. After selecting “New Scalar-valued Function” simply copy, paste, and execute the function that you desire to load into the database.

Client Use The list of functions that have been developed and will be supported by Accela is actually quite short 27 functions in all. Do we or can we develop custom functions? –We have developed custom functions for end users so that portions of reports that had special needs could be completed. –Custom functions developed should be well documented and included with report deployment packages and instructions.

Documentation Found on sharepoint (oasis) at the following address: Accela > Services > Technical Services > Standard Reports > AA Standard Database Functions for Reporting Note: the functions haven’t needed an update since their last release because they are so versatile