Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Update SQL table using Excel
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 03/12/2014 :  07:07:34  Show Profile  Reply with Quote
I use Excel to extract data from SQL using Excel VBA with SQL queries embedded into my VBA code. Recently, IT department raised a security issue. They say that in the same way you query the data from Excel, you could in theory incorporate SQL update query and update the database, thus bypassing the native application being the ERP system. My question is - is it possible to prevent update of SQL tables using Excel or MS Access forthat matter. In other words, is there an application based security settings in SQL that can determine which applications can update SQL tables. The SQL database is the back end of the ERP system. It must be noted that users have read/write access to the SQL tables as ERP users so we can't restrict tables update via user profile, it needs to be application based restriction I believe.

Thank you for you response.


James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 03/12/2014 :  10:30:44  Show Profile  Reply with Quote
There is no application based security in SQL Server as far as I know. So if your end users have logins that have access to a database table, they will be able to access that table using Excel as well.
Go to Top of Page

Starting Member

2 Posts

Posted - 03/12/2014 :  10:49:44  Show Profile  Reply with Quote
Thank you James for taking the time to answer my question
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000