Forum Replies Created

Viewing 15 posts - 541 through 555 (of 700 total)

  • RE: Linked servers in a cluster environment

    Ensure that MSDTC is properly configured as part of the cluster, right alongside MSSQL and SQLAgent.  It is necessary for distributed transactions.

    -Eddie

  • RE: HELP! Creating Custom Primary Key in Trigger during INSERT

    Have you tried using an INSTEAD OF trigger instead of (the default) AFTER trigger?

      An INSTEAD OF trigger actually replaces the normal INSERT behavior, and it's up to you to...

  • RE: Using COMPUTE and getting query results to Excel

    Ditch COMPUTE, and use either CUBE or ROLLUP.

    The reason it doesn't work outside of QA is that your results are not a single resultset.  Each time a compute result is...

  • RE: Ctrl-Tab

    Many MDI applications use Ctrl+Tab to switch windows.

    Having never heard of your example as a 'standard', I fired up Word and Notepad to see what they did.  In both, Ctrl+Tab...

  • RE: How to set a row level lock

    If you have the memory available, SQL Server defaults to row-level locks.  If you are locking a significant number of rows on a page, it will escalate the lock into...

  • RE: Refresh method for Tables Collection

    The Refresh method simply reloads the list of tables into your DMO tables collection from the server.  It has no effect on the server or any object on it.

    To see...

  • RE: MSDBA vs MCITP (DB Admin, DB Developer and BI Developer)

    DBAhawk:  If you pick up the MCDBA, you'll be able to take an upgrade exam for MCITP: DBA (70-447) instead of the DBA tests (70-443, 70-444), and you will have...

  • RE: Where should I start?

    What are your current strengths?  Are you a developer or a systems admin?  ...or not sure which of those two you'd prefer to pursue?

    If you aren't now already proficient in...

  • RE: MS SQL vs. MySQL - why is MS SQL better?

    "Scalable" to 50M records?  We're jamming 200M records every day into a couple SQL Server 2000 databases at my company. 

    Here's the simple math:  If a company cannot afford a...

  • RE: Managing Sql 2000 with VS.NET 2003

    Just like VB6: set a reference to the SQL-DMO COM library.  COM-Interop will take care of the plumbing.  You may even be able to upgrade much of your VB6 project...

  • RE: SELECT and INNER JOIN Question - is it possible??

    Try joining Inc_History just once without the condition, and use a CASE statement to separate the two types of values to sum:

    To get the Incident_Bill time:

      CASE...

  • RE: Create (U)SP in database on linked server

    I've tried something similar in the past.  I don't recall my full experience, but I've got some ideas.  I think the key was using linkedserver.master.dbo.sp_executesql, and including a...

  • RE: Common Table expressions

    Jules,

      Common Table Expressions (CTEs) are new to SQL Server 2005, this might be a more lively thread over in one of the 2005 forums.

      From BOL:"A CTE is...

  • RE: Disallowed implicit conversion from data type varchar to data type money

    You forgot the Cell_Phone column in the temp table, between Office_Phone and Total_Contribute.

    -Eddie

     

  • RE: Identity Columns

      IDENTITY_INSERT, as Sergiv pointed out, is quite useful, but only when you wish to disable the IDENTITY column temporarily.  Only one table may have IDENTITY_INSERT set to ON for a...

Viewing 15 posts - 541 through 555 (of 700 total)