Viewing 15 posts - 136 through 150 (of 296 total)
level is column but myvalue is just a label (but changes) on each union.
July 26, 2013 at 12:32 pm
I wanted to make level andy Myvalue as a paramter. Can that be done?
July 26, 2013 at 12:18 pm
WITH CTE (col1, col2, col3) AS
(
SELECT '1' col1,'abc' col2, 'bbc' col3 UNION ALL
SELECT '2'col1,'nbc' col2, 'zhi' col3 UNION ALL
SELECT '3'col1, NULL col2, 'abc' col3 UNION ALL
SELECT '4'col1, 'gef' col2, NULL...
July 24, 2013 at 3:46 pm
Row with abc shouldn't show up since abc is the exclusion list. On yours it is appearing twice. In row 1 and 2.
July 24, 2013 at 3:31 pm
Thanks Gail. Should I expect 10GB growth everytime I rebuild the index? This happened on only one DB that had snapshot. But I dropped snapshot before rebuilding index.
July 21, 2013 at 9:50 am
Any idea why DB grows to 10GB more after index maintenance? Should I opt for shrinkfile?
July 21, 2013 at 9:02 am
I ran the following statments
SELECT ps.database_id, ps.OBJECT_ID,
ps.index_id, b.name,
ps.avg_fragmentation_in_percent
FROM sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL, NULL, NULL) AS ps
INNER JOIN sys.indexes AS b ON ps.OBJECT_ID = b.OBJECT_ID
AND ps.index_id = b.index_id
WHERE ps.database_id = DB_ID()
ORDER...
July 20, 2013 at 11:20 am
Thank you. Thanks for the query to find out heavily used indexes. Using this, as far as statistics are concerened, we won't be able to capture _WA statistics but only...
July 19, 2013 at 1:31 pm
Thank you so much for your suggestion. How about is there a way to figure out which stats are mostly used and needs updated?
Another question...For two 150 GB database.....both of...
July 17, 2013 at 9:03 pm
Anybody can shed light on this would be much appreciated.
July 5, 2013 at 10:19 am
Each record will be unique though as it will be identified by AccountID.
June 17, 2013 at 8:05 am
It stores an account. Users will either and new account or update existing account.
June 17, 2013 at 6:33 am
All are varchar(50) except a pk which is an int. To clarify further, users enter/ update data through the web to this table. It is kind of necessary to show...
June 17, 2013 at 6:08 am
Thanks. Also noticed its increasing about 1GB per day; which is not realistic. What should I check for?
June 5, 2013 at 6:23 pm
Viewing 15 posts - 136 through 150 (of 296 total)