Steve thanks for sending towards connection strings.
This one worked for me in Excel accessing stored procedures with temp tables.
Const stCon As String = "OLEDB;Provider=MSDASQL.1;DRIVER=SQL Server;SERVER=KS01;Database=NOISE;Initial Catalog=NOISE;Trusted_Connection=Yes"
This is the connection string that does not work for temp tables.
Const stCon As String = "OLEDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=NOISE;Data Source=KSLPQQ03"
Also heard that
"I need to be connecting with an account that has db_ddladmin...
StevenK I have the exact same problem with temp table access via excel.
Can you explicitly write the connection string detail that made the difference.
Many thanks for the pointers with this.
Robodad669
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.