Forum Replies Created

Viewing 15 posts - 2,161 through 2,175 (of 2,462 total)

  • RE: How to distinguish Master and Transaction tables

    moosamca (2/22/2010)


    In a datbase, i need to find what are all the master tables and what are the transactional tables.

    What i got from other posts and your query is,...

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

  • RE: Windows Authentication Confusion

    Here DB stands for "DOMAIN" and XXX stands for my profile name . is there any chance that

    login and user can be different ?

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

  • RE: Cant shrink log file

    If we are backing up the TLog.

    Will it reclaim the space ?

    cant we use DBCC shrinkfile option to regain the space ?

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

  • RE: sengu

    Read below posts

    http://www.akadia.com/services/sqlsrv_logins_and_users.html

    http://www.sqlservercentral.com/articles/Administration/beginningsqlserverloginsandusers/1460/

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

  • RE: need help to build a query

    my guess is you are not getting

    Db_size corectly as i think ramesh's query will return same size for both max and min.right ?

    can u provide some sample data ?...

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

  • RE: Strange Variable Issue

    declare @sql nvarchar (200), @col varchar (100)

    set @col = 'acct_id'

    SET @SQL = 'SELECT acct_num FROM account where ' + @COL + ' = 1000'

    print @SQL

    EXEC(@SQL)

    see above example...

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

  • RE: need help to build a query

    sanketahir1985 (2/23/2010)

    record for max(dbdate) & min (dbDate) for each database

    can you elaborate min and max ?

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

  • RE: Error while running xp_readerrorlog

    First , Are you using sql 2008 ?

    and second thing ( blind guess) use sa(administrator) account to run it

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

  • RE: sqlcmd - how to skip empty files?

    Why you want to skip empty file

    i dont think there is any point to keep them ?

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

  • RE: job failed in sqlserver 2000

    the error posted by you bascially general info , we get in may job failure

    post the complete error and what you are trying to do in that...

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

  • RE: Error while running xp_readerrorlog

    try sp_readerrorlog

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

  • RE: Maintenanceplan

    Tell me what you are doing in that plan

    have you migrated it from other location ?

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

  • RE: pls let me know good book for SQL administration 4rm Basics to Advanced concepts

    sumitkumar.agrawal (2/18/2010)


    hey Shriji,

    So we have this book's softcopy somewhere ??

    Find eBooks Here

    http://www.red-gate.com/about/book_store/index.htm

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

  • RE: How to audit server/DB access

    Try this

    declare @tbl table ( logdate datetime, processinfo nvarchar(20), login_text nvarchar(max))

    insert into @tbl (logdate, processinfo, login_text)

    exec sp_readerrorlog

    select * , '[' + SUBSTRING( login_text , PATINDEX ( '%CLIENT:%', login_text)+7,...

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

  • RE: Indexed Views on Sql 2005

    Paul nice example

    but if the table is heavy transactional table and we have indexed view on that and then clustered index on it.

    Will it improve the performance?

    which...

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

Viewing 15 posts - 2,161 through 2,175 (of 2,462 total)