Move Access database to SQL Server
We have a database that was built and managed in Access. The database has grown too large for Access and I have been asked to move it on to our Windows Server 2012 box that runs SQL Server 2012. What is the best way to make the conversion?
This topic first appeared in the Spiceworks Community
see
http://support.microsoft.com/kb/237980/en-us
http://technet.microsoft.com/en-us/library/hh313039.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Similar Messages
-
Linked Server to Access Database in SQL Server 2012 is working perfectly.But, All of sudden it is showing SQL Error Code:7303
Unable to connect to the database type that is created with earlier versions type. But the same Linked Server in another SQL Server instance is working perfectly. I am unable to rectify what is the problem please help.All of sudden it is showing SQL Error Code:7303
Error 7303 = "Cannot initialize the data source object of OLE DB provider "%ls" for linked server "%ls"."?
Check the data Provider on the machine, e.g. using ODBC Admin by creating a DSN
Olaf Helper
Hi Olaf Helper,
I don't now how to add a DSN for the Access Database using ODBC Admin. Can you Please help me with that one. as the solution to above problem i Have added a startup parameter -g512 to SQL Server is it effects my existing Assemblies in SQL Server. I am replacing
the startup parameter as -g500 to -g512 here.
Thank you
Regards,
AyubKhan M -
How to access database in Sql Server 7.0 using Java
I am trying to access a database in SQL Server 7.0 using JDBC.But it is giving me errors.I have used following statements to connect the database
private String URL = "jdbc:odbc:DatabaseName";
private String userName="user";
private String passWord="password";
Class.forName( "sun.jdbc.odbc.SQLServerDriver" );
connection = DriverManager.getConnection( URL,userName,"passWord" );
where "username" and "password" are user Name and password respectively to access the database in SQL Server 7.0.I am sorry but I have written like;
private String URL = "jdbc:odbc:DatabaseName";
private String userName="user";
private String passWord="password";
Class.forName( "sun.jdbc.odbc.jdbcOdbcDriver" );
connection = DriverManager.getConnection( URL,userName,"passWord" );
where "username" and "password" are user Name and password respectively to access the database in SQL Server 7.0. And I have used the same name in "ODBC data source" as that of the database.I am trying some examples from book and these examples just work fine with MS Access( I created those databases in Access and tried the examples) but not with SQL Server 7.0. Do I need a separate driver or something? -
Issues in Importing Access Database into SQL Server 2014 Express
I have been trying to import the Northwind.accdb database into SQL Server 2014 Express using the SQL Server Import and Export Wizard. Every time I try, I end up with the following messages. I have reviewed previous replies given to similar queries but
I am not getting anywhere. Appreciate if anyone can help. Thanks.
Error 0xc0202009: Source - Customers [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
(SQL Server Import and Export Wizard)
Error 0xc02020e8: Source - Customers [1]: Opening a rowset for "`Customers`" failed. Check that the object exists in the database.
(SQL Server Import and Export Wizard)
Exception from HRESULT: 0xC02020E8 (Microsoft.SqlServer.DTSPipelineWrap)Tried that. It doesn't support SQL Server 2014. Tried using SQL Server 2012. Ended with following error:
First I got this message:
You are connecting to SQL Server version that is different the version specified in the SSMA project. This may lead to schema not converted correctly and synchronisation issues. Do you want to continue?
I replied with 'Yes' and that ended with the following error.
Connection to SQL Server established successfully.
Connection string: Server=VPCL12S1E\SQLEXPRESS2014;Trusted_Connection=TRUE;Encrypt=FALSE;TrustServerCertificate=FALSE;Application Name=SSMA for Access;Pooling=False;
Error collecting data. See the inner exception for details. -
Access vs. SQL Server for online database
I have a client who insisted on using Access for his online
database because he wanted to be able to download it quickly and
easily to be able to manipulate data on his end. However, after
importing about 20 thousand records into his existing database,
he's not happy with the speed at which it's now processing searches
- the search criteria and underlying queries are very complicated
to begin with. We had the SQL Server discussion previously, but he
wanted to keep it in Access. So, my question is...how much faster
can SQL Server process data over Microsoft Access? Will the results
be significant enough to justify converting the database to SQL
Server? Would his data process faster if he was on a dedicated
server instead of a shared server? Thanks!If you can get away with using 3 digit zip code areas for
some of your partners, that might cut down on the total number of
records in your database. Also, in addition to indexing, indexing,
indexing, be aware that the "distinct" keyword is a pretty big
resource hog as well. Might be best to stay away from that one.
Not sure if I remember if Access supports stored procedures
or not, but any queries that you can precompile on the database
side will speed things up a bit.
Of course, you could just explain to him that downloading a
20,000 record access file, waiting for it to finish, editing it,
uploading it back to the server, and waiting for it to finish is
not exactly a very effective work flow. You could switch everything
over to MS SQL and then just give him a bound data grid into the
data in CF if he really wants to manipulate the records like that.
But then again, I know how these things go. My
condolences. -
I am investigating the impact of upgrading from SQL Server 2008 R2 to SQL Server 2012. To reduce the impact of the upgrade, I am planning to restore / create our application database onto SQL Server 2012 with compatibility level 100 (SQL Server 2008 and
SQL Server 2008 R2).
Are there any differences in feature support for database running in native mode on SQL Server 2008 R2 vs a database installed on SQL Server 2012 with compatibility level 100 set?Are there any differences in feature support for database running in native mode on SQL Server 2008 R2 vs a database installed on SQL Server 2012 with compatibility level 100 set?
Yes there can be difference and impact there are few features deprecated in SQL Server 2012 you must be aware about that. Please see
Deprecated Database Features in SQL Server 2012
Deprecated SQL Server features in SQL Server 2012
After you migrate database to 2012 please don't move ahead with production unless you have tested your application to new created database
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Move large database to other server using RMAN in less downtime
Hi,
We have large database around 20TB. We want to migrate (move) the database from one server to other server. We do not want to use standby option.
1) How can we move database using RMAN in less downtime
2) Other than RMAN is there any option is available to move the database to new server
For option 1 (restore using RMAN),
Whether below options are valid?
If this option is valid, how to implement this?
1) How can we move database using RMAN in less downtime
a) Take the full backup from source (source db is up)
b) Restore the full backup in target (source db is up)
c) Take the incremental backup from source (source db is up)
d) Restore incremental backup in target (source db is up)
e) Do steps c and d, before taking downtime (source db is up)
f) Shutdown and mount the source db, and take the incremental backup (source db is down)
g) Restore last incremental backup and start the target database (target is up and application is accessing this new db
database version: 10.2.0.4
OS: SUN solaris 10
Edited by: Rajak on Jan 18, 2012 4:56 AMSimple:
I do this all the time to relocate file system files... But the principle is the same. You can do this in iterations so you do not need to do it all at once:
Starting 8AM move less-used files and more active files in the afternoon using the following backup method.
SCRIPT-1
RMAN> BACKUP AS COPY
DATAFILE 4 ####"/some/orcl/datafile/usersdbf"
FORMAT "+USERDATA";
Do as many files as you think you can handle during your downtime window.
During your downtime window: stop all applications so there is no contention in the database
SCRIPT-2
ALTER DATABASE DATAFILE 4 offline;
SWITCH DATAFILE 4 TO COPY;
RECOVER DATAFILE 4;
ALTER DATABASE DATAFILE 4 online;
I then execute the delete of the original file at somepoint later - after we make sure everything has recovered and successfully brought back online.
SCRIPT-3
DELETE DATAFILECOPY "/some/orcl/datafile/usersdbf"
For datafiles/tablespaces that are really busy, I typically copy them later in the afternoon as there are fewer archivelogs that it has to go through in order to make them consistent. The ones in the morning have more to go through, but less likelihood of there being anything to do.
Using this method, we have moved upwards 600G at a time and the actual downtime to do the switchover is < 2hrs. YMMV. As I said, this can be done is stages to minimize overall downtime.
If you need some documentation support see:
http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_rman.htm#CHDBDJJG
And before you do ANYTHING... TEST TEST TEST TEST TEST. Create a dummy tablespace on QFS and use this procedure to move it to ASM to ensure you understand how it works.
Good luck! (hint: scripts to generate these scripts can be your friend.) -
How to attached a sql server 2008 database on sql server 2005
Hi,
I have a backup of database designed over sql server 2008. I need to attacched this on a machine where sql server 2005 is installed and I am getting the message while attaching the database.
"The database can not be opened because it is version 661.
the server supports version 611 and earlier"You need to install/have another instance of SQL Server 2008, restore over there the database and perhaps create a SSIS package to move objects and data into SQL Server 2005
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
How to connect external database(Ex:SQL Server/Tivoli) from ABAP Webdynpro
Hi,
Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
Please point to me some links if you have
Thanks
PraveenHi,
Please check out this link -
FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
Regards,
Lekha. -
I was told that SAP on SQL Server maintains a very unique security where someone can not just directly access tables in SQL Server. I was told you need the SAP client in order to access the data stored within the DB. With other systems, normally users such as a DBA or privileged users would be able to directly log into the database and possibly alter data, whereas this is not the case for SAP on SQL. Can someone help confirm if this is true or not and explain to me how this works.
Hi Julia:
You can access data stored in SQL tables using Enterprise Manager or SQL Query Analyzer and you can do in every other database system such as DB2, Informix or Oracle; there are some well-known Cluster tables that information can only be read from inside SAP.
Regards,
Federico -
Can i open an SQL express 2005 database in SQL server express 2012?
Hi,
i have a database and it's in SQL express 2005 but because my windows 8 is not compatible with the installer, i have to install the latest 2012 installer. my problem now is that i cannot open it in the 2012 edition..what do i have to do?Hi white_roses,
Could you let us know how do you restore the database to SQL Server 2012 Express edition? Please help to collect the detail error information of this issue, it will benefit for us to do further investigation.
As Sandesh and ED suggested above, we can directly detach our databases from SQL Server 2005 and then attach them to SQL Server 2012. For detail steps, please refer to the following article:
http://msdn.microsoft.com/en-us/library/ms187858.aspx
After we move a database from the instance of SQL Server on server A to the instance of SQL Server on server B, users may be unable to log in to the database on server B. If need the logins information on Server B, please refer to the following article:
http://support.microsoft.com/kb/918992
If you have any question, please feel free to let me know.
Thanks,
Jerry Li -
How to attach database in sql server 2005 restricted mode
hi i have a database i want once i have attach database in sql server 2005, anyone cannot do detach, script and delete my database except myself. I mean i want to secure my database to avoid unauthorized persons access
how it is possible in sql server 2005 express management studioThere are restrictions for normal Logins but a administrator in SQL server can always detach,script and delete your database.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Migrating OBIEE Repfrom Oracle database to SQL server database in Solaris.
Hi,
I need inputs in how we would migrate our connections in Repository from Oracle database to SQL server database in Sloaris server.
Is there a complication here.
Regards,
BhavikWell that makes more sense, you probably have phrased your question better. Microsoft SQL Server Connectivity Components are not supported in any other operating system than Windows. So you will not be able to use the SQL Server native drivers to connect to your SQL Server. ODBC it's an option but there aren't many ODBC drivers for Unix systems. Luckily for you OBIEE includes the DataDirect ODBC drivers and supports using them to connect to a SQL Server. Check [the documentation|http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/general_101331.htm#sthref9] on how to use them. Having said that I would say that whoever is pushing to move your DWH to SQL Server should consider also moving OBIEE to a Windows server to be able to use the SQL Server native drivers to connect to SQL Server.
PS: No needs to post 3 times. :-) -
Moving databases from SQL Server 2012 to SQL Server 2014
Hi
I need to move all my SP 2013 databases from a SQL Server 2012 to a SQL Server 2014. I have read these articles:
http://technet.microsoft.com/en-us/library/cc512725(v=office.15).aspx
http://sharepointpromag.com/sharepoint-administration/simple-guide-moving-sharepoint-content-databases-new-server
The TechNet article says:
The new database server must run either the same version of Windows Server and SQL Server as the existing database server or one of the following versions:
SQL Server 2008
SQL Server 2012
SQL Server 2014
And the article in SharePoint Pro Magazine says:
Obviously you’ll need your target SQL server (or instance) installed and configured. It should use the same version and patch level of SQL Server as the source SQL server
So I'm a bit confused. Which article is right?
Thanks
Jakobit is fully supported and a simple process to move to a new sql server (anything 2008+ works). just don't go back in versions. you can go 2008-2012, 2008-2014, 20120-2014, just not 2012-2008, etc.
just be sure not to detach/attach the databases in sql, do a sql database backup, then a sql database restore on the new server and point sharepoint (hopefully using aliases, as it makes this all much smoother) to point to the new server.
Also, be sure to put SP1 and the April 2014 CU or newer on the farm BEFORE moving the databases. 2014 is "supported before the April CU, but there are several compatibility issues prior to april CU. one example is that user profile sync doesn't
work properly with sql 2014 if sharepoint is not at least april 2014 CU.
hope that all is clear and helps you out, let me know if there are more questions.
Christopher Webb | Microsoft Certified Master: SharePoint 2010 | Microsoft Certified Solutions Master: SharePoint Charter | Microsoft Certified Trainer| http://tealsk12.org Volunteer Teacher | http://christophermichaelwebb.com -
Routing and remote access logging to SQL server
Hi!
I am in the process of trying to set up SQL logging from routing and remote access on a windows server 2003 to another windows server 2003 which is running microsoft SQL server 2005.
What i did was i created a database named RRAS in the sql server and in routing and remote access i went under remote access logging and configured it, when i press "test connection" it says its successful. and when i check the local logfile i successfully
configured i can see my connection attempts towards the RRAS. but in the sql database there's nothing, no tables or anything.
I am sure i have the right permissions going on since i have only been using one account for everything so far(created the rras and the sql database), the SQL server is operational(it has a myriad of other databases that are used on a dailybasis).
So i am wondering what component is missing? do i need to create the tables manually, is there a guide that tells me how to do that?
Hi Plindgren,
Thanks for posting here.
May in know which fields we’ve created for this table ?
Please take look the link below and recheck the database settings:
Key concepts for IAS SQL Server logging
http://technet.microsoft.com/en-us/library/cc778830(WS.10).aspx
For more information please also refer to the link below:
Deploying SQL Server Logging with Windows Server 2003 Internet Authentication Service (IAS)
http://technet.microsoft.com/en-us/library/cc776712(WS.10).aspx
Thanks.
Tiger Li
Tiger Li
TechNet Community Support
Maybe you are looking for
-
Function and attribute tabs not visible in ppoma_crm
Hello Experts, Function and Attribute tab at the sales organization level is not visible in PPOMA_CRM transaction code for one of the user. Is it due to some authorization issue ? or anything else ? Before taking a system trace for that specific user
-
Display of leading zeroes when downloaded from ALV to excel
Hi All, I have a problem in ALV grid display. There is a specific field which has value starting from '001' to '999'. This is a char(3) type of variable. The problem is that the display shows the value as '001' which is correct. but when the same fil
-
O/S - Sun Solaris ver - Oracle 8.1.7 I am trying to improve the response time of the following query. Both tables contain polygons. select a.data_id, a.GEOLOC from information_data a, shape_data b where a.info_id = 2 and b.shape_id = 271 and sdo_filt
-
Hi everyone, We come across a requirement in ME52N/ME53N i.e.,if Requisitioner field is blank in contat person tab( item level ) it has to take default vale as Created by . Please suggest me in which BADI/EXIT i need write the code. I have checked a
-
How to use Numpad in Lion?
Dear expert, I am a chinese mainly using DaYi input method to input chinese. Since I can find third party developed DaYi input method (http://www.openvanilla.org/) But DaYi is using 4 line of keys (include number key 1, 2, 3, 4, 5, 6, 7, 8, 9, 0) for