SSMS Import MS Access 2016 Database - sql-server

I'm trying to convert a MS Access 2016 (.accdb) file to a SQL backend via SSMS (15.0.1835830). I have tried following the process descibed here but was unable to get the option to import newer Access formats to appear.
I have found a way to export from Access to SQL Server, but that does not include table Relations as far as I am able to tell...
Does anyone know of a way to get an Access 2016 database into a SQL server?

Related

Connection of SQL Server to excel

I have scenario like this:
If I connect SQL Server view or stored procedure with excel i can get to see the data/table/pivot from SQL Server database, i can also refresh that excel, But if I share that excel with another user, that excel should not get refresh the data/view from the database, if someone other trying to refresh data Excel needs to get closed or need to show pop up with access denied.
Is this possible??
Can anyone help me to achieve solution.
Condition:
We are migrating SQL Server 2008 to 2019
For testing purpose we have developer edition of SQL Server 2019.
I want to give access to some higher authority to use that Excel, so we require user authentication as well.

How to disable or encrypt the data from sql server 14 when some one exports it to excel?

Actually I already implemented the TDE . But I also want to encrypt the data when someone exports to excel. TDE only encrypt the database files.
Or can you tell me if some one get the access the database how can I block the export option for him.
I am using sql server 2014 developer edition

Is MS Office required to read Excel sheet and load into SQL Server table?

My objective is to read an Excel sheet and load the data into a SQL Server table. I don't have Microsoft Office installed on the machine where I am trying to import the data. Is it required in order to read Excel data and import the data into SQL Server?
(I've used SAP Business Objects where I never installed MS Office but was able to load Excel data into that.)
Finally I found the answer to my question.
Yes it is mandatory either to install MS Office or install Office drivers:Data Connectivity Components in the server we are trying to read Excel data. These drivers can be downloaded from the link http://blog.danbrust.net/2013/10/10/installing-microsoft-office-data-connectivity-components/#.WQnD_hOGPRZ
You can import Excel data into SQL Server from the SQL Server Management Studio. Expand the server you want to bring data into in the Object Browser, right click your database, go to Tasks then select Import Data. Find the Microsoft Excel option under the data-source property.
Here's a quick guide on using the Import data wizard: http://searchsqlserver.techtarget.com/feature/The-SQL-Server-Import-and-Export-Wizard-how-to-guide
You can also import delimited text files like a .CSV directly into SQL using a BULK INSERT command. https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql
Let me know if this is helpful.
EDIT: A potentially useful SO thread: Import Excel spreadsheet columns into SQL Server database

importing SQL Server .bacpac file

I've been trying (and failing) to import a SQL .bacpac file to SQL 2014 Express. Does anyone know if it's even possible to import these to Express? I haven't found anything online saying otherwise, but thinking of just getting the developer edition to try that instead. For info here is the error I get
Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service. (Microsoft.Data.Tools.Schema.Sql)
thanks
This did not work because the version of SqlPackage.exe, SSMS or the Data-Tier Application Framework that you're using to import the bacpac file to your server is too old and therefore doesn't know about SQL Server 2016. If you install the latest version of SSMS (https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms) you should be able to import that bacpac file.
However -- do note that if your bacpac file contains any object that isn't supported in SQL Server 2014 (for example, a temporal table), then the import operation will fail.
The '130' database level is SQL 2016, but you are attempting to restore it to a SQL 2014 database. SQL Server backups have never been backward compatible.

Import Access 2013 Table Into SQL Server

I do not see the upsizing wizard in my Access 2013 install, and anytime I right click on my database and say tasks then import data, if I click either of the access options it is only searching for .mdb extension not the .accdb extension.
What do I have to do in order to import an access 2013 table into SQL Server 2008?
EDIT
1) And there is no linked server between my server and access (I am not a sys admin to add) so using the Openrowset is not an option
2) I have the Access 2007 Database Engine installed on my system already.
You have a lot of options:
1. Use "SQL Server Import and Export"
2. Use SSIS to transfer the data.
3. Create table in SQL, link that table in Access and run a table population query there.
Probably there can be other options.
Access 2010 was the last version of Access to include the "upsizing wizard" for SQL Server. For Access 2013 and later the recommended approach is to use the
SQL Server Migration Assistant for Access (AccessToSQL)

Resources