473,394 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Using Pubs SQL Database

I'm trying to work through the tutorial that came with
VS.net. It talks about using the "pubs" database. I
downloaded MSDE 2000 and installed it but I'm not sure
what to do next. Do I need to start the database engine?
Do I need to create an ODBC data source? I did find and
run the "instpubs.sql" file which seemed to work but I
still cant find a database file.
Nov 22 '05 #1
1 2109
try creating a new connection - sqlconnection("server=localhost;
username=sa;database=pubs")

and executing a query against it

You will find that you have no user interface for the desktop engine. You
can try querying the INFORMATION_SCHEMA.TABLES view to get a list of
available table if required
(ie "select * from INFORMATION_SCHEMA.TABLES")
Cheers

Jody

"anon" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
I'm trying to work through the tutorial that came with
VS.net. It talks about using the "pubs" database. I
downloaded MSDE 2000 and installed it but I'm not sure
what to do next. Do I need to start the database engine?
Do I need to create an ODBC data source? I did find and
run the "instpubs.sql" file which seemed to work but I
still cant find a database file.

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: alan | last post by:
What query do I use to list the primary key for each user table, i.e. TABLE | PRIMARY_KEY | Regards, Alan *** Sent via Developersdex http://www.developersdex.com ***
0
by: Nashat Wanly | last post by:
HOW TO: Call a Parameterized Stored Procedure by Using ADO.NET and Visual C# .NET View products that this article applies to. This article was previously published under Q310070 For a Microsoft...
1
by: anon | last post by:
I'm trying to work through the tutorial that came with VS.net. It talks about using the "pubs" database. I downloaded MSDE 2000 and installed it but I'm not sure what to do next. Do I need to...
3
by: Jeremy Ames | last post by:
I am trying to use a datagrid to pull information from a database. I prefer to use latebinding to this. Well, I finally got my information to populate the datagrid, but the information came out in...
3
by: Khurram | last post by:
Hi, I am trying to use Crystal Reports with ASP.NET. I created a dataset and tried to display it in the report but nothing came up. I did not get an exception either. I know that the dataset is...
1
by: And | last post by:
I everyone! I'm a new asp.net user and I'm trying to run some sample files from de msdn database and most of them use the pubs database. My problem is that although I see the pubs database in...
2
by: Manish Naik | last post by:
Hi, Using ASP.Net, I want to store and retrive documents (Word, excel, etc) from SQL Server 2000 database. I have tried image type data field, but could not succed. Can any one help me please. ...
2
by: Nu2ASP.NET | last post by:
What I am trying to do is essentially 'flip' the bits, when the user clicks in the checkbox. For example, if the CheckBox appears checked, and the user un-checks it, I want the underlying data...
1
by: RobOfTage | last post by:
Hi, I've recently downloaded MSDE and have tried to create a small app to test the connection. It fails at the Connections Open() method with an error indicating an invalid server version. I'm...
2
by: thisis | last post by:
Hi All, I need the PUBS.mdb for pulling images: PUBS.mdb must have the table: pub_info tbl_pub_info : has 3 fields Data_Type : ok Data_Type : ok
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.