![]() |
|
|
#1 (permalink) |
|
Registered User
Join Date: Dec 2005
Posts: 7
|
Access for a SQL Server Programmer
Hi Folks,
I have been using SQL Server for years in web projects (C# mostly), usually using ADO in the "thinnest" possible way since I don't really trust it very much and I like to wrap my DBs in business objects. I now find myself faced with the prospect of a project that will need me to use an Access DB on catalyst 2. I already have an ASP.NET 2.0 website up and running, but I need some help figuring out how to approach the Access side of things. 1) Designing the database. I would usually do this locally in the SQL Server tools or Visual Studio, then use the "create scripts" on the live server. What is the best way to do this with Access? Do I just design the DB in access/VS then upload the MDB File? 2) I usually manage the remote DB instance using the SQL Server Tools. It is possible to access an Access DB hosted at catalyst2 from my desktop? Or do I have to just use FTP to retrieve the file, or make the changes via my own web sites code? 3) What, if any, backups are kept at Catalyst2 of AccessDBs? Usually the SQLServer DBs I work with are backed up - do I have to take responsibility myself for backing up the AccessDB? Do I do this via FTP - just copy the file? Sorry, these may seem like silly questions but its the sort of stuff that will take ages to figure out and I'm hoping one of you guys can set me straight in about 10 seconds :-) Ian |
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: Oct 2003
Posts: 1,484
|
Note - Please do not use access for any site that is likely to have a high db hit rate. I'm saying this more for the sake of your site than I am for the sake of server stability (although the two or interlinked)
Moving on . . .
If you need any more help or an explanation of any of the above let me know
__________________
Jason Robbins jason@catalyst2.com |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Dec 2005
Posts: 7
|
Thanks for that!
I've designed the site so that most of the data is read once and held in in the ASP.NET application cache. The Access DB will just be used for logging transactions, the secure part of which are handled by a third party provider. If I get to a high transaction rate (I wish...) I'll be able to justify switching to SQL Server without any probs... 1) Great - I can get the DSN working locally so I'm sure it will be fine when I deploy 2) I've tried fiddling, but I can't figure out how to connect Access to a remote access DB 3) I've realised I already have a solution to this... Thanks. Ian |
|
|
|
|
|
#4 (permalink) |
|
Administrator
Join Date: Oct 2003
Posts: 1,484
|
I dont have access 2003 installed on my machine so can't help you with the specifics. But when you create a new database there is an option to create from/using existing data or something like
__________________
Jason Robbins jason@catalyst2.com |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|