Viewing 15 posts - 3,691 through 3,705 (of 8,731 total)
It won't delete data, but you really want to remove the Shrink Database option from your maintenance plan.
For more information, read this (and the links in that article): http://www.brentozar.com/archive/2009/08/stop-shrinking-your-database-files-seriously-now/
December 3, 2015 at 9:11 am
Sean Lange (12/2/2015)
cory.bullard76 (12/2/2015)
Ok, it is a date time field type....and I show records for Dec 1 2015.....but, when I say that field = 12/01/2015 I get 0 results
That is...
December 2, 2015 at 11:38 am
Gazareth (12/2/2015)
jasona.work (12/2/2015)
Here's a way to maybe sort of settle the semi-colon discussion amongst the forum dwellers!
PAINTBALL!
Split into two teams, semi-colon as statement terminators vs semi-colons OK at the start...
December 2, 2015 at 10:52 am
Scalar UDFs have problems with plan/row estimates. I'll try to avoid them at all costs. Maybe this can give you an idea on how to improve it: http://www.sqlservercentral.com/articles/T-SQL/91724/
December 2, 2015 at 10:24 am
GilaMonster (12/2/2015)
Correctly terminate all statements with a semicolon (they're statement terminators). The end.
If someone did not...
December 2, 2015 at 8:15 am
xsevensinzx (12/2/2015)
GilaMonster (12/2/2015)
xsevensinzx (12/2/2015)
Don't forget to put it at the beginning of each CTE too.
!Gah !No
.A semicolon is a statement *terminator* .It is not something that gets placed at the...
December 2, 2015 at 7:31 am
xsevensinzx (12/1/2015)
This is what I like that everyone despises.
Are your referring to the square brackets or the unrelated table aliases?
December 1, 2015 at 12:10 pm
JustMarie (12/1/2015)
I've advocated...
December 1, 2015 at 10:43 am
I agree on having a team standard for code formatting. However, if you want examples, here's one that I created some time ago. One image is described and the other...
December 1, 2015 at 7:37 am
You shouldn't use an index hint to be sure that the index is being used. If it's useful, it should be used automatically. If it's not used, maybe the query...
November 30, 2015 at 11:13 am
Do you really need the hints? Do you understand the problems of NOLOCK? Why do you need to specify the index? Wouldn't the query processor use it? Why not?
November 30, 2015 at 10:26 am
Check this article for better (or actual) help:
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
November 30, 2015 at 10:24 am
You have 2 options. One is exactly the same as the query that you have, and the other one will bring additional rows. I won't tell you which is which...
November 30, 2015 at 10:01 am
zicado (11/30/2015)
I still don't understand (SELECT AVG(VALUE_COMISS) FROMCOMISSION WHERE JOB.ID = COMISSION.ID)...Could someone explain this to a noob??
It's called a correlated subquery. Basically, for each ID in the JOB table...
November 30, 2015 at 9:33 am
siddharthak024 (11/30/2015)
@MYDBAYes I want to port this code to other platform.
Then it might depend on the platform. Oracle has something called START WITH...CONNECT BY which could help you.
If you give...
November 30, 2015 at 9:24 am
Viewing 15 posts - 3,691 through 3,705 (of 8,731 total)