G
Guest
I'm working with Microsoft Office 2003 Developer Extensions.
I need to upsize an mdb file to an adp project that will connect a msde
database.
The “mdb†file as some queries that the upsizing wizard converts to stored
procedures and views in the MSDE database.
Whit the mdb database I produce an mde file that I deploy to several
machines. If I made some change in the queries this changes are automatically
deployed inside the mde file.
Now, working with the adp project, the views and stored procedures are in
the development SQL server database and I need to do some extra work to
deploy them to the target MSDE's databases.
My questions are:
In general, what's the best and easiest way to accomplish this?
I’ve think about create a template.mdf that will be deployed with the
upgrade packages. However, this can be laborious because the most accurate
database is the development database in my SQL sever. So, to produce an
update package, I have to copy the views and stored procedures to the
referred template.mdf database, detach the databse from SQL Server and deploy
it inside the upgrade package. In the target machines, I have to produce code
to attach the template.mdf to the users MSDE and to copy the views and stored
procedures to the target databases where they are needed. I think this is
possible, but obviously complicated.
Another hypothesis that I pose to myself is to code in VBA everything I need
to create the views and stored procedures. This way, when I deploy an upgrade
ade project all that I need will go inside the ade project. But this way I
think that I will lost the advantages of creating views in the graphical
interface of Access or SQL Server Enterprise Manager since what really
matters is the VBA code that is the place where I have to do everything.
I try to clarify the problem. I apologise for the extent.
José António Silva
I need to upsize an mdb file to an adp project that will connect a msde
database.
The “mdb†file as some queries that the upsizing wizard converts to stored
procedures and views in the MSDE database.
Whit the mdb database I produce an mde file that I deploy to several
machines. If I made some change in the queries this changes are automatically
deployed inside the mde file.
Now, working with the adp project, the views and stored procedures are in
the development SQL server database and I need to do some extra work to
deploy them to the target MSDE's databases.
My questions are:
In general, what's the best and easiest way to accomplish this?
I’ve think about create a template.mdf that will be deployed with the
upgrade packages. However, this can be laborious because the most accurate
database is the development database in my SQL sever. So, to produce an
update package, I have to copy the views and stored procedures to the
referred template.mdf database, detach the databse from SQL Server and deploy
it inside the upgrade package. In the target machines, I have to produce code
to attach the template.mdf to the users MSDE and to copy the views and stored
procedures to the target databases where they are needed. I think this is
possible, but obviously complicated.
Another hypothesis that I pose to myself is to code in VBA everything I need
to create the views and stored procedures. This way, when I deploy an upgrade
ade project all that I need will go inside the ade project. But this way I
think that I will lost the advantages of creating views in the graphical
interface of Access or SQL Server Enterprise Manager since what really
matters is the VBA code that is the place where I have to do everything.
I try to clarify the problem. I apologise for the extent.
José António Silva