Viewing 15 posts - 601 through 615 (of 2,462 total)
Ed Wagner (7/12/2016)
djj (7/12/2016)
whereisSQL? (7/12/2016)
Ed Wagner (7/12/2016)
Manic Star (7/12/2016)
TomThomson (7/12/2016)
djj (7/12/2016)
whereisSQL? (7/12/2016)
Ray K (7/12/2016)
jasona.work (7/12/2016)
crookj (7/12/2016)
Grumpy DBA (7/12/2016)
Alan.B (7/12/2016)
attackDefend
Rope-a-Dope
The Greatest
Ali
Clay
Feet
Inches
25.4 Millimeters
Distance
Travelled
Vacation
Relaxation
Taxation
-- Itzik Ben-Gan 2001
July 12, 2016 at 12:50 pm
Easy one (but I still ran this in SSMS to be safe 😛 : EXECUTE('SELECT 1');)
-- Itzik Ben-Gan 2001
July 12, 2016 at 12:49 pm
I'm pretty confident that what I posted would do the trick provided the OP has or can add a datetime column.
-- Itzik Ben-Gan 2001
July 12, 2016 at 12:38 pm
shogunSQL (7/12/2016)
I have a table like this:
Create table Tbl_Test01
(
Name nvarchar(20),
Item nvarchar(30)
)
;
insert into Tbl_Test01
values
('Car','Honda2016'),
('Car','Honda2017'),
('Car','Honda2018'),
('Tool','Dwwalt2016'),
('Tool','Dwwalt2017'),
('Tool','Dwwalt2018'),
('Tool','Dwwalt2019')
select *
from Tbl_Test01
I'd like to have the value of the column Name show up once and the...
-- Itzik Ben-Gan 2001
July 12, 2016 at 12:28 pm
TheSQLGuru (7/12/2016)
-- Itzik Ben-Gan 2001
July 12, 2016 at 12:08 pm
patrickmcginnis59 10839 (7/12/2016)
Igor Micev (7/12/2016)
patrickmcginnis59 10839 (7/12/2016)
An ORDER BY clause can be used explicitly in the end as well. In that case the COUNT is not deterministic. See Deterministic and...
-- Itzik Ben-Gan 2001
July 12, 2016 at 12:01 pm
Great work Igor, 5 stars!. You did a great job grouping (pun not intended :-P) together the most important aspects of COUNT. Fantastic article and a great resource to point...
-- Itzik Ben-Gan 2001
July 12, 2016 at 11:53 am
Jeff beat me to it. Here's some DDL that shows how to implement what Jeff suggested.
USE tempdb -- a safe place to test this out...
GO
-- (0) Your table...
-- Itzik Ben-Gan 2001
July 12, 2016 at 10:49 am
To get the current max degree of parallelism for a specific instance of SQL Server:
SELECT value_in_use
FROM sys.configurations
WHERE name = 'max degree of parallelism'
-- Itzik Ben-Gan 2001
July 12, 2016 at 10:19 am
Manic Star (7/12/2016)
djj (7/12/2016)
crookj (7/12/2016)
djj (7/12/2016)
Revenant (7/11/2016)
Ed Wagner (7/11/2016)
whereisSQL? (7/11/2016)
HappyGeek (7/11/2016)
Ed Wagner (7/11/2016)
djj (7/11/2016)
Y.B. (7/11/2016)
Luis Cazares (7/11/2016)
djj (7/11/2016)
Ray K (7/11/2016)
Ed Wagner (7/11/2016)
LionTiger
Bears (oh, my)
Care
Package
Amazon
Prime
Target
Practice
Marksmanship
Aim
Focus
Motivation
Speaker
Anxiety
attack
-- Itzik Ben-Gan 2001
July 12, 2016 at 7:09 am
Revenant (7/11/2016)
HappyGeek (7/11/2016)
eccentricDBA (7/11/2016)
Ed Wagner (7/11/2016)
whereisSQL? (7/11/2016)
Manic Star (7/11/2016)
djj (7/11/2016)
BWFC (7/11/2016)
Ed Wagner (7/11/2016)
Grumpy DBA (7/11/2016)
eccentricDBA (7/11/2016)
Ed Wagner (7/11/2016)
Manic Star (7/11/2016)
Luis Cazares (7/11/2016)
Ed Wagner (7/11/2016)
Boomchick-chicky-boom
Explosion
Shrapnel
collateral damage
Arnold Schwarzenegger
Terminator
Semi-colon
sigmoid colon
Sigmund Freud
Psychoanalysis
Why
Socratic Method
Ask
Bid
den
-- Itzik Ben-Gan 2001
July 11, 2016 at 10:55 am
Ed Wagner (7/8/2016)
-- Itzik Ben-Gan 2001
July 8, 2016 at 2:07 pm
Ok Solomon, I tried to figure this out and failed. Forgive my CLR noobness (I create about 1 CLR/year) and I'm sure this is simple but I'm having a hard...
-- Itzik Ben-Gan 2001
July 7, 2016 at 8:26 am
Marcia J (7/5/2016)
-- Itzik Ben-Gan 2001
July 7, 2016 at 7:23 am
sqld-_-ba (7/6/2016)
Hello Fellow DBAs/Developers/Consultants/Managers,I couldn't find a reliable + recent source for DBA salaries in USA.
Glassdoor.com is very good and reliable. For example - a google search for "glassdoor dba...
-- Itzik Ben-Gan 2001
July 6, 2016 at 10:12 am
Viewing 15 posts - 601 through 615 (of 2,462 total)