Viewing 15 posts - 16 through 30 (of 49 total)
Nice question.
From this we know that deleting records from the heap will not deallocate pages. Shriking will help to deallocate the pages from the heap ?
I know shrinking...
December 27, 2012 at 5:58 am
Yes we can create Clustered Index on a non-unique and nullable column.
If the clustered index is not a unique index, SQL Server makes any duplicate keys unique by adding an...
August 5, 2012 at 11:56 pm
Index has the limitation of 16 key columns, primary key can be either clustered or non-clustered. So it can also have only 16 columns. I guessed the answer as above.
🙂
July 29, 2012 at 10:55 pm
Nice one!!! I guessed the answer with option 3 should be false.
June 5, 2012 at 12:24 am
I used distinct to avoid duplicates.
But I won't suggest that as well 🙂
June 1, 2012 at 5:26 am
This might help as well
;With CTE
As
(Select *, Count(1) Over (Partition By TagSetName) As rn From Ex)
Select a.ProjectName, a.WorkType, a.Status, a.TagSetName,a.TagValues from CTE a where rn =1
union
Select distinct a.ProjectName, a.WorkType,...
June 1, 2012 at 4:19 am
Nice question.
When we print the variables we can see the padded space in @a.
PRINT @a
PRINT @b-2
PRINT 'A:'+@A + 'B:'+...
May 9, 2012 at 4:02 am
I have got in CTE
;with getMaxCourse AS
(Select cid,count(sid) over (partition by cid) Kount From enroll)
Select cid from getMaxCourse where Kount = (Select max(Kount) from getMaxCourse)
April 1, 2012 at 11:19 pm
Hi Andrew,
Can you share the link where you found the options.
October 21, 2010 at 6:18 am
Viewing 15 posts - 16 through 30 (of 49 total)