Forum Replies Created

Viewing 15 posts - 406 through 420 (of 1,132 total)

  • RE: Detecting Database Append from .NET Application

    Have you looked at SQL Server Notification Services ?

    Under SQL Server 2008, Notification Services is now part of Reporting Services and there is also a new feature named "Change Data...

  • RE: T-sql question

    Just as a follow-up, here are the resource usages when performing a SELECT instead of an UPDATE

    [font="System"]

    ResourceScanlogical readsCPU MSElapsed MS

    Triangle Join:100001 455,648 23,103 ...

  • RE: T-sql question

    Jeff is quite correct on the performance affect of a triangular join so I decided to compare using the RANK window function available under SQL Server 2005 and 2008.

    For...

  • RE: Search System

    Just a reminder that the freetext parameter needs to be defined as national varchar, so use

    SELECT TOP 100 *

    FROM dbo.People

    WHERE freetext(Full_Name, N'sanders koernic john')

    As an alternative, have you looked at...

  • RE: SAN and Raid Level

    "The Log, TempDB, and Data files all need to be in RAID5 configuration for optimum performance"

    You need to find a real expert.

    Here is an approach to confirm if a SAN...

  • RE: T-sql question

    Try this:

    UPDATE#temp

    setIDColumn

    = (Select count(*)

    from #temp as CustPrior

    whereCustPrior.CustNumber = #temp.CustNumber

    and (CustPrior.Createdate < #temp.Createdate

    or ( CustPrior.Createdate = #temp.Createdate

    andCustPrior.IDColumn<= #temp.IDColumn

    )))

  • RE: what date format is this?

    Looks like a POSIX time that is adjusted for a time zone of negative 6 hours (India?) - POSIX or UNIX time is the number of seconds since January 1st...

  • RE: Whats wrong with DISTINCT in this query?

    When the selected columns include one with a Text or Image datatype, DISTINCT and GROUP BY are not supported.

  • RE: How to determine the average disk i/o

    There is a system function named fn_virtualfilestats that will provided the statistics since SQL Server started.

    I run this function every hour versus about 200 SQL Servers.

    Table InstanceFileIORaw stages...

  • RE: Large OLTP table, Index common field, Slow INSERT performance

    Are you aware the "TIME" is a reserved word and that there is a "TIME" datatype in SQL Server 2008 ? Please consider renaming the column. The same...

  • RE: Using equal to.... please help!

    "some contacts have the ROLE of "MAIN" and "PREX", but I don't want those to come out - I only want those contacts with the ROLE of "MAIN" only to...

  • RE: How to round to nearest nickel?

    "Guess why they name division "floating point operation"?"

    Got that and sorry I was not clear, but intend to ask "what is the precision and scale of the results?" Finally...

  • RE: Virtual PM's for Jeff...

    SYSCOMMENTS is no longer a table but is a view included for backward compatability. Module source is now in a varchar(max) column and can be obtained using at least...

  • RE: How to round to nearest nickel?

    Thanks Sergiy, as per all of your posts, a simple and elegent solution.

    However, SQL Server has the resulting data type different that specified in BOL as "the result of ROUND...

  • RE: Limitation fo AND's and OR's

    Ran as test with 19,972 ORs and no problem were encountered. Believe that the only restriction will be the size of a single SQL statement that can be sent...

Viewing 15 posts - 406 through 420 (of 1,132 total)