Download Connecting

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Extensible Storage Engine wikipedia , lookup

Oracle Database wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Btrieve wikipedia , lookup

Database model wikipedia , lookup

Microsoft Access wikipedia , lookup

Relational model wikipedia , lookup

Team Foundation Server wikipedia , lookup

Clusterpoint wikipedia , lookup

SQL wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

PL/SQL wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Transcript
Connecting via ODBC
Peter Troon
Brian Samson
1
Overview
– ODBC and Middleware
– Our school’s helpdesk database
– The client, which is used to access the
SQL server
– How to connect to the SQL server
– Conclusion
– Questions
2
Assignment 7.5
The assignment:
Establish an ODBC connection, which
can be used for requests between a
client application and the DBMS used at
our institute.
3
ODBC General
Microsoft Open Database Connectivity (ODBC)
ODBC is an open, vendor-neutral and powerful interface that
allows applications to seamlessly access over 50 different
database systems through a common set of functions. With this
powerful technology, developers need not learn multiple
programming interfaces since they can use the universal set of
interfaces provided by ODBC.
Standards supported in Microsoft ODBC: ANSI SQL, ISO 9075,
X/Open SQL CLI
4
ODBC Scheme
Client
Program calls an ODBC
function.
Program
ODBC Manager
determines what to do.
ODBC Manager
ODBC Driver prepares
the request and passes
it on to the DBMS.
ODBC Driver
The DBMS processes
the request.
DBMS
Server
Database
File
Server
5
The HVA database
– Database with data of users
– Helpdesk application
– Microsoft SQL Server running on a
Windows NT computer
– The client is running on a Windows 95
machine
– The client makes a connection to the
SQL server using ODBC
– Used Client is Support Magic by Magic
Solutions
6
Support Magic
–
–
–
–
–
–
–
Comprehensive Help Desk Functionality
Powerful Web User Interface
Advanced Knowledge Management
Customization
Multiple Group Support
User-friendly Database Administration
End-user Self-service
7
Microsoft SQL Server
8
Connect to the database
9
Conclusion
– Connection is made by using “Support
Magic Helpdesk”
– The client establishes an ODBC
connection
– In principle it would be possible to use
another application, which also supports
ODBC or even write your own client to
access the SQL server.
10
Questions
– What kind of Middleware is ODBC?
– What kind of Helpdesk application
is used by the school?
– What happens if a thread gets
corrupt?
11
Resources
– Microsoft SQL Server 6.5 Second Edition Solomon, Rankins,
et al., ISBN 0-672-30956-4
– http://ourworld.compuserve.com/homepages/VBrant/
– http://www.microsoft.com/data/odbc/prodinfo.htm
– http://www.magichelpdesk.com/
– Our homepage:
http://www.troon.org/middleware/
12