Forum Replies Created

Viewing 15 posts - 271 through 285 (of 522 total)

  • RE: Optimization job on Read-only database fails

    I don't think you can. Read only means that no transactions are allowed to the database, either user transactions or maintanence transactions like reorgnize data pages, defrag index etc.

     

     

  • RE: Login Count

    I cannot figure out a simple solution. One possible way is to use event notification to monitor login event:

    CREATE EVENT NOTIFICATION Check_Login

       ON SERVER

       FOR AUDIT_LOGIN

       TO SERVICE 'YourServiceName', 'current database'

    You...

  • RE: Process Blocking Itself

    If you are using SP4, take a look http://support.microsoft.com/default.aspx/kb/906344.

     

  • RE: How to get RAISERROR severity info in Visual Basic

    When you catch an sqlexception, it has an sqlerror object, which has a property "Class". this is the severity value in sql server. the sqlerror class has other properties like Source, Message,...

  • RE: Two Databases - same name: Can do?

    System databases cannot be detached and attached.

    When you setup the second instance, the system databases are all created by the setup. You can just attached Your database if you donot...

  • RE: DTC problem with SQL 2005 on Server 2003

    The registry change Steve mentioned is to disable security for RPC. If MSDTC is configured properly, you do not need to do this. But sometimes it just does not work regarless...

  • RE: Parallel Processor Question

    Parallel execution plan sometimes really hurts the performance. I encountered several times that the parallel plan was more than 10 times slower for the same query. Once it even hang there...

  • RE: Raid Configuration

    SQL junkie: Agree with you , your company is really burning money. For a 2GB database with increasing rate of 1GB annually, the server is much over qualified.

     

  • RE: Data Size issue

    To SQLBill: the question is about file size, not memory size. They are different thing.

    To Vishal:

    One possible reason is you enabled disk quota on the database file drives and setup...

  • RE: Process Blocking Itself

    SQL server generated a parallel execution plan with 3 threads(ecid=0 to 2). 0 is the main thread. It can happen if the 3 threads have unblanced load and the main thread...

  • RE: Who uses this approach?

    I agree with the above comments about database.

    Usually it's not a good idea to put business logic on web server. It's better to be on a dedicated server protected...

  • RE: Is Peer to Peer included SQL 2005 Std Edition?

    The following link lists the features for each edtion. peer to peer replication is an option for transactional repl. So based on the link, it's supported by standard edtion.

    http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx

     

  • RE: IDENTITY crisis in SQL Server 2005, RTM version

    I tried the bulk insert scenario, no problem.

     

  • RE: Stored Procedure Performance

    I used to have a SP that had performance issue. My trick is adding WITH RECOMPILE option in the create procedure statement. It finished within 1s and very stable.

    Recompiling does...

  • RE: Encryption

    SQL 2005 supports encrypting/decrypting data natively.

    The following code is from BOL:

    USE AdventureWorks;

    GO

    --If there is no master key, create one now

    IF NOT EXISTS

        (SELECT * FROM sys.symmetric_keys WHERE...

Viewing 15 posts - 271 through 285 (of 522 total)