View Review Details


Book:   Learning SQL
Subject:   Using the example
Date:   2008-11-14 08:09:39
From:   johns2947
Rating:  StarStarStarStarStar

The example does work (in Windows) if you follow the directions in the book.


The book tells you to login to mysql and then to create a database named 'bank'.


mysql> create database bank;


Then run the command


mysql> use bank;


Now you can run the source command for the example that you downloaded.


For example, I downloaded the example into my e: drive, so the source command reads:


mysql> source e:learningsqlexample.sql;


Notes: Windows XP does not require the "/" or "\" for the root directory (such as C: or E:), but will need the "\" if you go to a subdirectory.


What a pain learning this stuff from a book is! Reminds me of the frustration of teaching myself DOS 3.1 !


See larger cover

Full Threads Oldest First