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.
LVL 1
kw66722Asked:
Who is Participating?
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.

YZlatCommented:
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
0
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.
0
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
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

YOU ARE PLAYING WITH FIRE!!

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.
0

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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

kw66722Author Commented:
I redesigned the table based on the data integrity issues. I will read your article.
0
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
0
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".
0
kw66722Author Commented:
This answers part of the question. I will submit another question to answer the rest.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.