Viewing 15 posts - 31 through 45 (of 156 total)
Richard Fryar (12/19/2012)
This should work in SQL Server 2000 (not tested though):
select o.name, i.rows
from sysindexes i
join sysobjects o on i.id = o.id
where i.indid in (0, 1)
order by 2 desc
I tried...
December 19, 2012 at 11:07 am
MyDoggieJessie (12/19/2012)
SELECT
c .row_count AS [RowCount]
FROM
sys. objects a
JOIN
sys. indexes...
December 19, 2012 at 10:54 am
Is it possible to create a sql job which runs every 15 mins to check if any user is added to the db_datareader database role?
November 5, 2012 at 9:48 am
anthony.green (11/5/2012)
November 5, 2012 at 9:03 am
opc.three (10/31/2012)
sunny.tjk (10/31/2012)
November 1, 2012 at 1:57 pm
opc.three (10/31/2012)
sunny.tjk (10/31/2012)
November 1, 2012 at 8:15 am
I can think of DENY SELECT but not sure how to implement it. I'd like to accomplish DENY SELECT to everyone except to the members of the approved group.
October 31, 2012 at 1:26 pm
I'm not sure if it could be done for one particular job but you can check "SQL Server AGent Properties" and then going to HISTORY tab.
October 31, 2012 at 11:05 am
Sean Lange (10/29/2012)
sunny.tjk (10/29/2012)
Would there be any slowness in performance if a query involves dateadd(day,datediff(day,1,GETDATE()),0) in the WHERE clause?
There of course is some impact to performance but it is actually...
October 30, 2012 at 7:38 am
GilaMonster (10/22/2012)
October 22, 2012 at 1:47 pm
GilaMonster (10/22/2012)
(Size of index key + size of clustered index key) * number of rows / 8196 = number of leaf level pages required. It's an under-estimate, but it'll be...
October 22, 2012 at 9:33 am
GilaMonster (10/18/2012)
Of course they are. Just as useful as on an int, date, decimal, numeric or any other data type that's legal for index key.Please read the links I posted.
Got...
October 18, 2012 at 7:38 am
Suresh B. (10/18/2012)
sunny.tjk (10/18/2012)
So, indexes can be applied only on columns with integer values?
If it were so, SQL Server would not have allowed you to create index on char...
October 18, 2012 at 6:55 am
Viewing 15 posts - 31 through 45 (of 156 total)