Viewing 15 posts - 2,701 through 2,715 (of 6,038 total)
Both UserID and NTAccount should have a unique index. If UserID is clustered, then that should be the fastest access path.
April 11, 2016 at 3:51 pm
Is MyColumn of type VarChar? Perhaps what they intended to do was convert NULL values to the string 'NULL'.
For example:
ISNULL(MyTable.MyColumn, 'NULL') AS MyColumn
April 11, 2016 at 3:45 pm
This is how IT management sees it. 😛
'Cat Herders'
https://www.youtube.com/watch?v=m_MaJDK3VNE&feature=player_detailpage
April 11, 2016 at 10:14 am
Rent, home prices, property taxes, local sales tax, daily commute time: any large metropolitan city offers it all. Averaging and ranking a city based on it's aggregate whole may be...
April 11, 2016 at 7:46 am
I think what we're really talking about here is a Data Dictionary, which isn't a new concept. A good dictionary isn't an auto generated report of tables, columns, and objects;...
April 11, 2016 at 7:31 am
Eric M Russell (4/5/2016)
So here comes the question: if you were do decide on SQL practices that were always wrong, what would you include?
The following practices are almost always wrong.
1....
April 8, 2016 at 3:59 pm
Depending on the context of how it's used, seeing how often it's diced and fudged with T-SQL functions, even the common DateTime type could be seen as non-atomic.
April 8, 2016 at 3:48 pm
They're asking the wrong quesions.
Here are examples of questions that matter:
- How can you confirm that a query is using an index?
- What is the purpose of FILL FACTOR when...
April 8, 2016 at 3:26 pm
Here is an example of an 'unrestricted' left outer join.
select *
from TableA
left outer join TableB on 1 = 1;
April 8, 2016 at 3:20 pm
Rod at work (4/8/2016)
Eric M Russell (4/7/2016)
Lynn Pettis (4/7/2016)
Rod at work (4/7/2016)
Peter Schott (4/6/2016)
April 8, 2016 at 11:42 am
Hi, Phil, I believe the scenario you're referring to can best be summarized as CXPACKET blocking for teams.
April 8, 2016 at 11:33 am
Hugo Kornelis (4/7/2016)
Agreed with the advice on how to set permission, but the view definition needs to be improved:
...
(Changes made: Added column list, added schema to all object names to...
April 7, 2016 at 3:48 pm
I always insert the parent row first, get @@IDENTITY into a variable or output parameter, and then use that ID to insert child rows. Getting ETL processing in that order...
April 7, 2016 at 3:41 pm
Lynn Pettis (4/7/2016)
Rod at work (4/7/2016)
Peter Schott (4/6/2016)
April 7, 2016 at 3:36 pm
Why are folks still listing SSDE licenses for sale on eBay, when it can be downloaded for free ? 😛
April 7, 2016 at 12:45 pm
Viewing 15 posts - 2,701 through 2,715 (of 6,038 total)