Re: Access2k upsizing to SQL2k Automation
- From: Steve <Steve@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 10:14:00 -0800
Yep, no primary keys. Once I manually set the primary keys on two of the
columns just like the MDB it behaved correctly.
At this time it looks like I will have to manually alter the TABLE CREATE
statements of the DTS/Import to include primary key on selected columns. I'm
surprised it doesn't do this automatically or have an option like when
importing from another sql server. Or did I miss something? In any case, this
is very good progress for me and I appreciate all your help.
"Douglas J. Steele" wrote:
Do the tables in SQL Server have primary keys defined (or at least unique.
indexes)? That's mandatory in order for the tables to updatable.
You might try reposting to microsoft.public.access.sqlupsizing, although I'm
not sure you can get to it through Microsoft's web interface (you might have
to go to http://groups.google.com instead)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Steve" <Steve@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EB66ABC3-008E-4FEB-938E-A9350FE9946A@xxxxxxxxxxxxxxxx
Okay, I used DTS/Import on an MDB. The ASP/WEB side seems to operate
correctly against the SQL database. But, on the application side, I can't
update the SQL database. It reports that the database is readonly. The
ODBC
dsn hasn't changed and I verified it's connection to the SQL database.
I've
checked permissions and they are the same as when I use Access Upsizing
Wizard. The only difference looks like all columns are marked 'null' where
Upsize Wizard only marks some of the columns 'null'.
Is this a common problem when using DTS on MDB's? Is there a comprehensive
way for me to compare a DTS/Imported database to an Access Upsized one?
Thanks,
"Douglas J. Steele" wrote:
While it's doubtlessly possible to automate, given that you'd still have
to
test each conversion to make sure that it worked properly, the actual
time
spent on the conversion is relatively small. I also question why you
would
have 962 databases with "all the same schema with different data". You
might
want to reconsider your design.
If you are simply trying to get data from Jet databases into SQL Server,
why not look into SQL Server's DTS (Data Transformation Services)?
(And no, this isn't your "first post and all that": you posted exactly
the
same thing in microsoft.public.access.replication yesterday)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Steve" <Steve@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CF6B28DD-6260-47FA-AD44-291F82E29AD9@xxxxxxxxxxxxxxxx
The problem: I have already upsized 162 mdb's and have about 800 to go.
The
mdb's are all the same schema with different data. Upsize Wizard always
completes without errors. Is there a way to automate the Upsize where I
only
have to supply the initial parameters from a script or vba code? I
would
like
to supply the names of the mdb's from a list and have the upsize run on
each
mdb without interaction from me.
I've been looking in circles at WSH, VBA, ACWZTOOL.MDE, etc., and
haven't found anything definitive. A pointer in the right direction
would
be
greatly appreciated. Oh, and if there is a more appropriate newsgroup,
I'll
be glad to ask there (if I knew what it was; first post and all that).
Thanks,
- References:
- Re: Access2k upsizing to SQL2k Automation
- From: Douglas J. Steele
- Re: Access2k upsizing to SQL2k Automation
- From: Steve
- Re: Access2k upsizing to SQL2k Automation
- From: Douglas J. Steele
- Re: Access2k upsizing to SQL2k Automation
- Prev by Date: Re: Error 3045 on an MDE file - HELP
- Next by Date: Re: Error 3045 on an MDE file - HELP
- Previous by thread: Re: Access2k upsizing to SQL2k Automation
- Next by thread: Error 3045 on an MDE file - HELP
- Index(es):
Relevant Pages
|