Home > Ask the SQL Server Experts > Michael Hotek Questions & Answers > Accessing SQL Server databases on an intranet with VB.NET
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Accessing SQL Server databases on an intranet with VB.NET

Michael Hotek EXPERT RESPONSE FROM: Michael Hotek

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 22 December 2003
I'm running SQL Server 2000 Personal Edition with Windows XP Professional. I want to develop some applications with VB.NET. Is it possible to access a SQL Server database on any computer on an intranet? For instance, can I connect to the database 'bibliotheek' on the computer named bureau from the computer named lager1? I have no problems on a standalone computer. Another problem: I can't rename the server (local). Can I create another server?

>

If you have access to it, you can connect to any SQL Server in the world using VB.NET. Just like you can also connect to any Oracle, DB2, Sybase, Informix, etc. database server in the world from your desktop using VB.NET as long as you have security rights to get to it.

Local is simply an alias. When installed by default, the SQL Server will have the same name as your machine and can be referred to by that name for any external connections to it. From the machine it is installed on, it can be accessed either by the special aliases of "." or "(local)' as well as by its actual external name which is the same as your machine name.

For More Information


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
.NET Development for SQL Server
Creating Windows PowerShell scripts to manage SQL Server 2008 instances
Manipulate column names in a SQL Server table
Code to restore SQL Server databases in VB.NET
Custom VB.Net scripting in SQL Server Integration Services
Retrieve images from SQL Server and store in VB.Net
Connect to SQL Server database with Visual Basics
Top 10 SQL Server development questions
Developing CLR database objects: 10 tips, 10 minutes
CLR architecture
CLR stored procedures
.NET Development for SQL Server Research

More SQL Server Expert Responses
Applying LDF file to MDF without turning it to .BAK first?
Any way to alias a call to functions?
"Max connections reached" error
Application freezes for 30 seconds on VPN
Adding column and changing datatype
Converting varchar columns to text data type
Adding new column to table that is part of replication
Any issues with linking 7.0 and 2000 databases?
'Format' in SQL Server
Building nested tables in SQL Server?

Michael Hotek
Applying LDF file to MDF without turning it to .BAK first?
Procedure for finding last modified info?
Migrating poorly designed database to new, normalized one
Displaying decimal places in SQL Server 2000
Creating a DTS package
Extracting data without strings converted to strange characters
Money data type conversion issue using DTS
Any way to alias a call to functions?
Repairing corrupt MDF files
In-place versus side-by-side upgrade

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SQL Solutions - SQL Database Design
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts