473,386 Members | 1,830 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,386 software developers and data experts.

can ASP use access queries?

I never ever thought about this, but recently I made a query in access so I
can make a customer mailing list based on relational information and it was
so easy to make the query and join tables and assign criterea using access.
And I haven't tried or thought about this cause in my own small asp projects
I've never used a dbase with queries in it, but after seeing how easy it
was, it would save a lot of time from manually writting queries in asp.

So, what I'm asking is if I can use a query from an mdb in asp just like I
can access tables?

And also, is this comparable to a stored procedure in sql?
Jul 19 '05 #1
5 1668
In Access, the "stored procedures" are called saved queries, and I do
believe you can execute them in the same way you can execute stored
procedures.

http://www.stardeveloper.com/article...1050101&page=1
http://www.xefteri.com/articles/apr302002/default.aspx

Ray at work

"mmm, Pie" <nosoupforyou.com> wrote in message
news:uO****************@TK2MSFTNGP12.phx.gbl...
I never ever thought about this, but recently I made a query in access so I can make a customer mailing list based on relational information and it was so easy to make the query and join tables and assign criterea using access. And I haven't tried or thought about this cause in my own small asp projects I've never used a dbase with queries in it, but after seeing how easy it
was, it would save a lot of time from manually writting queries in asp.

So, what I'm asking is if I can use a query from an mdb in asp just like I
can access tables?

And also, is this comparable to a stored procedure in sql?

Jul 19 '05 #2
Thanks for the links, I just started reading the first one.

I'm pretty new at this and I don't actually know anything about Stored
Proceedures, I just heard about them and saved queries in access sound
literally like a stored proceedure

So, just to clarify, a saved query in access is essentially the same thing
as a stored proceedure in an sql dbase?
Jul 19 '05 #3
Well, stored procedures can do more of course, but that's because SQL Server
can so much more. For all intents and purposes, yes, stored procedures are
to SQL Server what saved queries are to Access databases.

Ray at work

"mmm, Pie" <nosoupforyou.com> wrote in message
news:uq*************@TK2MSFTNGP10.phx.gbl...
Thanks for the links, I just started reading the first one.

I'm pretty new at this and I don't actually know anything about Stored
Proceedures, I just heard about them and saved queries in access sound
literally like a stored proceedure

So, just to clarify, a saved query in access is essentially the same thing
as a stored proceedure in an sql dbase?

Jul 19 '05 #4
On Thu, 22 Jan 2004 13:24:33 -0800, "mmm, Pie" <nosoupforyou.com>
wrote:
Thanks for the links, I just started reading the first one.

I'm pretty new at this and I don't actually know anything about Stored
Proceedures, I just heard about them and saved queries in access sound
literally like a stored proceedure

So, just to clarify, a saved query in access is essentially the same thing
as a stored proceedure in an sql dbase?


Well, not really. :)

There are many things in SQL that you simply can't do in Access, so
there are a lot of things a stored procedure can do that a saved query
can't. In addition, a saved query doesn't result in the same
performance gains a stored procedure might, though that's usually a
non-issue if you're using Access anyway since Access won't give the
performance of SQL to start with.

There are also issues with using saved queries when multiple requests
are being handled, mostly due to Access's limited ability to work with
multiple users. Again, by the time you hit these problems you've
likely decided to upgrade to SQL for other reasons anyway.

But for most ASP use, a saved query is really similar to a stored
procedure in use.

Jeff
Jul 19 '05 #5
Thanks guys, that's really cool. I'm excited now :o)

Great links too, thanks again.
Jul 19 '05 #6

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

Similar topics

6
by: Jegger | last post by:
Hello! We have following situation; network with 100 users, aplication developed in Access, user DB deployed on SQL Server. Is it better to create query inside aplication (with code) and then...
3
by: Jon Ole Hedne | last post by:
My Access 2002-application need to work with tables from both Oracle and Access. To solve this, I want to run some querys on three views in Oracle and import the results into temporary...
1
by: John E | last post by:
I have an Access 2000 database in which there are remotely linked SQL tables and a couple of local tables. If I have queries in Access that are designed to pass data between these remote linked...
29
by: Mark B | last post by:
We have an Access app (quite big) at www.orbisoft.com/download. We have had requests by potential users to have it converted to an SQL version for them since there corporate policy excludes them...
25
by: cory | last post by:
Hi, I have an Access database and am having an ASP.NEt application written for it. It is almost complete. I have a hosting company that I signed up with a month ago but before I did anything I...
3
by: pbbriggs | last post by:
I will try to be as descriptive as possible, but this error has me stumped and I am not sure what relevant info to include.... I am running Access XP on a Windows XP machine. I initially began...
11
by: maryjones11289 | last post by:
Hi, I have an app (lost the source code) that performs many different queries in order to achieve the results I'm looking for. Re-developing the app isn't really a big issue...but what would be...
10
by: Hank | last post by:
We have just recently migrated the data from our Access 2000 backend to Postgres. All forms and reports seem to run correctly but, in many cases, very slowly. We do not want to switch over until...
5
by: jonceramic | last post by:
Hi All, I started developing in Access, and people took notice and so we're starting to migrate into our corporate's bigger Oracle system. I'll still be using my developed Access front ends,...
3
by: Bret Kuhns | last post by:
I recently started a co-op/internship at a company and they are looking to migrate a large legacy supported application from OLEDB to SQL Server. I'm doing prelim work in experimenting with the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.