Viewing 15 posts - 8,296 through 8,310 (of 8,753 total)
Here are two more queries, somewhat self explanatory, first one is
CATEGORY-TYPE-NAME-COLOUR-COUNT(COLOUR)
and the second is
CATEGORY-TYPE-NAME-COLOUR-SUBTYPE-COUNT(SUBTYPE)
With a small set of 2000000 records, these are returning in 0.1-0.2 sec on my mediocre...
May 10, 2014 at 12:13 pm
thomashohner (5/10/2014)
May 10, 2014 at 8:36 am
May 10, 2014 at 3:21 am
In my opinion it is not optimal to hard code the data hierarchy in this way. If an attribute is added, it would mean revisiting the code!
The window functions can...
May 10, 2014 at 3:15 am
David Burrows (5/10/2014)
For 2008 the list is actually in a binary file%AppData%\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
Removing this file will clear the list BUT WILL ALSO REMOVE ALL OTHER SSMS SETTINGS
Thanks David for...
May 10, 2014 at 1:01 am
tieudu09 55544 (5/9/2014)
try thisHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
remove the key name MSSQL10.(the servername want to remove)
This has nothing to do with the Connection MRU (Most Recently Used), the registry keys for 2012/2014...
May 9, 2014 at 11:59 pm
This query is somewhat self explanatory and answers in most parts your question
😎
USE master;
GO
SELECT
*
FROM
(
SELECT
ROW_NUMBER() OVER
...
May 9, 2014 at 11:34 pm
Same in slightly different flavor
😎
USE tempdb;
GO
DECLARE @SAMPLE TABLE
(
PERSON VARCHAR(25) NOT NULL
,VAL_1 INT NOT NULL
,VAL_2 INT...
May 9, 2014 at 10:23 pm
A suggestion, use a Script Component in the Data Flow instead of the Derived Column.
😎
May 9, 2014 at 12:56 pm
Check out sys.dm_exec_connections and sys.dm_exec_sessions
😎
SELECT COUNT(*) AS SESSION_COUNT
FROM sys.dm_exec_connections
SELECT COUNT(*) AS SESSION_COUNT
FROM sys.dm_exec_sessions SS WHERE SS.host_name IS NOT NULL
May 9, 2014 at 12:25 pm
Thank you Geoff for this fine and informative articles.
😎
May 9, 2014 at 11:04 am
Quick question, what is the driver for improvements if this works?
😎
May 9, 2014 at 10:41 am
Phil Parkin (5/9/2014)
Eirikur Eiriksson (5/9/2014)
Hadrian (5/9/2014)
I have a folder which receive the CDR and CMR files sended by Cisco.
There is no datetime for them,but I wish to move on another...
May 9, 2014 at 3:59 am
Hadrian (5/9/2014)
I have a folder which receive the CDR and CMR files sended by Cisco.
There is no datetime for them,but I wish to move on another folders separated CDR from...
May 9, 2014 at 1:36 am
sqlguy-736318 (5/8/2014)
May 8, 2014 at 5:41 pm
Viewing 15 posts - 8,296 through 8,310 (of 8,753 total)