G
gcbgctb10
A variation of the normal route
Working in SQL 2000 there is an import wizard that will
take a MS Access database and upgrade this to SQL 2000,
This is the normal upgrade path that Microsoft adopt.
The issue I have is that I have a SQL 2000 database but
want to downgrade (sic) this to MS Access, but can not
see what is the best way to do it.
1. I dont want the data in the current database (50GB
in size exc transaction log!)
2. I have the scripts that created the database
I need a way to run the scripts to create the objects in
an Access database, the DTS from SQL to MSAccess will
create the tables but misses out the contraints and
triggers, it also wants to copy the data.
I started to look at a VBA module that reads the script
files to create the tables and view ( views = Queries) etc.
builds a sqlstring and then use a docmd.runSQL sqlstring
but there must be another way!
I but am having an issue with triggers and constraints.
Points
1. I can take the view that right now I don't care
at this time about the data in the tables, what I want is
a blank database with the schema in place
2. I am looking at the tables, indexes, constraints,
triggers etc.
3. Views will become MSAccess queries
4. Stored procedures will become VBA code and I
think I have an approach to this, well for 3000 of them
anyway as they are in a set format the others I will have
to look at one at a time.
As to the data I can link to the database once it is in
place and copy the meta tables I am interested in, the
Client GUI can do the rest.
Volume of effort
From the database I am using as a sample
select type , count(*) from sysobjects group by type
gives type
TR 95
U 768
S 19
K 24
D 90
V 102
P 3244
I am open to ideas
Many thanks
Tony
Working in SQL 2000 there is an import wizard that will
take a MS Access database and upgrade this to SQL 2000,
This is the normal upgrade path that Microsoft adopt.
The issue I have is that I have a SQL 2000 database but
want to downgrade (sic) this to MS Access, but can not
see what is the best way to do it.
1. I dont want the data in the current database (50GB
in size exc transaction log!)
2. I have the scripts that created the database
I need a way to run the scripts to create the objects in
an Access database, the DTS from SQL to MSAccess will
create the tables but misses out the contraints and
triggers, it also wants to copy the data.
I started to look at a VBA module that reads the script
files to create the tables and view ( views = Queries) etc.
builds a sqlstring and then use a docmd.runSQL sqlstring
but there must be another way!
I but am having an issue with triggers and constraints.
Points
1. I can take the view that right now I don't care
at this time about the data in the tables, what I want is
a blank database with the schema in place
2. I am looking at the tables, indexes, constraints,
triggers etc.
3. Views will become MSAccess queries
4. Stored procedures will become VBA code and I
think I have an approach to this, well for 3000 of them
anyway as they are in a set format the others I will have
to look at one at a time.
As to the data I can link to the database once it is in
place and copy the meta tables I am interested in, the
Client GUI can do the rest.
Volume of effort
From the database I am using as a sample
select type , count(*) from sysobjects group by type
gives type
TR 95
U 768
S 19
K 24
D 90
V 102
P 3244
I am open to ideas
Many thanks
Tony