I have an MS-Access project using a SQL Server database. I have code running that needs to create a temporary table in the database. When I execute the code it works fine. When another user executes the code it gives them Error 262 - Create Table Permission denied in database...
The SQL Server uses Windows authentication. Other users have permission to read and write data (db_datareader, db_datawriter). I am the database owner which is why it must work for me.
The code being executed is simply...
Do I need to add a permission in SQL server to other users so they can create and drop a table?
The SQL Server uses Windows authentication. Other users have permission to read and write data (db_datareader, db_datawriter). I am the database owner which is why it must work for me.
The code being executed is simply...
Code:
strSQL = "CREATE TABLE " & strTempTableName & " (Detail varchar (1000), RecordNumber integer)"
DoCmd.RunSQL strSQL