Forum Replies Created

Viewing 15 posts - 1,471 through 1,485 (of 5,103 total)

  • RE: Optimizing SQL System Stored Procedures - What's in a SELECT?

    The use of EXISTS implies that the column list is not even checked only the WHERE predicate is taken into account.

    So with EXISTS: select 1, select 'x' and select *...

  • RE: SA Login

    binu.ma (10/6/2007)


    Thanks

    Can u help me how to do this in SQL 2000

    Binu

    Those Registry keys apply to SQL Server 2000

  • RE: Determine if field has multiple spaces

    select *

    from yourtable

    where len(address) - len( replace(address,' ','')) <= 1

  • RE: SA Login

    I am not really sure I understand your question.

    Those stored procedures can not be executed by non sa users. And they imply cycling the error log, setting up log shipping,...

  • RE: datapump is verrrrry slow

    Linda,

    That message is ususally cause by an OS trim in memory and if the sql server Edition you have is the Standard Edition you are out of luck. There is...

  • RE: SA Login

    binu.ma (10/5/2007)


    Hi

    Thanks. Can U give some examples

    Binu

    Examples:

    sp_configure -- although you can use serveradmin role I prefer this is only done by sysadmins

    sp_cycle_errorlog

    sp_procoption

    sp_addextendedproc -- although you can use CLR now...

  • RE: What privelege is needed to view 'Subscription Watch List' on Repl Monitor in 2005

    DBASkippack (10/5/2007)


    thx Noel.. much appreciated. A further description on this is located here:

    How to: Allow Non-Administrators to Use Replication Monitor (Replication Transact-SQL Programming)

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/repref9/html/a3bdde8f-4f90-401f-b26a-dfe803534de7.htm

    Cool.

  • RE: Inconsistent Query Results

    WITH (NOLOCK) Can produce dirty reads and invalid spureous ROWS.

  • RE: Increasing size of Transaction Logs

    Also you Could Try Truncating the log ...Note that this is not recommended but given your situation it may get you out of the problem.

  • RE: Bulk Insert performance

    sqlquery (10/5/2007)


    Hi ,

    I have scenario where we have huge tables Transactional replication and now requirement is to re-initialize the subscription , what are the things we need to take care...

  • RE: Optimization and replication

    Noel, you wrote, "You could stop the Log reader before those jobs run and -restart it after those jobs are done." Would you have to do this manually?

    Not really that...

  • RE: sp_scriptdynamicupdateproc

    Jeff Gray (10/3/2007)


    The procedure is sp_scriptdynamicupdproc. not ...updateproc.

    great catch. Sometimes we don't see the forest for the trees ... 😀

  • RE: identity - not for replication

    John,

    Merge gives you "automatic" identity range handling. you do want to replicate the identity values and you will have to either partition the values or use the "automatic" range. In...

  • RE: sp_opencursor error Could not create an acceptable cursor

    joachim.verhagen (10/5/2007)


    noeld (10/5/2007)


    Not entirely sure but you should check client side code for any unhandled exception. The "missing cursor declaration" part is a hint that something is not working properly...

  • RE: SA Login

    sysadmin is necessary for SERVER wide settings changes.

Viewing 15 posts - 1,471 through 1,485 (of 5,103 total)