Viewing 15 posts - 256 through 270 (of 397 total)
It all comes down to this: use the right tool for the right job. NoSQL databases have their uses and function well in that space just as RDBMS databases...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
March 10, 2015 at 6:35 am
Brian Hibbert (1/30/2015)
SOME and ANY are operators rather than standalone functions even though they look like functions.
I believe that this is consistent in style with operators such as IN.
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 30, 2015 at 10:30 am
Good introduction Steve! I've never used the SOME function before.
I think it's also pertinent to point out that the reason all 8 rows returned was because of the use...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 29, 2015 at 7:10 am
I have to agree that in most business organizations, the IT department is treated pretty much the same as the maintenance department. It's always seen as a cost center,...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 22, 2015 at 7:09 am
Yet, not surprising when you consider that the parent table has 1.85M rows, the child table has 7.5M rows, and the validation table has 54K. The indexes were optimized...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 14, 2015 at 12:31 pm
Chris' solution works well in environments with low to medium data volume, but in the very high data volume environment I have it's too slow. I'm considering other alternatives.
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 14, 2015 at 10:52 am
Serg,
You are correct that it essentially transforms the INNER JOIN into a sub-query.
SELECT A.Item, B.Descr, C.Color
FROM (SELECT 1 as Item UNION ALL SELECT 2 as Item UNION ALL SELECT 3...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 14, 2015 at 8:59 am
serg-52 (1/13/2015)
OK, may be just filter them in WHERE ?
Unfortunately, that would filter out rows, not columns.
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 13, 2015 at 7:43 am
ChrisM@Work (1/13/2015)
Firstly, the FROM list of your query, which looks like
SELECT ...
FROM parent
LEFT JOIN child to parent
INNER JOIN grandchild...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 13, 2015 at 7:41 am
Ed Wagner (1/12/2015)
They must want someone who knows things by the book instead of someone someone who knows the technology by using it. :sick:
That's why I have a huge...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 12, 2015 at 11:16 am
It is indeed a good question. However, I think the requirement of a primary key was a bit misleading as it can also occur when the field is simply...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
January 8, 2015 at 6:23 am
That sounds like a fantastic idea Steve, which ironically is one of the many reasons why it will probably never happen.:ermm:
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
April 23, 2014 at 10:04 pm
L' Eomot Inversé (12/31/2013)
The last second of 2013? How can that be on any day but Dec 31?
I meant that the date in the variable could have been any...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
December 31, 2013 at 10:42 am
It's interesting to point out that for the correct solution the starting date did not have to be Dec 31 but could have been ANY date within 2013.
Pretty slick there,...
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
December 31, 2013 at 6:42 am
Thanks for the confirmation. I felt like I was getting the same run-around as well, but I arrived at the same answer you did.
LinkedIn: https://www.linkedin.com/in/sqlrv
Website: https://www.sqlrv.com
December 11, 2013 at 12:58 pm
Viewing 15 posts - 256 through 270 (of 397 total)