Viewing 15 posts - 2,401 through 2,415 (of 15,381 total)
Alvin Ramard (9/1/2015)
Sean Lange (9/1/2015)
Alvin Ramard (9/1/2015)
SQLRNNR (9/1/2015)
GilaMonster (9/1/2015)
Ed Wagner (9/1/2015)
ZZartin (9/1/2015)
Steve Jones - SSC Editor (9/1/2015)
Passwords: http://www.pcworld.com/article/2978316/security/tired-of-memorizing-passwords-a-turing-award-winner-came-up-with-this-algorithmic-trick.html
Now if only all websites used the same algorithm to determine whether a...
September 1, 2015 at 2:58 pm
Thugs (9/1/2015)
Just Wanted to check if there is any better way to write the query without case statements.
Well...we haven't actually seen the query so I can't say there is no...
September 1, 2015 at 2:57 pm
Thugs (9/1/2015)
INSERT INTO @Tab1
SELECT 1, 'A', 'B', 'C'
UNION ALL
SELECT 2, 'D', 'E', 'F'
UNION ALL
SELECT 3, 'G',...
September 1, 2015 at 2:50 pm
bwhiteside (9/1/2015)
September 1, 2015 at 2:41 pm
Alvin Ramard (9/1/2015)
SQLRNNR (9/1/2015)
GilaMonster (9/1/2015)
Ed Wagner (9/1/2015)
ZZartin (9/1/2015)
Steve Jones - SSC Editor (9/1/2015)
Passwords: http://www.pcworld.com/article/2978316/security/tired-of-memorizing-passwords-a-turing-award-winner-came-up-with-this-algorithmic-trick.htmlNow if only all websites used the same algorithm to determine whether a password is strong enough.....
That's...
September 1, 2015 at 2:24 pm
ScottPletcher (9/1/2015)
September 1, 2015 at 1:15 pm
ScottPletcher (9/1/2015)
Sean Lange (9/1/2015)
ScottPletcher (9/1/2015)
Sean Lange (9/1/2015)
Munabhai (9/1/2015)
CREATE TABLE #TEMP
(
date1 DATE,
date2 DATE
)
insert into #TEMP values
('2011-06-18','2011-06-29'),('2010-12-09','2010-12-15'),('2011-03-04','2011-03-16'),('2010-02-09','2010-07-08'),('2010-03-10','2010-03-31'),
('2010-03-31',null),('2014-08-01',null),(null,'2010-07-08'),('2010-07-08',null),(null,'2014-05-23'),
('2011-02-09','2011-02-02'),('2011-06-22','2011-06-14'),(null,null),(null,null)
SELECT date1, date2,
CASE
WHEN (ISNULL(date1, '1900-01-01') = '1900-01-01' AND ISNULL(date2, '1900-01-01') = '1900-01-01')...
September 1, 2015 at 12:52 pm
ScottPletcher (9/1/2015)
Sean Lange (9/1/2015)
Munabhai (9/1/2015)
CREATE TABLE #TEMP
(
date1 DATE,
date2 DATE
)
insert into #TEMP values
('2011-06-18','2011-06-29'),('2010-12-09','2010-12-15'),('2011-03-04','2011-03-16'),('2010-02-09','2010-07-08'),('2010-03-10','2010-03-31'),
('2010-03-31',null),('2014-08-01',null),(null,'2010-07-08'),('2010-07-08',null),(null,'2014-05-23'),
('2011-02-09','2011-02-02'),('2011-06-22','2011-06-14'),(null,null),(null,null)
SELECT date1, date2,
CASE
WHEN (ISNULL(date1, '1900-01-01') = '1900-01-01' AND ISNULL(date2, '1900-01-01') = '1900-01-01') THEN 0...
September 1, 2015 at 11:47 am
Ed Wagner (9/1/2015)
Alvin Ramard (9/1/2015)
Lynn Pettis (9/1/2015)
Let's comment out the COMMIT and ROLLBACK statements in code during testing because I don't want to...
September 1, 2015 at 11:35 am
Munabhai (9/1/2015)
CREATE TABLE #TEMP
(
date1 DATE,
date2 DATE
)
insert into #TEMP values
('2011-06-18','2011-06-29'),('2010-12-09','2010-12-15'),('2011-03-04','2011-03-16'),('2010-02-09','2010-07-08'),('2010-03-10','2010-03-31'),
('2010-03-31',null),('2014-08-01',null),(null,'2010-07-08'),('2010-07-08',null),(null,'2014-05-23'),
('2011-02-09','2011-02-02'),('2011-06-22','2011-06-14'),(null,null),(null,null)
SELECT date1, date2,
CASE
WHEN (ISNULL(date1, '1900-01-01') = '1900-01-01' AND ISNULL(date2, '1900-01-01') = '1900-01-01') THEN 0
WHEN ISNULL(date2, '1900-01-01')...
September 1, 2015 at 11:33 am
Matt Miller (#4) (9/1/2015)
Sean Lange (8/31/2015)
Matt Miller (#4) (8/31/2015)
Sean Lange (8/31/2015)
Grant Fritchey (8/31/2015)
September 1, 2015 at 11:23 am
Matt Miller (#4) (8/31/2015)
Sean Lange (8/31/2015)
Grant Fritchey (8/31/2015)
August 31, 2015 at 10:17 am
Brandie Tarvin (8/31/2015)
Ed Wagner (8/31/2015)
Sean Lange (8/31/2015)
Grant Fritchey (8/31/2015)
August 31, 2015 at 8:42 am
Grant Fritchey (8/31/2015)
August 31, 2015 at 7:35 am
Viewing 15 posts - 2,401 through 2,415 (of 15,381 total)