SQL script gets 'Access denied' to write a registry key value during SESSION 0
Hello,On Windows 2008 R2 PS1 Server, MS SQL Server 2005.Running an installation (*.msi), performing an SQL script which writes a value to a registry key:- running as a user with administrative rights,...
View ArticleExport Database diagram
My SQL Database has more than 40 tables, I wonder if I could export the database diagram in some form. I know I could do a print screen, but I wonder if there is other way to make a complete and nice...
View ArticleDelete/insert transaction fails on copy of database
Hello, we have a transaction that runs to completion on one database but errors out on a copy of the database (recovered from a backup). Here is the transaction:use...
View Articlemsdb restore: sql server 2008 r2 sp2 (ctp)
Techies--We have a situation where we've backed up one of our databases on sql server version 10.50.3720 and we had to rebuild this machine and tried to restore it to an available sql server 2008 r2...
View Articleminimally logged operations with clusted index vs heap
Would anyone know if you get the same amounts of reads when bulk inserting from SSIS with an OLEDB adapter, into a heap vs an empty, clustered, table? I've played around with this, and I see that I get...
View ArticleUsing sql localdb in cube
HelloI recently migrated a project from sql server 2008 to sql localdb 2012. I was using sql server express with a cube. To do that, I am using :- Sql Server 2008 Analysis Management Objects- Sql...
View ArticleSql server RAM / perfomance question
We have had several issues with intermittent performance & timeout issues on SQL 2008R2 servers. Most recent is a 43GB database in shared environment with other smaller db's with about 250...
View ArticleIntermittent Connection Failures using Integrated Authentication
Hi,We have an application server connects to a SQL 2008 R2 (sp2 cu7) server using a domain account and integrated authentication. It got timed out when trying to connect to the SQL server after 15...
View ArticleMax number Linked Servers in SQL Server 2008 R2
Hello everyone, Is there a maximum number of Linked Servers which could be created for SQL Server. I am currently using SQL Server 2008 R2.Thank you.
View ArticleRestore a production database into test
HiI have to restore a production database into our test environment, but before I overwrite the test databases I have to maintain a copy of the original test database and logfiles. The files must be...
View ArticleProvision all drive space for tempdb on Windows Server 2012
I am setting up a new SQL Server 2012 on Windows Server 2012. I have a logical drive reserved for tempdb where I created 8 data files and a log file all with initial size equal to maxsize with the sum...
View ArticlePerformance Monitoring
What is the best way to determine if a SQL server is undergoing performance issues due to CPU, RAM, DISK, etc? What counter should we be looking at to determine if the server is lacking each one of...
View Articleassigning Ram to SQL Server
i have got 32 Gig of Ram added to server that has SQL Server on it,how much memory should be assigned to Sql and how much should be left for Windows?k
View ArticleSql server Logins
hi,Sql server 2008 max support logins,orMax how many logins we are creating sql server 2008 server.
View ArticleOperating system error code 3(The system cannot find the path specified.).
every time i restart the sql server im getting following error.Create file encountered Operating system error code 3(The system cannot find the path specified.)while attempting to open or create the...
View Articleusing MSSSQL SPLA licensing to deliver ISV application as service
Hello,I don't know is this good forum or not, but I searched and nothing came back on this topic. We have application which customer would like to rent it on their own hardware and their own windows...
View ArticleDatabase in recovery yet accessible
SQL 2008 10.0.5500 X64Windows Server 2008We have a ~100gb database that's been in "recovery" for 2 days now. Over the weekend the network admin had to do some SAN work and that required restarting the...
View ArticleRestoring MSDB database
Hi,we reinstalling OS and install same SQL instance - 2012. My question is, to remain all jobs we will restore msdb database. Should we restore it before master or after master database restore? Or...
View ArticleSql 2005 - insufficient system memory to run this query
Hi, We are getting right now following error: We have Sql 2005 with 4 GB MemoryThere is insufficient system memory to run this query. Error: 701, Severity: 17, State: 42.then it contains another...
View ArticleSQL Memory Allocation Less Than Setting
Hello,Windows Server 2008 Ent 6.0.6002 SP2SQL Server 2008 R2 (SP2) - 10.50.4000.0 (Intel X86) Enterprise ram: 32 GBAWE enabled; Lock pages in memory enabledSQL min/max memory set at 28 GBHowever, SQL...
View Article