Forum Replies Created

Viewing 15 posts - 1,951 through 1,965 (of 2,462 total)

  • RE: Best way to copy records with Identity columns

    First of all, without posting other information like table definition/query, you made your post a bit complicated

    so better to put this info to get result/response faster (Refer the link...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Trigger Update

    am-244616 (4/1/2010)


    declare @table_id bigint

    select @table_id=table_id from INSERTED

    This query only give one value for table_id irrespective of no of rows afftected in main table by inset/update

    see this code to get this...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Why would fragmentation increases after index rebuild.

    Can you post the result of query you posted above SELECT

    db_name(database_id),object_id, index_id, record_count, avg_fragmentation_in_percent

    FROM sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL , NULL, 'detailed')

    WHERE index_id > 0 and index_level = 0 and avg_fragmentation_in_percent...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Patches installation on SQL Server 2005.

    First of all NEVER directly patch PROD server. Always do testing on lower regions like testing or staging.

    Document the steps to follow, issues encountered and their resolution.

    See the attached...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: T-log backup

    Refer this :

    Restore Process

    To restore the database you can either do this from a query window or from the SQL Server management tools.

    These are the commands to restore the...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: select count(*)

    Paul White NZ (4/1/2010)


    If the result surprises you, please look here: http://msmvps.com/blogs/robfarley/archive/2010/01/12/t-sql-tuesday-having-puzzle-answer.aspx[/color][/font]

    Paul, Great article:-)

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL Server Alert to find the Physical server memory usage

    Refer this link http://www.microsoft.com/systemcenter/en/us/operations-manager/om-overview.aspx and attached doc

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Index performance problem...

    mjarsaniya (3/31/2010)


    -- now i have update query:

    update Soft

    set name ='MAYANK'

    WHERE FileID=1 AND PageID='0200557_00000_00001'

    Is it from any Stored proc ? if NO then i think u can incorporate this...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Intermitent Primary key violation in Nightly jobs

    post tables defintions

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Users & their Accessing DBs with Permissions

    From my previous post fetch data into permanant table DBRolePermissions from @DBRolePermissions

    and then use SELECT Principal_Name,

    CASE WHEN [CONNECT] IS NULL THEN 0 ELSE 1 END [CONNECT],

    CASE...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Users & their Accessing DBs with Permissions

    Sasidhar Pulivarthi (3/31/2010)


    DBNAme UserName dbo dbREad dbWrite............

    MDEL sa yes yes...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Users & their Accessing DBs with Permissions

    Sasidhar Pulivarthi (3/31/2010)


    DBobject UserName Read Write Execute

    tbl1 tst1 Y ...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Integration services would not uninstall

    m.John (3/31/2010)


    Please could you explain how it works.

    The data for the 'Uninstallable' is always 0 in the REGISTRY.

    i think roust_m made it Uninstallable = 1. then did the uninstallation.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Users & their Accessing DBs with Permissions

    Sasidhar Pulivarthi (3/31/2010)


    I need to get the Accssible databases for particular user & his permissions for those DBs.

    Seems like unmatured post . give more details

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL Agent

    sudhakara (3/31/2010)


    One more thing the sql agent error message is coming still.

    what kind of error ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 1,951 through 1,965 (of 2,462 total)