Forum Replies Created

Viewing 15 posts - 76 through 90 (of 643 total)

  • RE: Sql Server Login

    sql_novice_2007 (2/23/2014)


    Login failed for user. error 18456 when the user is not sysadmin. If I grant the user sysadmin previleges it's working fine.

    Have you checked the default_database settings for this...


    Sujeet Singh

  • RE: Can a stored proc , return different values each time , incremented by 1

    You can also use SEQUENCE feature of SQL Server to get this functionality. However SEQUENCE are only available from SQL Server 2012 onwards.


    Sujeet Singh

  • RE: Replication

    Nice question. Thanks.


    Sujeet Singh

  • RE: FK vs Check Constraint for Lookup/Reference Tables

    Traditional Model:

    tEmployees (EmployeeID int,StatusID int)

    tEmployeesStatus (StatusID int,StatusDescription (varchar(20))

    Proposed Model:

    tEmployees (EmployeeID int,StatusDescription varchar(20))

    tEmployeesStatus (StatusDescription varchar(20))

    Create a UDF that validates the data being entered into the StatusDescription field:

    Create FUNCTION [dbo].[fnEmployeeStatusList](@EmployeeStatus varchar(20))

    RETURNS...


    Sujeet Singh

  • RE: SP2 install causing master database problem

    Beatrix Kiddo (1/9/2014)


    Right, I realised it should be

    net start mssqlserver /m

    which worked.

    However, it now won't let me restore the backup because it was taken on the version of...


    Sujeet Singh

  • RE: DIFFERENCE BETWEEN NOLOCK VS WITH(NOLOCK) IN SQL SERVER 2008

    kbhanu15 (1/9/2014)


    Hi All,

    can any one clarify the difference between NOLOCK and WITH(NOLOCK) in sql server 2008 ?

    Thanks

    Bhanu

    There is no diference between NOLOCK & WITH (NOLOCK). They both execute the query...


    Sujeet Singh

  • RE: backup script

    If you only write the backup file name & DO NOT provide the backup directory path, then SQL Server automatically takes the backup in default backup location.

    BACKUP DATABASE AdventureWorks TO...


    Sujeet Singh

  • RE: Today's Random Word!

    I don't understand the significance of this thread:cool:


    Sujeet Singh

  • RE: Replication: Distribution Agent Monitoring

    Nice article Brian. Thanks for sharing.


    Sujeet Singh

  • RE: Blocking Chain (SQL Spackle)

    plamber (9/19/2013)


    In my experience using the DMV's allows a DBA to better customize their administration experience as well as develops a better understanding of what is happening rather than using...


    Sujeet Singh

  • RE: Blocking Chain (SQL Spackle)

    Nice article Paul.

    Built-in activity monitor too can be used to check the "Head Blocker".

    There is a column "Head Blocker" under the Processes tab which returns 0 or 1...


    Sujeet Singh

  • RE: Transaction Trio

    Thanks for the question & for pointing us towards the great explanation available on the SE (by Martin Smith).


    Sujeet Singh

  • RE: Delete not working

    You must be overlooking something over there.

    I think you should recheck the access rights of the user. May be it is added in some application role that either gives...


    Sujeet Singh

  • RE: How efficient is your covered index?

    Thanks for the article.


    Sujeet Singh

  • RE: 10 Myths about Backups in SQL Server

    PHYData DBA (8/8/2013)


    Nice article but while reading it I could only thing about one thing.

    Why do you call these Myth's?

    A Myth is something that people believe is true that is...


    Sujeet Singh

Viewing 15 posts - 76 through 90 (of 643 total)