473,748 Members | 2,891 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Placing Access Data On SQL

Our IT department wants to place our Access 2000 tables on an SQL
server due to the fact the tables are quite large.

With that said, can we still use the Access queries or do we have to do
everything via SQL views? I would think we could just create an ODBC
connection to the tables on the SQL server and that is the only thing
we would need to change. Is my understanding correct? Are there any
pros/cons with using the Access queries or going to SQL views? Will
Access have any issues with the datatypes that the SQL tables use?

One concern is that we need read/write permissions to the SQL tables.
Would we need SQL Enterprise Manager for any reasons? What benefit
would the SQL Enterprise Manager give us? I know I could create stored
procedures, but couldnt I just continue using modules within Access?

Thanks
B

Nov 13 '05 #1
4 1700
"BerkshireG uy" <bd*****@yahoo. com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Our IT department wants to place our Access 2000 tables on an SQL
server due to the fact the tables are quite large.

With that said, can we still use the Access queries or do we have to do
everything via SQL views? I would think we could just create an ODBC
connection to the tables on the SQL server and that is the only thing
we would need to change. Is my understanding correct? Are there any
pros/cons with using the Access queries or going to SQL views? Will
Access have any issues with the datatypes that the SQL tables use?

One concern is that we need read/write permissions to the SQL tables.
Would we need SQL Enterprise Manager for any reasons? What benefit
would the SQL Enterprise Manager give us? I know I could create stored
procedures, but couldnt I just continue using modules within Access?

Thanks
B

That is basically correct. However, you talk only of data, tables and
queries, not forms or coding. If you have written coding which worked with
a jet backend, then it may need modifying to work with sql server.
The easiest thing to do would be to create a test sql database by using the
upsizing wizard and create a front end with linked tables. You shoud
probably go through the resulting database to see what the wizard did in the
upsizing process - and modify accordingly (indexes named wierdly, datatypes
or lengths could be tweaked).
The Enterprise Manager gives you the tools to do a number of things in one
handy place. Of course, not everyone needs it, but this is how you would
manage the whole server, security and logins and make any design changes.
True you could use an Access project to make design changes, but the
Enterprise Manager lets you do a whole lot more.


Nov 13 '05 #2
BerkshireGuy wrote:
Our IT department wants to place our Access 2000 tables on an SQL
server due to the fact the tables are quite large.

With that said, can we still use the Access queries or do we have to
do everything via SQL views?
"Have to"? No. In some cases it would be more efficient to do so.
I would think we could just create an
ODBC connection to the tables on the SQL server and that is the only
thing we would need to change. Is my understanding correct?
Technically, this is correct, but as stated some queries against links might
not be very optimized for a server environment. However; if you have a
local "expert" who tells you that ALL queries need to be converted to
Pass-Throughs and Stored Procedures then they are definitely incorrect.
Access/Jet does a pretty good job of passing query workload onto the server
even when local queires against links are used. The criteria is how does a
given query perform. If it does fine as a loocal-against-a-link then I see
no reason to change it.
Are there any pros/cons with using the Access queries or going to SQL
views?
Generally if you are doing more complex joins you are better off setting up
a view on the server rather than creating joins in a local query against
links. The complexity of hte query in terms of calcualtions/expressions is
often not an issue, but complex joining is better done with a View or Stored
Proc.
Will Access have any issues with the datatypes that the SQL
tables use?
Yes. When possible I stick with Money instead of Numeric or Decimal. I
also avoid Bit and prefer to use Integers instead, but if you want to use
Bit fields make sure they do NOT allow Nulls. Many of the headaches with
imprecise DataType matching can be avoided by adding TimeStamp columns to
any tables that have such types.
One concern is that we need read/write permissions to the SQL tables.
Would we need SQL Enterprise Manager for any reasons? What benefit
would the SQL Enterprise Manager give us? I know I could create
stored procedures, but couldnt I just continue using modules within
Access?


You will want EM if you need to create or modify the structures on the
server and it is almost inevitable that you will want to do this so I would
definitely install the client tools.

It's a good idea to move logic from a code module to a Stored Proc if it
will reduce network traffic. In other words if the processing logic is
determining which rows of data will be returned then it's better to be on
the server. If the number of rows is determined by the SQL and you just
need to do some processing on them then I see little advantage to moving
that process to the server.

There was a time when the typical client PC was not nearly as capable for
processing data as the server so it made more sense to get as much
processing on the server as possible. Today that is simply not the case as
the typical desktop PC has way more processing power (for a database
application) then most people will ever need. What is key is reducing how
much goes over the wire, not where the processing is done.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #3
Rick/Justin,

Thank you both for the prompt detailed replies.

Yes, we have a lot of coding going on in the Access system. Both at
the form level and module level.

Currently our database is on a network folder with a front and back end
(both Access). Ok you can all groan now.

So I am thinking if they go to SQL, then each users should get an
Access front end. This would allow us to link to the SQL tables and
deal with security permissions based on user?

Also temp tables would be handled better because each users has their
own front end. I could eliminate the need of creating temp tables with
tbltemp_userid which is what I have been doing. I had to do this
because the users where using the same front end.

So Enterprise Manager is really not considered a client tool? I would
love to have access to it to create stored procedures, triggers,
schedule DTSs, etc, but I need to make a case to IT to give it to me.
<grin>

Can you pass commands via an Access module that instructions the SQL
server to create a temp table on their side? I would think yes. If
nothing else, I could launch a stored procedure from within Access to
create the temp table.

