PC Review


Reply
Thread Tools Rate Thread

How do I open a sql server database on my local machine in Access

 
 
=?Utf-8?B?bWxlZWJlcg==?=
Guest
Posts: n/a
 
      27th Jun 2006
I have a sql db file on my laptop. I am not running any sort of server based
app. Can I get the data out of the sql db via access?

Thanks!
 
Reply With Quote
 
 
 
 
Arvin Meyer [MVP]
Guest
Posts: n/a
 
      27th Jun 2006
If Access is also installed, you can directly link to the SQL-Server tables
using OLEDB or ODBC. It is easy to create an ODBC connection by building one
using the ODBC Data Source Administrator built into Windows:

Control Panel ... Administrative Tools ... Data Sources (ODBC)
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access

"mleeber" <(E-Mail Removed)> wrote in message
news:7994ABD8-02C1-4F74-AE7C-(E-Mail Removed)...
>I have a sql db file on my laptop. I am not running any sort of server
>based
> app. Can I get the data out of the sql db via access?
>
> Thanks!



 
Reply With Quote
 
=?Utf-8?B?bWxlZWJlcg==?=
Guest
Posts: n/a
 
      27th Jun 2006
which tab under the ODBC administrator do I add the connection in?

THanks!

"Arvin Meyer [MVP]" wrote:

> If Access is also installed, you can directly link to the SQL-Server tables
> using OLEDB or ODBC. It is easy to create an ODBC connection by building one
> using the ODBC Data Source Administrator built into Windows:
>
> Control Panel ... Administrative Tools ... Data Sources (ODBC)
> --
> Arvin Meyer, MCP, MVP
> Microsoft Access
> Free Access downloads
> http://www.datastrat.com
> http://www.mvps.org/access
>
> "mleeber" <(E-Mail Removed)> wrote in message
> news:7994ABD8-02C1-4F74-AE7C-(E-Mail Removed)...
> >I have a sql db file on my laptop. I am not running any sort of server
> >based
> > app. Can I get the data out of the sql db via access?
> >
> > Thanks!

>
>
>

 
Reply With Quote
 
Albert D.Kallal
Guest
Posts: n/a
 
      27th Jun 2006

"mleeber" <(E-Mail Removed)> wrote in message
news:FB6D92F2-9EA5-4780-9E80-(E-Mail Removed)...
> which tab under the ODBC administrator do I add the connection in?
>
> THanks!


The responder likely missed the fact that you don't have sql server
installed on your local machine. You do need to install sql server on your
machine to be able to read, and open the sql data file....

You can also install the free desktop version of sql server (there is a copy
on each office cd).

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)
http://www.members.shaw.ca/AlbertKallal


 
Reply With Quote
 
=?Utf-8?B?bWxlZWJlcg==?=
Guest
Posts: n/a
 
      28th Jun 2006
Thanks Albert! I was afraid I had to have an Instance of SQL server running
somewhere. I will check out my office CD for the desktop version.

"Albert D.Kallal" wrote:

>
> "mleeber" <(E-Mail Removed)> wrote in message
> news:FB6D92F2-9EA5-4780-9E80-(E-Mail Removed)...
> > which tab under the ODBC administrator do I add the connection in?
> >
> > THanks!

>
> The responder likely missed the fact that you don't have sql server
> installed on your local machine. You do need to install sql server on your
> machine to be able to read, and open the sql data file....
>
> You can also install the free desktop version of sql server (there is a copy
> on each office cd).
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> (E-Mail Removed)
> http://www.members.shaw.ca/AlbertKallal
>
>
>

 
Reply With Quote
 
Arvin Meyer [MVP]
Guest
Posts: n/a
 
      29th Jun 2006
"Albert D.Kallal" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "mleeber" <(E-Mail Removed)> wrote in message
> news:FB6D92F2-9EA5-4780-9E80-(E-Mail Removed)...
>> which tab under the ODBC administrator do I add the connection in?
>>
>> THanks!

>
> The responder likely missed the fact that you don't have sql server
> installed on your local machine. You do need to install sql server on your
> machine to be able to read, and open the sql data file....
>
> You can also install the free desktop version of sql server (there is a
> copy on each office cd).


You can read or write to a SQL-Server file running on a remote server (using
port 1433) with an ODBC connection with an MDB. If you have an ADP, you can
directly open and manipulate the remote file. You do not need the file on
the local machine at all.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access


 
Reply With Quote
 
Albert D.Kallal
Guest
Posts: n/a
 
      29th Jun 2006
>. You do not need the file on the local machine at all.

Unfortunately, the poster states that they don't have sql server, nor access
to the remote server where the data came from.

All they have is a local sql data file on the notebook. Ms-access can't open
that....

Without question, your suggestion to connect to the sql server is the best
choice, but that assumes they have access to the server, and from what I can
see the OP does not.

I would have to say that the person sending the data should at least export
from the sql server to excel, or ms-access BEFORE sending the file.

Receiving a raw sql server data file is not very useful...and can't be
opened by much of anything except sql server.

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)
http://www.members.shaw.ca/AlbertKallal


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
downloading OLE Object /BLOB data (.doc/.xls files) from SQL Server table to local machine through MS Access FA Microsoft Access Forms 10 29th Jun 2007 07:21 PM
Cannot Open local SQL Server Express Database collinsd@thewinesociety.com Microsoft C# .NET 3 9th Oct 2006 11:23 AM
Leave connection open with local Access database =?Utf-8?B?R2FyeQ==?= Microsoft C# .NET 2 17th Apr 2006 09:30 AM
sql local database files, need install SQL server on target machine? mtczx232@yahoo.com Microsoft ADO .NET 1 28th Dec 2005 06:57 PM
How to access a database on a server from a local machine using od =?Utf-8?B?VG9kZCBX?= Microsoft Excel Misc 0 15th Dec 2005 03:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:15 PM.