SQL server Procedure stores plan
Hi , While reading "benefits of stored procedure" I found term in case of stored procedure sql server stores plan and reuse it that's why procedure are more faster than ad-hoc query .My question is...
View ArticleCan't drop DB because is is "currently in use" -- not apparently so!
Setting: sql 2008, SP3. Have a Database, Test, with no "apparent" connections (Its name does not appear in DBName under sp_who2)drop database Test gives"Msg 3702, Level 16, State 4, Line 1Cannot drop...
View ArticleSQL user login activity log
Hi,I am using SQL server 2000 and VB application in client computers to access databases. In our application it is possible to create user code for each users in different department. These users...
View Articlesqly server benchmarking and capacit
Hi,I am a SQL Server DBA and i am testing sql server 2008/2012 bencmarking and capacity. As we are planning to upgrade our Servers, Servers are used in trading with excessive writes on a database where...
View ArticleSQL Server 2012 Enterprise, Index fragment & page density issue
Hi guys,We have an index maintenance issue on large tables recently.Basically, there is a job running to do the index maintenance daily: do the index scan via sys.dm_db_index_physical_stats, and then...
View ArticleCannot initialize the data source object of OLE DB provider "MSDASQL" for...
Hi,We have just moved our primary SQL server to a new server (SQL 2012 Standard). I did this via log shipping and then failing over to the new server so it became the primary as due to the size of the...
View ArticleRestoration of Differential Backup
Hi,I am running Microsoft SQL server 2008 in our environment. I have created one new database and configured Full and differential Backups.Full backup on every week and differential backup on every...
View ArticleDELETE is not responding, Don;t know what is going under the hood
Hi Forum,I have a Table 'customer' with 1000 of rows and around 20 columns. I am trying to delete a row with custnum = 10 but looks like it is executing forever. I did wait for 10 minutes before...
View ArticleRestoration of Differential Backup
Hi,I am running Microsoft SQL server 2008 in our environment. I have created one new database and configured Full and differential Backups.Full backup on every week and differential backup on every...
View ArticleNeed help analysing the below Statistics(Results from...
Please let me know on which Index shall i go for REINDEX OR REORGANIZE.Adding page count column for visibility.
View ArticleRecent transactions missing from current transaction log backup
Hello all,I've got a strange situation that I've had a hard time getting to the bottom of. The issue is that I have a web app that writes to a SQL 2008 (R1) database. If I query the database directly...
View ArticleEvalute Server's workload before upgarde the hardware
Hello,I have tasked to evaluate the current workload prior to host new database with high workload , frankly I have no idea how to start analysis the current workload to deiced even upgrade the current...
View ArticleSSL encryption - TrustServerCertificate
Hii have configured the SSL configuration and observed while connecting from client if i specify trustservercerticate=yes or no then both the options are i am able to connect the SQL Server. i mean if...
View Articlehow can i shrink the db(530GB) in chunks?
How can i shrink the db(530GB) in to chunks?.Thanks,Ron.
View ArticleMulti Server administration error
Hi, I have configured a Master server and when im creating a maintenance plan and while saving it, im getting the following error"This Maintenanace Plan cannot be distributed because it has tasks...
View ArticleFull LSN incorrect
Hi,recently our DBA has left the company and I am learning SQL as quick as I can to be able to administrate our databases correctly.We have an issue with restoring a PIT (point in time) backup as the...
View ArticleReady Time out error in application log
Hi All,Recently application are throwing below error when they are connected to databases engine.Application and Databases are two different servers.SQL Server Version: SQL Server 2012 Enterprises...
View ArticleSQLExpress database file auto-creation error
Hi,I'm not sure this is the right location to post ...I got some issues with VS 2005 BETA 2.I done full install except for SQL Express and full install of the SQL server disc.Now when looking at the...
View ArticleHow many tempdb mdb files will be created in this case?
How many tempdb mdb files will be created in this case?SQL Server detected 2 sockets with 6 cores per socket and 12 logical processors per socket, 24 total logical processors; using 24 logical...
View Article