Sorry, its been a while since I've played in the SQL 2000 environment.
I appreicate the information.

Nov 13 '05 #4

"BerkshireG uy" <bd*****@yahoo. com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
Rick/Justin,

Thank you both for the prompt detailed replies.

Yes, we have a lot of coding going on in the Access system. Both at
the form level and module level.

Currently our database is on a network folder with a front and back end
(both Access). Ok you can all groan now.

So I am thinking if they go to SQL, then each users should get an
Access front end. This would allow us to link to the SQL tables and
deal with security permissions based on user? Without a doubt, you should give each a copy of the front end. You still
need to think about SQL Server security: firstly whether you use the SQL
Server account or a Windows account. Of course, you might not be free to
decide this yourself, but the Windows integrated security can simplify
things for a designer (you don't have to worry about passwords for your
application).
Also temp tables would be handled better because each users has their
own front end. I could eliminate the need of creating temp tables with
tbltemp_userid which is what I have been doing. I had to do this
because the users where using the same front end.
Yes, you can create local temp tables. However, your current approach might
still be suitable with a single table on your SQL Server database. I
suppose it depends what it's for.
So Enterprise Manager is really not considered a client tool? I would
love to have access to it to create stored procedures, triggers,
schedule DTSs, etc, but I need to make a case to IT to give it to me.
<grin> I don't see why they shouldn't. Assuming you have a username and password
that allows it, you could use Access (or even a vbs script written in
Notepad!) to create, edit or delete stored procedures on the server. Or
deletes half the records or perhaps all the tables - whatever. What I am
saying is that the important thing is the permissions your login has - not
the software you have installed. Just because you use EM you don't need
full admin access to the server - your login should allow you to do what you
need and no more.
Can you pass commands via an Access module that instructions the SQL
server to create a temp table on their side? I would think yes. If
nothing else, I could launch a stored procedure from within Access to
create the temp table. Of course. Provided the login has permission, code written in Access could
do anything with any of the server objects.
Sorry, its been a while since I've played in the SQL 2000 environment.
I appreicate the information.

Nov 13 '05 #5

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

Similar topics

4
4812
by: cooldv | last post by:
i learnt from *Ken Schaefer's* website that for security reasons, u should put your DB outside the website root directory. this is his webpage - http://www.adopenstatic.com/resources/guide/gettingstarted/structure.asp 1. where do i place the database outside the root directory? my directory access from my hosting company (windows 2000 server) is like this: ftp.mywebsite.com
5
21319
by: unknown | last post by:
I am trying to place a company logo on a form but try as I will I can not get the transparent parts to stay transparent. Is this even possible? If so what file format does my picture need to be in..... have found that the TIFF format seems to maintain better quality over GIF or JPG on the small type and line art. Any secrets or advise most appreciated. Thank you
4
5653
by: Serious_Practitioner | last post by:
I developed and maintain a database for a member-only organization. Among other things, the main table contains a field called fldZIP, and it's pretty obvious what's in there. The client wants to be able to print a map of a selected geographic area, say Chicago, IL or Cook County, IL, and show on that map the ZIP code areas and a number, super-imposed on the area, telling how many members live in that area. So, for example, say the island...
3
5291
by: Richard | last post by:
Hi I am trying to place an e-mail link into a cell of an Access 2002 table. Have tried setting the cell as both a hyperlink and as plain text and putting the following into the box: <a href="Mailto:UserID12345@mysite.com">SEND EMAIL</A> Neither way will give me a link in the results page of a search of this table - it just shows it as text. How do I go about this? Each recordset has a unique e-mail address. Thanks in advance
7
1739
by: Jeremy Simpson | last post by:
Can someone please help me with this? I am trying to put my jpg photos in my database. Access books seem to avoid the issue of graphics in DB tables and my searches on the internet seem to point me away from putting photos into tables (ultimately on forms). Has anyone successfully put viewable jpg's in their forms? Thanks Jeremy
25
2669
by: JeffS | last post by:
Honest, I scoured the comp.lang.c.faq for this but found nothing. :) Is there a library function for placing the cursor position in the console? Or is it something that can only be done with a platform API call? I was able to do this in Windows with a Windows.h function, but I want to also do it on Linux/Unix as well. I won't ask for a Linux API call that positions the cursor, as that is
2
2814
by: Dickyb | last post by:
Extracting an Icon and Placing It On The Desktop (C# Language) I constructed a suite of programs in C++ several years ago that handle my financial portfolio, and now I have converted them to C#. The only significant problem that I have encountered in the conversion is this one - extracting an icon from the 'KTEntryPoint' program into the software suite and placing that icon on the PC Desktop.
1
1251
by: mukeshsrivastav | last post by:
Dear all, I am using Oracle 9i, I have created my database on my system ,now I want to publish my website .and also want to provide my users to access it over net. how to tranfer my whole database to server.since oracle cann't copied form one place to another. what i have to do whether I have to design same database over server and inserting all data again . I have about 3 lakhs of data .Please provide me the solution for that....
1
1140
by: Jim Boyd | last post by:
I'm using Access 2007 under Windows XP. I'm creating a a multiline directory list for members of a club with three lines for each member. Each listing has three textboxes and within the first textbox I have code like: =Trim(lastname] &", " & ...... & ) with more fields where I show the ...... in this example. I want the Telephone data to start at a specific column so that all Telephone data lines up. What do I add to insure this?
0
8987
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9534
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9366
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9241
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8239
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4597
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.