Excel to SQL

I have a SQL database in Azure. My client wants to be able to connect to one of the tables in excel and update and add to the data from the spreadsheet directly in real time.  

Is there a way to do this?  

I had created an application in .net using a dataview they did not like it because not all the features that they use in excel are available. Most importantly easily increasing the font size, and filtering the data.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Let me clarify - you want the client to connect to the database from Excel spreadsheet?

The client can connect to Azure SQL from Excel spreadsheet by going to Data tab, then clicking 'From other sources" button, selecting "From SQL Server".

Then the connection wizard will pop up and prompt for Azure SQL server name and login credentials. Then the user will be prompted to select the database and table in question
kw66722Author Commented:
When I do that the data is imported to the excel spreadsheet and any changes made are not saved on the server.  I need the changes made to be added to the Azure database in real time.
Jim HornMicrosoft SQL Server Data DudeCommented:
You could modify the Excel VBA in my article Microsoft Excel & SQL Server:  Self service BI to give users the data they want to connect to a table/view instead of a SP, but just to 'check the box' here, if your intent is to allow users to edit database data in Excel, then


as this will prevent any validation of that data before it is inserted into the database, plus security will need to be considered so that only certain users who should be allowed to enter data have access to open the Excel database.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

kw66722Author Commented:
I redesigned the table based on the data integrity issues. I will read your article.
kw66722Author Commented:
I reviewed the article I did not see where the solution presented updates sql or where an inserted row is added to the sql table
Martin LissOlder than dirtCommented:
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
kw66722Author Commented:
This answers part of the question. I will submit another question to answer the rest.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.