Viewing 15 posts - 1 through 15 (of 37 total)
It depends if the second node will be passive or not. Check the licensing guide from Microsoft.
December 2, 2015 at 5:17 am
From the official documentation for the UPDATE statement on MSDN:
"Use caution when specifying the FROM clause to provide the criteria for the update operation. The results of an UPDATE statement...
November 27, 2015 at 5:57 am
The clue is in your question - "Note: I don't have any kind of index on this table."
SQL Server treats heaps differently for inserts. The data page needs to...
November 5, 2015 at 10:42 am
I don't think you read my reply fully. I gave you the name of the Windows application that xp_cmdshell calls and the method to kill it.
November 4, 2015 at 12:41 pm
You can find the SPID (SQL session ID) of the request using this script:
USE master;
SELECT
r.session_id
,db_name(database_id) db
,r.status
,r.blocking_session_id blockedBy
,r.start_time
,r.wait_type
,r.total_elapsed_time/1000 secs
,command = SUBSTRING (txt.text, r.statement_start_offset/2,
((CASE WHEN r.statement_end_offset = -1
...
November 4, 2015 at 9:23 am
Sorry, I had removed the -ComputerName switch during testing.
$inst = 'yourServerName'
$DB = 'Test'
#Import the sqlps module to allow use of invoke-sqlcmd. ...
October 30, 2015 at 11:19 am
Try this:
$inst = 'yourserver'
$DB = 'Test'
#Import the sqlps module to allow use of invoke-sqlcmd.
Import-Module “sqlps”...
October 29, 2015 at 11:53 am
DECLARE @PATH TABLE (Locations VARCHAR(260));
INSERT @PATH
VALUES ('X:\folder\anotherfolder\'),
('X:\folder\yet another folder\'),
('X:\foldername\another folder\'),
('X:\foldername\yet another folder\');
SELECT DISTINCT LEFT(Locations, CHARINDEX('\', Locations, 4)) AS 'Path'
FROM @PATH;
October 26, 2015 at 11:44 am
The primary benefit of partitioning is administrative - backup, restore, archiving. It can help data load performance and can also help the performance of queries that access data from...
October 23, 2015 at 7:21 am
There are many ways to do this, depending upon the data, but here are a couple of possibilities:
DECLARE @FILENAME VARCHAR(50) = '123_20151016_3152_AIRHtest1.txt';
SELECT @FILENAME = REPLACE(@FILENAME, '.txt', ''); --Remove file extension.
SELECT...
October 23, 2015 at 7:05 am
Try this:
SELECT DISTINCT collation
FROM syscolumns
WHERE collationID = 53256;
October 23, 2015 at 6:20 am
What do you mean by relation? You can get the session ID using the following DMV:
SELECT
session_id
,login_name
FROM sys.dm_exec_sessions;
October 23, 2015 at 6:07 am
--Create test database and table.
CREATE DATABASE Test
GO
USE Test
GO
CREATE TABLE dbo.tbServerList (Srv sysname, lastRebootDate datetime)
GO
--Replace server names as required.
INSERT dbo.tbServerList (Srv)
VALUES ('Srv1'),('Srv2');
GO
/** Run PowerShell script **/
--Check results.
SELECT
Srv
,lastRebootDate
FROM dbo.tbServerList;...
October 23, 2015 at 6:01 am
Yes, In-Memory OLTP stores data in RAM, which is faster than SSDs so you should see a performance improvement. There are many unsupported features with In-Memory OLTP, however. ...
October 23, 2015 at 5:07 am
Here are a few to get you started:
http://sqlblog.com/blogs/linchi_shea/archive/tags/Testing/Benchmark/default.aspx
http://www.brentozar.com/archive/2012/06/load-test-sqlserver/
June 4, 2014 at 2:31 am
Viewing 15 posts - 1 through 15 (of 37 total)