Viewing 15 posts - 9,991 through 10,005 (of 59,099 total)
Please don't use EOMonth. If you're trying to write criteria to isolate a month in your queries, use the standard of "SomeDate >= FirstOfMonth and SomeDate < FirstOfNextMonth". It'll work...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2019 at 6:48 pm
I could easily put together a test in a VS project but it...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2019 at 11:52 am
Bruce-12445 - Monday, January 21, 2019 11:16 PMthanks Jeff the OPENQUERY solution solved all discrepancies.
Thanks for the feedback, Bruce.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2019 at 11:03 am
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2019 at 11:02 am
However, you'd almost...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2019 at 10:57 am
First, learn how to use all of the built-in functions of SQL Server/T-SQL because, as with any language, that's where a lot of the performance is.
Second, read and...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2019 at 12:19 am
Be --Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
January 22, 2019 at 12:04 am
The "Levenshtein Distance Algorithm" seems to be one of the most accurate. Here's one link and, of course, Google is loaded for bear on this subject.
https://www.red-gate.com/simple-talk/sql/t-sql-programming/fuzzy-searches-sql-server/ --Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
January 21, 2019 at 11:36 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 11:23 pm
Thanks for taking the time to write a nice simple article on the subject of LAG.
Shifting gears as a bit of a suggestion...
While a graphical representation of...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 11:17 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 11:10 pm
jkramprakash - Sunday, January 20, 2019 9:56 AMview will be faster then table?.Please suggest.so that i can avoid second table.
No. It's not...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 11:05 pm
While you may consider it to be an extra step (and it is), I never import directly into a final table anyway. I always import into a staging table to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 11:02 pm
My favorite job description in an actual ad was one that I found in a newspaper right around 2003. It was short, sweet, and to the point.
"SQL Wanted:...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 3:21 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2019 at 3:09 pm
Viewing 15 posts - 9,991 through 10,005 (of 59,099 total)