Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 Databases by Thearon Willis; ISBN: 9780764588945
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 12th, 2007, 03:00 PM
Registered User
Join Date: Feb 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Don't know how to execute sql script to create DB

Presumably, the "ProjectTimeTracker SQL Server Script.sql" (part of the downloadable zip file for this book) can be used to create the physical Project Time Tracker database.

How does one invoke this script?

Thanks in advance!


Reply With Quote
  #2 (permalink)  
Old May 29th, 2007, 12:09 PM
Registered User
Join Date: Jun 2003
Location: Lexington , KY, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

There are two ways to do this. You DO need to have the Microsoft SQL Server Management Studio software installed. If you don't, you can go back to your SQL Server install and add it.

Open the Mgt Studio. Go to the Databases node on the tree and double click. You should see existing databases on the right pane. Right-click the database node and select "New Database". Give it the name ProjectTimeTracker and save it.

Now, double-click the ProjectTimeTracker database icon on the explorer tree. This makes it the active database.

Now, you can run the script in one of the two ways described here: 1)Navigate from the File/Open/File menu to the script in the Wrox download file directory structure on your list. It will open in the right pane. At this point, just click the !Execute button on the tool bar. Or 2) Open the script that you downloaded from Wrox in a text editor. Copy the contents to your clipboard. In the SQL Management Studio, with the ProjectTimeTracker database having been double-clicked, click the "New Query" button on the tool bar. Past the contents of your clipboard into the empty right pane and click the !Execute button.

After executing the script, you need to right-click the ProjectTimeTracker database and select "Refresh" before you will be able to see your tables and columns.

Hope that helps. I just had to figure it out myself, too.



<><><><><><>&l t;><><><><><>< ><><><><><><&g t;<>
Source Imaging, LLC.
Paul Engel, President
Certified Document Imaging Architech (CDIA)
Summation Certified Trainer (SCT)
inData Certified Trainer
Voice: 859-255-5222
Fax: 859-514-1705
<><><><><><>&l t;><><><><><>< ><><><><><><&g t;<>
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL script to create a unique ID for records chubnut SQL Server 2000 1 October 16th, 2006 07:25 AM
accessing MS SQL DB from Classic ASP script crmpicco SQL Server ASP 2 June 1st, 2006 03:43 PM
how to create XML from SQL DB with XSD. sasidhar79 XML 0 July 22nd, 2005 05:55 PM
create script in sql server 2000 minhpx SQL Server 2000 1 February 21st, 2005 12:56 AM
Create drop down list from SQL DB lshamba Classic ASP Databases 2 August 26th, 2004 10:49 PM

All times are GMT -4. The time now is 01:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.