What will cause no lock escalation to table lock in deleting more than...
I deleted 300,000 rows in a table in SQL Server 2008 R2. I checked the locks information by querying sys.dm_tran_locks when the delete statement was running.delete top (300000) from log where...
View ArticleOpen source database with data
I'm looking for a website or similiar that offer open source database containing data. Similiar database as Microsoft's adventure work. Does somebody know about it?
View ArticleBecome our FIRST Microsoft TechNet SS DBE Guru of 2014!!
Happy New Year!Time for a fresh start!We're looking for the first Gurus of 2014!!This is your chance to make your mark on the Microsoft developer community.All you have to do is add an article to...
View ArticleError No 26
TITLE: Connect to Server ------------------------------ Cannot connect to MUHAMMAD-YASIR\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error...
View ArticleRetrieve the Data
Goal: Retrieve the data from a database.Problem: I cannot open a .mdf file and .ldf file in my Sql server because the file use SQL server 2000 and I use SQL server 2012.The second problem: I do not...
View ArticleSql server upgrade from 2005 to 2008 R2 server
Hi Team,Can please give me the steps for Sql server upgrade from 2005 to 2008 R2 server ,How we can run sql server upgrade advisor 2008 R2.
View ArticleBackup Encryption in SQL Server Standard Edition
Hello,I need experts advice on Backup encryption options available in SQL Server 2008 R2 Standard Edition. I know TDE is available, but only in Sql Server 2008 R2 Enterprise edition. But we are using...
View ArticleMemory dump in log file
Hi,Today we had the exact scenario reported here http://support.microsoft.com/kb/974205 The server went unresponsive and the sql service had to be restarted. This sql server is the DB server for a...
View Articlesys.dm_tran_database_transactions vs. dbcc opentran.
Greetings. I've been using sys.dm_tran_database_transactions to detect which queries are making my TLogs grow, but wouldn't it also stand to reason that dbcc openTran would be an equally effective (if...
View Articleerror 1069: The service did not start due to logon problems
The local sql server that was working fine earlier does not start now. I have already created tables and accessed them using stored procedures.I get an error 1069: The service did not start due to...
View ArticleTrace Issue
Hi,I closed trace files, but still it will start automatically everyday @ 12:00AMHow can i stop this?ThanksShashikala
View ArticleOpenrowset Error
Hello All, When I execute the following query I get the error:SELECT * FROM OPENROWSET ( 'Microsoft.ACE.OLEDB.12.0', 'Data Source='C:\Test.xls;Extended Properties="EXCEL...
View Articlesystem spid regularly allocating in tempdb but not deallocating
Early this week we had a system spid that was constantly allocating in tempdb but not deallocating:SELECT s.session_id, dbu.database_id , SUM(dbu.internal_objects_alloc_page_count)...
View ArticleMsg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607
I am trying to enable cdc on one of my tables, and I get the following error and nothing I have found seems to work,Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607 Could...
View ArticleWIll cancel sql server database backup cause anything to be hurt?
I run full backup of one big database. After 20 seconds, I click "stop action now" to cancel this backup. Will it cause anything to hurt? Want to make sure that database is still safe.Thanks
View ArticleSQLutilising more memory than allocated memory
Hi,SQL edition : 10.50.2500.0 SP1 Enterprise Edition (64-bit), available RAM-96GB, but SQL uses 64GB though MAX server memory is 49152 MB only.We are using only one external3rd party tool called...
View ArticleConfiguration Manager issue...
hi Team,while we are trying to open the sql server configuration manger we are getting below error.error message: SQL Configuration Manager Connection to target machine could not be made in a timely...
View ArticleUpgrade process for SQL server 2005 service pack4 on stand alone and cluster...
Hi All,We have iniated a process of upgarding sp4 for all sql 2005 stand alone and clusters servers.Please provide me the step by step process for installing sp4 and roll back paln for sql 2005...
View ArticleLoad on SQL Database Is gonna be increased!!!!
Hi , Could you please let me know what are the parameters that has to be considered if load on database is going to be increased by 50 % on a day.I am working in shop,related to transactional system...
View ArticleAre log files shrunk in order of transactions?
Greetings. Here's the scenario:Transaction1 starts, The log file grows to 50% disk capacity because of Transaction1. Transaction2 starts.The log file grows to 95% of disk capacity because of...
View Article