Download presentation
Presentation is loading. Please wait.
Published byNicholas Bates Modified over 8 years ago
1
© Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu Putting VBA & SQL To Work
2
New interface Listen to audio in vlabs Use windows media player Easy meter
3
© Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu What Is New In Technology?
4
© Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu Using Excel & ADO
5
In a DBMS on the network In memory DATASET fastfast Speedslowbestfast Depends on bandwidth VolumemediumSmall/mediummediumVery large Accesseasy difficultmedium Backupmediumpoorn/aexcellent SecuritypoorPoor/mediumexcellentgood In a file slowslow Your local machineServer slowslow
6
Standard parts, put together in standard ways ADO
7
ADO = ActiveX Data Object. It is a MSFT technology to manage enterprise data Use ADO.NET to run SQL queries on remote servers, collect the results, and present them to the user.
8
Remote DataBase (financial data) Remote DataBase (financial data) Client (your machine) SQL Query string Connection string SqlConnection SqlAdapter ListObject DataSet DataTable s DataRow s DB Server SqlCommand On your Spreadsheet
9
Instances are declared with dim and built with the keyword new Dim myConnection As SqlClient.SqlConnection myConnection = New SqlClient.SqlConnection
10
© Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu DEMO
11
© Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu Automating Business Intelligence at SmallBank
12
Make sure that you understand the ADO architecture diagram before coding.
14
Name, Major Learning objectives Things you like about the class Things that can be improved Attitude towards the Tournament
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.