E
Eniac
Hello,
I'm working on a project using a MS Access 2002 database. I have to
build an ASP.net site and a vb.net web service to act as the database
tier to access the database.
On my ASP.net page, I do basic database operations, nothing fancy :
login, product search based on keyword/type/category with some paging
on the results (and if possible sorting...).
So far, everything is working nicely except that I just know that
Access aint the perfect database for the backend of a website (using
SQL Server or Oracle is what im more used to)
To fetch my data, I'm using MS Access 2002 Queries, the closest thing
to stored procedures as i understand.
But now I'm asking myself three questions that I believe people more
experienced with MS Acess would be able to answer.
1. Using parametrized queries in MS Access works in the WHERE clause
but does not seems to work for the ORDER BY clause. Is that a
limitations, feature or just something im not doing right ?
2. Do queries called from ADO.net really speed up the call compared to
a dynamic SQL string I'd build in the web service ? That would solve my
sorting problem but I dont want to kill the performance.
3. On my datagrid, I'm using basic paging, that is, fetch all the data
then go to appropriate page. As you probably know, thats much slower
than custom paging which retrieves only the required record for the
current page. Is there *any* way I can implement custom paging in the
MS Access queries ? or even with dynamic SQL ?
I've been thinking about caching the whole recordset to speed up things
when using the pager except that the client insist on the fact that the
data must be accurate at all times, meaning I have to go the database
everytime (to make sure product X is still in stock - in case another
client orders it)
Any thoughts ?
Thank you.
I'm working on a project using a MS Access 2002 database. I have to
build an ASP.net site and a vb.net web service to act as the database
tier to access the database.
On my ASP.net page, I do basic database operations, nothing fancy :
login, product search based on keyword/type/category with some paging
on the results (and if possible sorting...).
So far, everything is working nicely except that I just know that
Access aint the perfect database for the backend of a website (using
SQL Server or Oracle is what im more used to)
To fetch my data, I'm using MS Access 2002 Queries, the closest thing
to stored procedures as i understand.
But now I'm asking myself three questions that I believe people more
experienced with MS Acess would be able to answer.
1. Using parametrized queries in MS Access works in the WHERE clause
but does not seems to work for the ORDER BY clause. Is that a
limitations, feature or just something im not doing right ?
2. Do queries called from ADO.net really speed up the call compared to
a dynamic SQL string I'd build in the web service ? That would solve my
sorting problem but I dont want to kill the performance.
3. On my datagrid, I'm using basic paging, that is, fetch all the data
then go to appropriate page. As you probably know, thats much slower
than custom paging which retrieves only the required record for the
current page. Is there *any* way I can implement custom paging in the
MS Access queries ? or even with dynamic SQL ?
I've been thinking about caching the whole recordset to speed up things
when using the pager except that the client insist on the fact that the
data must be accurate at all times, meaning I have to go the database
everytime (to make sure product X is still in stock - in case another
client orders it)
Any thoughts ?
Thank you.