Forum Replies Created

Viewing 15 posts - 181 through 195 (of 644 total)

  • RE: SQL SERVER Performance

    The two links given above by Gail are exactly what you need at this point of time. Go through those links, they will help you to get the queries that...


    Sujeet Singh

  • RE: Restore Database

    greeshma.patla (8/28/2012)


    Hi ,

    I Dont have .mdf and .ldf files tooo 🙁

    I have only Transaction Log file and Data File

    Is it possible to restore db ?

    Please help...


    Sujeet Singh

  • RE: AlwaysOn Availability Groups in SQL Server 2012

    Very nicely written. Thanks for sharing 🙂


    Sujeet Singh

  • RE: Backup failed

    santhosh411 (8/27/2012)


    for the permission i have logged through service domain account and i have tried but no luck same error is coming

    Make sure that sharing permissions have been set correctly...


    Sujeet Singh

  • RE: Database Size

    Just remember that shrinking will cause the indexes to be fragmented. Therefore rebuilding the indexes will be required after shrinking has been done.


    Sujeet Singh

  • RE: Backup failed

    santhosh411 (8/27/2012)


    I was trying to take the backup from GUI

    When i selected the path the error i am getting is "can not verify the existence of the backup location do...


    Sujeet Singh

  • RE: Log Shipping & DataBase Mirroring

    runal_jagtap (8/27/2012)


    Thanks Gila & Divine 🙂

    Will try out the steps but what should i be ready with apart from the steps???

    I have got system with Enterprise edition & two servers...


    Sujeet Singh

  • RE: Log Shipping & DataBase Mirroring

    runal_jagtap (8/27/2012)


    I am New to the Log Shipping & DataBase Mirroring, unfortunately i am asked to perform this by Client 🙁

    an any one help me as to how should i...


    Sujeet Singh

  • RE: Configure Log Shipping Between SQL 2005 and SQL2008

    Sachin Butala-182900 (8/27/2012)


    Hi,

    If we keep SQL 2005 as primary and 2008 as secondry :-

    The databases don't get upgraded along the way. The upgrade doesn't occur until the database is recovered....


    Sujeet Singh

  • RE: Working on stored procedures

    Nice question! thanks.

    sam.dahl (8/26/2012)


    Secondly, I would have been wrong in any case because I tested this in SQL Server 2012 (since no version was specified I considered this valid):...


    Sujeet Singh

  • RE: How to do this? Part-2

    You can do it using CTE also.

    --========= Student table

    IF OBJECT_ID('tempdb..#Student') IS NOT NULL

    BEGIN

    DROP TABLE #Student

    END

    GO

    CREATE TABLE #Student

    (

    StudID VARCHAR(100),

    RollNo VARCHAR(100)

    )

    GO

    INSERT INTO #Student VALUES('Alpha', 'D1234')

    INSERT INTO #Student VALUES('beta', 'A1122')

    INSERT INTO #Student VALUES('charlie',...


    Sujeet Singh

  • RE: Year Wise Query Report Doubt

    You can do this using the PIVOT table feature of SQL Server. Read more here.

    For your problem:

    IF OBJECT_ID ('tempdb..#CrimeDetails') IS NOT NULL

    BEGIN

    DROP TABLE #CrimeDetails

    END

    GO

    CREATE TABLE #CrimeDetails

    (

    ID INT,

    Category VARCHAR(100),

    CrimeDate DATETIME

    )

    GO

    INSERT INTO...


    Sujeet Singh

  • RE: Catalog Views

    Thanks for the nice, easy question to start the friday :-)!!


    Sujeet Singh

  • RE: Inserts

    Nice question! Thanks 🙂


    Sujeet Singh

  • RE: concatenation

    Nice question :-). Thanks.


    Sujeet Singh

Viewing 15 posts - 181 through 195 (of 644 total)