Forum Replies Created

Viewing 15 posts - 16 through 30 (of 491 total)

  • RE: Unnecessary Index?

    No it's not. SQL includes the clustering key in all nonclustered indexes anyway whether you specify it or not

    I agreed,but there is no need to mentioned in the nonclustered index,it...

  • RE: Rebuilding indexes on SQL Server 2005

    Rebuild Indexes effect when you have page count > 1000,check the page count of the index with the help of

    sys.dm_db_index_physical_stats

    http://msdn.microsoft.com/en-us/library/ms188917.aspx

  • RE: Transaction Log

    It's most ironic that you've taken the very same position which you are complaining the most about

    another non professional person :w00t:,I didnt say anything about anyone solution here because every...

  • RE: Transaction Log

    @opc.three

    thanks and I appreciate

    Oh for crying out loud

    mentally disorder

    Yes I absolutely did read the entire paragraph. Are you telling me that when DBAs write scripts they are not developing...

  • RE: Unnecessary Index?

    Dont use Clustered index column in the NonClustered index this is overhead and leaf level of this nonclustered index will be same as your index when you will create the...

  • RE: Transaction Log

    Yes, it's bad practice. Sysprocesses is deprecated, it's a compatibility view solely for old code written for SQL 2000

    Practice and Recommendation are 2 different things,Here we are providing solution,that is...

  • RE: Stored procedure performance tuning

    you must have indexes on the columns which those are using in WHERE clause and in joins

  • RE: Transaction Log

    btw, why do you persist in writing queries against a compatibility view that is deprecated and scheduled for removal. You're teaching people bad practices.

    is this bad practice ? what...

  • RE: Equilogic & LeftHand SAN

    Go for this to EMC or IBM

  • RE: Restrict Linked server user to see system tables and views

    if you have passed the T-sql GRANT SELECT ON

    TO then he cant access the systems databases and systems objects even other user objects

  • RE: Transaction Log

    If Code is executed then execute this script

    SELECT ST.TEXT,SP.SPID,WAITTIME,LASTWAITTYPE,CPU,PHYSICAL_IO,STATUS,HOSTNAME,PROGRAM_NAME,CMD,LOGINAME FROM SYS.SYSPROCESSES SP

    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(SP.SQL_HANDLE) ST

    WHERE STATUS ='SLEEPING'

    ORDER BY CPU DESC

    if code is executing then execute this script

    SELECT ST.TEXT,SP.SPID,WAITTIME,LASTWAITTYPE,CPU,PHYSICAL_IO,STATUS,HOSTNAME,PROGRAM_NAME,CMD,LOGINAME FROM SYS.SYSPROCESSES...

  • RE: Performance issue

    Did you move from sql server 2005 to sql server 2008 ?

    Are you doing routine maintenance of the Server ? if you are doing this whats are the step ?

    SELECT...

  • RE: Built-in Administrators

    Recommended to remove the SysAdmin Role on these type of users in the case of SQL Server mode + Windows Authtication option is enabled

  • RE: Restricting DBA from accessing SQL DB objects

    For PCs

    CREATE TRIGGER [CONNECTION_LIMITED]

    ON ALL SERVER WITH EXECUTE AS 'sa'

    FOR LOGON

    AS

    BEGIN

    IF (host_name() in('PC201','PC301')

    ROLLBACK;

    END;

    For Combination of PC's name and Application

    CREATE TRIGGER [CONNECTION_LIMITED]

    ON ALL SERVER WITH EXECUTE AS...

  • RE: Create linked server to Avaya CMS database

    Try with this Info

    Product Name : Informix

    Data Source Name : DSN Name

    Catalog : Database Name

Viewing 15 posts - 16 through 30 (of 491 total)