Viewing 15 posts - 6,871 through 6,885 (of 7,608 total)
MyDoggieJessie (1/25/2013)
January 25, 2013 at 12:46 pm
MyDoggieJessie (1/25/2013)
newdba_sql (1/25/2013)
So this script will check if the job's last run status is successful, then it will...
January 25, 2013 at 12:18 pm
Sean Pearce (1/25/2013)
PLEASE NOTE: You have not aliased all your columns so I have no idea which tables they come from. You must edit the following queries to remove any...
January 25, 2013 at 8:55 am
Of course if you just code your dates as 'YYYYMMDD', conversion always works, and you don't have to waste a second on any of that other garbage.
January 24, 2013 at 4:50 pm
SQL* (1/23/2013)
What is the need of computed column if we can do the same thing in the query/application?
The two big advantages of computed columns are:
1) a consistent definition;
2) defined in...
January 24, 2013 at 4:47 pm
Lowell (1/24/2013)
January 24, 2013 at 4:35 pm
An extraordinarily large table (which I'll abbreviate "xlt" for convenience) can indeed cause unusual issues.
If you use tempdb, it needs (lots of) extra disk space, which basically can't be freed...
January 24, 2013 at 2:58 pm
Steven Willis (1/24/2013)To prevent unexpected errors, you should validate your dates. And the ISDATE function is not a reliable method for such validation.
ISDATE() is reliable for what it claims to...
January 24, 2013 at 2:39 pm
Marius.D (1/24/2013)
TempDB seems to be always full, maybe I'll reboot first.. thanks!
Then you've got a second issue that needs addressed! 🙂
Increase the size of tempdb until you have "slack" except...
January 24, 2013 at 10:32 am
HowardW (1/24/2013)
ScottPletcher (1/24/2013)
HowardW (1/24/2013)
ScottPletcher (1/24/2013)
HowardW (1/24/2013)
There's no need to make the column persisted prior to indexing it.
That's not necessarily always true. You might persist a column if its...
January 24, 2013 at 10:30 am
HowardW (1/24/2013)
ScottPletcher (1/24/2013)
HowardW (1/24/2013)
There's no need to make the column persisted prior to indexing it.
That's not necessarily always true. You might persist a column if its requires significant...
January 24, 2013 at 10:08 am
You can use CASE w/i a GROUP BY.
You can also use CASE w/i a SUM to control which values get aggregated. For example:
SELECT
a, b,
...
January 24, 2013 at 9:45 am
HowardW (1/24/2013)
SQL* (1/23/2013)
While reading about Computed column if found that if we mentioned PERSISTED Key word while creating/altering table then we can create index. But i'm able to create...
January 24, 2013 at 9:42 am
IF and only if ABC.COLUMN2 is a (very) large column, and ABC.COLUMN1 is used by itself a lot, it might be worthwhile to keep both indexes.
You should also review sys.dm_db_index_usage_stats...
January 24, 2013 at 9:33 am
You need to get rid of the massive GROUP BY; you should be able to do the SUM() in a subquery rather than the main query, but I can't be...
January 24, 2013 at 9:26 am
Viewing 15 posts - 6,871 through 6,885 (of 7,608 total)