Viewing 15 posts - 211 through 225 (of 253 total)
Use the DBCC SHRINKFILE with the EMPTYFILE argument command
dbcc ShrinkFile (mydatabase_Log_2, EmptyFile)
or you can take the help of this link: http://www.sqlservercentral.com/blogs/jeffrey_yao/2009/08/10/error-5042-cannot-remove-a-file-because-it-is-not-empty/
November 26, 2015 at 10:12 pm
Change directory to the server instance and use the Remove-SqlAvailabilityDatabase cmdlet
Remove-SqlAvailabilityDatabase `
-Path SQLSERVER:\Sql\SecondaryComputer\InstanceName\AvailabilityGroups\MyAg\Databases\MyDb8
November 26, 2015 at 9:27 pm
Please check if you got any non-default values for the configurations:
'affinity mask' and ‘affinity64 mask’
if so, then set them default
November 24, 2015 at 10:25 pm
Verify that at least one secondary replica is configured as automatic failover. If there is not a secondary replica configured as automatic failover, update the configuration of a secondary replica...
November 24, 2015 at 10:08 pm
You can find the job history in
select * from msdb.dbo.sysjobhistory
November 23, 2015 at 10:21 pm
Select * from Table1
Except
Select * from Table2
It will show all mismatch records between table1 and table2
November 22, 2015 at 10:37 pm
Maybe this link will help you https://msdn.microsoft.com/en-us/library/dn282389.aspx
November 22, 2015 at 10:30 pm
There's nothing special causing it to be slow outside of the ordinary considerations. Clearly the number of rows in the database is going to be a primary factor, then the...
November 22, 2015 at 10:15 pm
To fix this issue run
CREATE LOGIN [BUILTIN\Administrators] FROM WINDOWS
go
sp_addsrvrolemember
@LogiName='BUILTIN\Administrators',
@RoleName='sysadmin'
Or you can also take the help of this link...
November 20, 2015 at 10:46 pm
Try the following query
SELECT TOP 40 *
FROM sys.dm_os_wait_stats
ORDER BY wait_time_ms DESC
Or
Read the following resource
https://support.microsoft.com/en-us/kb/2545989
http://www.sqlservercentral.com/Forums/Topic1150864-391-1.aspx
November 19, 2015 at 10:04 pm
Using MERGE is your best option. You can control each of the conditions
November 17, 2015 at 10:22 pm
Probably it is because you have accidently uninstalled VS2012 and may have uninstalled a VS Shell.
November 17, 2015 at 10:12 pm
Change the storage unit from OpenStorage disk device to an advanced disk device :unsure:
November 16, 2015 at 10:41 pm
Update your table to flip-flop the month and day first, then the conversion should go through.
update YourTable
set Data = SUBSTRING(Data,4,3) + LEFT(Data,3) + RIGHT(Data,4)
November 15, 2015 at 11:11 pm
Viewing 15 posts - 211 through 225 (of 253 total)