DBCC SHRINKFILE Failing
DBCC SHRINKFILE: Page 1:4353759 could not be moved because it has not been formattedI cannot shrink the database because of this error.Any solutions out there?SQL Server 2012 EnterpriseDBCC CHECKDB...
View ArticleSQL Server 2014 - syspolicy_purge_history
Hi,My Name is Hauri and I am currently working as a Junior DBA MSSQL. I get an error at our SQL Server 2014, during the execution of the Job: syspolicy_purge_history (error below). This error appears...
View ArticleAttempt to fetch logical page (1:XXX) in database X failed : it belongs to...
Hi Experts,We are facing issue on databases with consistency errors(Attempt to fetch logical page (1:XXX) in database X failed : it belongs to allocation unit XXXXXX not to XXXXX) , We have peer to...
View Articleindex fragmentation versus no index
Hi,So, as we know depending on the size of the table, defrag is not necessarily the best :)Now, I was wondering between fragmented indexes and no index at all. Typically, I have the...
View ArticleDB Growth monitoring
Hi All,Issue: we are facing some space issue in a drive. so I need to monitor the Database size growth monitor.Can some one help me by providing the script to find out the Database size growth...
View ArticleSQL Server Version vs Windows Version
Does anyone know where there is a chart that lists for each version of SQL Server the range of Windows Server versions it will install on?Dan Jameson Associate Director of IT/DBA Children's Oncology...
View ArticleCompare two tables in a database?
Hi, I want to compare the data of two tables in a database, and output result to indicate whether their data are identical or not. Is there a command to do the task? Thanks
View ArticleScript out a single login including its database user info
Hi,I looked around for a script which can give the CREATE LOGIN .. CREATE USER .. script for a single login. Like you already have a login in sql & just want to script it out, the SSMS, rt click,...
View ArticleSQL Server Crash, Shutdown unexpectedly
Hello, Our database unexpectedly shutdown, this happens regularly at least once a month. SQL Server version: 2008 R2 (RTM) x64 Windows version: Server 2012 Standard Log from Event Viewer:...
View ArticleBest practices to set maximum and Minimum memory in SQL server instance
Hi All,i am new in SQL server.i want to know -Best practices to set maximum and Minimum memory in SQL server instance. i have 16GB of ram . SQL server version SQL server 2008R2. Currently maximum...
View ArticleADMINISTER BULK OPERATIONS permission on the file
Hello!How can I grant a user the ADMINISTER BULK OPERATIONS permission on somefile?Thank you in advance,Michael
View ArticleError: 17053, Severity: 16, State: 1
We have been getting this message in the error log for past few weeks and trying to see if anyone had this problem;Error: 9001, Severity: 21, State 1The log for the database ‘ARSystem’ is not...
View ArticleEditing SQLServer.exe.config file recommendation
Our application development team is planning to use the Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll for hashing and comparing passwords through CLR in SQL Server. For authenticating...
View ArticleHow to send an HTML file as body using database mail?
Hi All, Is there a way to send an existing HTML file as body of my email instead sending it as attachment. I am using below query, but it is sending as an attachment. Any workaround for this? EXEC...
View Articlemdf file size
Hi Everyone, I am using SQL 2008 R2, When i look at the db file, the size is 250 GB, please guide me how to reduce the size.C:\Program Files\Microsoft SQL...
View ArticleUpdates and readon only partitions in sql2005
Hi all I have a partitioned table in SQL2005 database based on the year Years prior to 2007 are read only When I execute the following statement I get the error Msg 652, Level 16, State 1, Line...
View ArticleData collection wizard fail
hi,I tried to do data collection and ended fail. can any one support me to resolve this.
View ArticleNeed to migrate SQL logins, roles and permissions from one data base to...
Need to migrate SQL logins, roles and permissions from one data base to another. Both in SQL 2012 version.Thanks,EswarEswar
View ArticleSQL Server 2012 - 11.0.5569 - Backup Process Failed with Msgs 845, Time-out...
Hi All,I need suggestion regarding one database that cannot be backup. Every time backup process is run against this particular database, it always failing with error message 845. The buffer latch...
View ArticleError: 26073, Severity: 16, State: 1
Hi All,I am receiving this on SQL2008 R2 SP3 (10.50.6000) windows server 2008R2 SP1. Full message from log is: Error: 26073, Severity: 16, State: 1. Server TCP connection closed but a child...
View Article