Viewing 15 posts - 181 through 195 (of 392 total)
Seems ok as long as you take into account that the original primary database will not be in a recovered state after you break mirroring.
July 8, 2013 at 8:34 pm
Currently this code is randomising the Accrualdate as there is no ORDER BY when populating the cursor:
Can you explain the purpose of this code?
DECLARE @Counter INT = 0
DECLARE @VirtualID INT
DECLARE...
July 7, 2013 at 10:06 pm
The DROP procedure statement refers to a different procedure:
DROP PROCEDURE [dbo].[NIC_OA_GetPatientXRayReportsOut]
create PROCEDURE [dbo].[NIC_OA_GetPhysicianXRayReportsOut]
One is PatientXray, the other is PhysicianXray, change DROP statement to:
IF EXISTS (SELECT * FROM sys.objects WHERE object_id...
July 4, 2013 at 10:42 pm
If you mean the OS free physical RAM, then
SELECT total_physical_memory_kb, available_physical_memory_kb,
total_page_file_kb, available_page_file_kb,
system_memory_state_desc
FROM sys.dm_os_sys_memory WITH...
July 4, 2013 at 12:17 am
Is there any reason you cant just update the whole table in one statement? No problem with the composite primary key that way.
update tablename
set startdate= dateadd(d,-1,startdate)
from tablename
July 4, 2013 at 12:04 am
You don't need to fail-over at all, just break mirroring, then RESTORE WITH RECOVERY on the mirror to make it useable. Then recreate the mirror after the testing.
Make sure...
July 3, 2013 at 11:46 pm
Run this to see what's been using Tempdb and how much space is allocated to that session
-- how much was allocated and by what user
SELECT
sys.dm_exec_sessions.session_id as [Session ID],
DB_NAME(database_id) as [Database...
July 3, 2013 at 10:55 pm
I think you shoud first check the vm host, not the client.
Open vSphere and make sure the memory is not overprovisioned.
If you look at the default performance graphs for the...
July 3, 2013 at 2:01 am
Equality and inequality columns are explained in the Microsoft documentation for sys.dm_db_missing_index_details
equality_columns
nvarchar(4000)
Comma-separated list of columns that contribute to equality predicates of the form:
table.column =constant_value
inequality_columns
nvarchar(4000)
Comma-separated list of columns that contribute...
July 3, 2013 at 1:18 am
There is someone reporting a MSSQL crash with the MySQL 5.2.2 ODBC driver here: http://bugs.mysql.com/bug.php?id=63386
What are the differences between the 2 MSSQL servers? Is one 32bit vs 64bit?
Any errors...
June 30, 2013 at 8:51 pm
June 30, 2013 at 8:15 pm
What happens if you script out the changes and try it without the gui?
Any error messages in the mysql.err log?
June 30, 2013 at 8:11 pm
From Paul Randal's blog: http://www.sqlskills.com/blogs/paul/most-common-latch-classes-and-what-they-mean/
72: LOG_MANAGER
If you see this latch it is almost certainly because a transaction log is growing because it could not clear/truncate for...
June 28, 2013 at 1:47 am
Is there any reason you can't just reattach the testdb from the location where you moved it?
June 27, 2013 at 9:01 pm
You need to test network connectivity to the endpoint.
Follow the troubleshooting steps under Endpoints heading here: http://msdn.microsoft.com/en-us/library/ms189127%28v=sql.105%29.aspx
If that's all fine, then use Telnet (it's a Windows 2008 feature, so install...
June 26, 2013 at 5:28 pm
Viewing 15 posts - 181 through 195 (of 392 total)