Sunteți pe pagina 1din 3

Sybase Adaptive Server Enterprise (ASE) T-SQL Programming

Duration: 7 Days
Day-1
Sybase Adaptive Server Enterprise (ASE 15) - Architectural Components
SQL in Adaptive Server
System Databases and Their Uses
Client tools & Utility ISQL, Sybase Central
Query Basics - choosing columns, eliminating duplicates, selecting rows, pattern matching
Using aggregate functions, group by clause, having clause, order by clause, compute, unions
Day-2
Joins equijoins & natural joins, self joins & co-relation names, outer joins
How joins work and how are they processed
Determining which table columns to join
Sub-Queries and Types Normal and Correlated Sub Query
Transact-SQL Datatypes, System supplied datatypes, Converting between datatypes
User-defined datatypes
Day-3
DDL - Creating tables, altering tables, dropping tables
Managing identity gaps, defining integrity constraints, using computed columns
Defaults - creating defaults, binding defaults, dropping defaults
Rules creating rules, binding rules, dropping rules
DML Adding new data, changing existing data, deleting data, deleting all rows
Day-4
Views how views work, creating views, retrieving data thru views
Modifying data thru views, dropping views, Views as a security mechanism
Batches Rules associated with batches
Using control-of-flow language constructs
Local variables & Global variables
Using Built-in functions in queries
String functions, mathematical functions, date functions, datatype conversion functions
Day-5
User-defined SQL functions
Stored Procedures How they work, creating and executing a stored procedure
Returning information from stored procedures, restrictions associated with stored procedures
Renaming stored procedures, dropping stored procedures
Using stored procedures as a security mechanism
Extended Stored Procedures Creating, registering, removing, executing ESPs
Starting XP Server manually
Cursors types of cursors, declare, open, fetch, close, deallocate cursors
Updating and deleting rows using cursors, cursors and locking
Day-6
Triggers How triggers work, creating, disabling, dropping triggers
Using triggers to maintain referential integrity, multirow considerations
Rolling back triggers, nesting triggers,
Inserted and deleted logical tables, triggers and transactions
Instead of triggers
Transactions How transactions work, transaction mode and isolation level
Using transactions in stored procedures and triggers
Using cursors in transactions
Issues to consider when using transactions
Locking commands and options
Day-7
Query tuning and optimization
Indexes Clustered and non-clustered indexes
How indexes work, index options, dropping indexes, updating statistics
How optimizer works
Viewing Query plans


Notes:
1) This is an estimated day-wise training plan.
2) All topics would be covered with demos, labs and practicals to
build confidence into participants.
3) Certain topics may take more or less time depending on
participants background and familiarity with SQL.

S-ar putea să vă placă și