Presentation is loading. Please wait.

Presentation is loading. Please wait.

SQL Server Microsoft SQL Server 6.5 (startup menu) We’ll use two facilities –Enterprise Manager: to build your db –ISQL_w: to run queries Use this for.

Similar presentations


Presentation on theme: "SQL Server Microsoft SQL Server 6.5 (startup menu) We’ll use two facilities –Enterprise Manager: to build your db –ISQL_w: to run queries Use this for."— Presentation transcript:

1 SQL Server Microsoft SQL Server 6.5 (startup menu) We’ll use two facilities –Enterprise Manager: to build your db –ISQL_w: to run queries Use this for the next homework

2 Enterprise Manager I’ll meet with your group to setup the DB You’ll define tables –keys –foreign keys That’s all you’re concerned about

3

4

5 ISQL_w Select trusted connection option & Connect Select a database to query –cse444sql for your next homework. This is a movie database. Type in your SQL Check/Print results Many tuples in cse444sql –Rather than print out result, write # tuples returned for homework

6

7 Connecting to your DB Info at http://iinetsrv.cs.washington.edu Once you implement your database, mail support@cs with: –full names and mail aliases of the members of your group –group name So your db can exchange info with your web pages via ODBC

8 In the Visual Interdev Project... More info at the iinetsrv site Support worked very hard... Create a new project using the Web project wizard Use iinetsrv.cs.washington.edu as the server

9 Space will automatically be allocated for you on iinetsrv using this method. Otherwise, must allocate space through support.

10 Visual Interdev... Chose to create a new web Add data connection to your project –Select your database (after support sets it up) –You can view the tables in your interdev proj Can add and modify web pages like files Add data commands to the pages Lots of help files under: Web Applications, Web Projects

11

12 Inserting Data in your DB Use the table view in Interdev Use the INSERT statement in ISQL_w INSERT INTO student(name, sn, year) VALUES (‘jim’, 9434876, 4) Use the INSERT statement in your code –Your code will send SQL queries to the DB


Download ppt "SQL Server Microsoft SQL Server 6.5 (startup menu) We’ll use two facilities –Enterprise Manager: to build your db –ISQL_w: to run queries Use this for."

Similar presentations


Ads by Google