Viewing 15 posts - 2,281 through 2,295 (of 7,614 total)
That is normal behavior for a FULL JOIN. You need to adjust the final SELECT to reflect the fact that any table's results could be NULL, like so:
September 19, 2020 at 5:19 pm
You didn't provide nearly enough info to analyze your index needs.
However, keep in mind that SQL strongly favors equal (=) comparisons over other types. So, if your conditions are "WHERE...
September 19, 2020 at 4:02 am
But something to keep in mind is that indexes are not really designed to be a performance tool
Uh, no, they are designed exclusively to help performance. That is, increased...
September 19, 2020 at 3:58 am
Btw, you're wasting bytes making that column nvarchar rather than varchar, since the only values possible don't include any non-standard chars.
September 19, 2020 at 3:51 am
Much better would have been to create an SSMS server group(s) with all the relevant servers in it(them), then fire off the script for a given server group(s)...
September 17, 2020 at 3:51 pm
DDL triggers are a great option. I use them in nearly every db to prevent actions we don't want taken. As examples, in some dbs we don't want objects created...
September 17, 2020 at 3:42 pm
Much better would have been to create an SSMS server group(s) with all the relevant servers in it(them), then fire off the script for a given server group(s) whenever needed. ...
September 16, 2020 at 9:44 pm
I agree. I'd strongly urge to concentrate on the core aspects of SQL Server first, then learn about PowerShell later if you still want to. There's enough to learn in...
September 16, 2020 at 5:30 am
For new db(s), the support team can "notify itself". It's easy enough to check every day to see if a new db has been created, whether a user tells you...
September 16, 2020 at 4:54 am
SQL Server must pre-format log files (setting each page's non-control data to binary zeros, I think). That will take quite a while for 95GB (apparently 3 hours on your system...
September 15, 2020 at 5:55 pm
Get the best SQL administration book for whichever version of SQL you are on. The "Inside SQL Server"/Internals books with Kalen Delaney are excellent.
For learning T-SQL, get books by Itzik...
September 15, 2020 at 5:46 pm
To clarify, you can compress non-clus indexes, and should often do so, but you must compress each one separately.
Also, 80% is a very low number overall, are you sure you...
September 15, 2020 at 5:38 pm
Be sure also to make sure the "cost threshold for parallelism" is not too low. Hint: the default is too low, if you haven't changed it, you should.
September 15, 2020 at 5:32 pm
5. Avoid using reserved words as column names (PERIOD)
PERIOD is not a reserved word in SQL Server. (Nor is it reserved in ODBC, also not on the list of future...
September 14, 2020 at 9:03 pm
Sorry, I had some difficulty figuring out specifically what you meant.
September 14, 2020 at 7:00 pm
Viewing 15 posts - 2,281 through 2,295 (of 7,614 total)