Created a contained database but unable to connect
Using scripts provided here:http://blogs.msdn.com/b/sqlsecurity/archive/2010/12/08/contained-database-authentication-in-depth.aspxCreated a contained database in SQL Server Management Studio and a user...
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 ArticleRequest for comment on this Deadlock.....
I have a question regarding this deadlock (names changed to protect the innocent) that I hope you can comment on. The facts as I see them:Victim = process ending in 6d8Victor = process ending in...
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 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 ArticleWhat 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 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 ArticlePerformance monitoring - capture query time with STATISTICS?
I realize I could use perfmon to monitor all kinds of stuff, but was thinking one simple way would be to start capturing how long a query took. Is there a way to select the client statistics or the...
View ArticleDBCC SHRINKFILE: Page 4:11283400 could not be moved because it is a work...
Hi, I issued this command on Tempdb but it doesnot shrink the file. dbcc shrinkfile (tempdev_3,1)go...
View ArticleUnable to take a backup after repairing suspect database...
Hi AllI have recovered a database from suspect mode by the following steps.1. EXEC sp_resetstatus '<Database Name>';2. ALTER DATABASE <Database Name> SET EMERGENCY;3. DBCC...
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 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 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 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 ArticleIndex Maintenance plan
say 89 % fragmented as soon as (5 hours) after i re-index with fill factor 80%.In my case i have less index storage used which is less 10 MB but fragments quickly. How should i setup the maintenance...
View Articlesql 2008 Database Mail Issue - ExternalMailQueue disabled
I currently have a sql server 2008 SP3 CU 7 64 bit enterprise edition sql server running on windows 2003 64 bit SP2. Our db mail was not being sent since the externalmailqueue was disabled. Enabling...
View ArticleInstance names?
Hello,I have two names:Server\Database1Server\Database2would it be instance names or databases names attached to the server under the default instance?Sometimes the instances are...
View Article