Forum Replies Created

Viewing 15 posts - 1,006 through 1,020 (of 1,413 total)

  • RE: Adding text to the results of a select statement

    Select 'Our only member so far is ' + firstname + ', ' + lastname + '. Let''s all say hello.'

    from names

    Fix the formatting as you want.

  • RE: Question about recent date only comparisons post

    The only acceptable way to compare dates is something like the following:

    WHERE datecol >= @startdate AND datecol < @enddate

    See SQL Server MVP Tibor Karaszi's excellent article "The ultimate guide to...

  • RE: Determining existance of a Table in SYSOBJECTS

    But you are using OBJECTPROPERTY incorrectly. The first parameter (which is called id) should contain the object_id of the object you are checking a property for, and the second parameter...

  • RE: Load Distribution

    B, F

  • RE: Attach DB and Procedure Cache

    The procedure cache is part of the memory pool for each specific SQL Server instance. So if you move a database from one server to another then naturally the procedures...

  • RE: Identity column starting with letters, i.e. wp00001 - wp00008, is it possible?

    A column with the identity property is a surrogate key, and as such should never have any meaning in reality. If you have data that should be labeled as wp00001...

  • RE: Properties Dialog Box

    Have you got SQL Server 2005 installed on the same machine? I had a similar problem when I had that setup, think it was back in Yukon Beta 2 days.

  • RE: Hits and Misses

    Yep, I do not normally use case-sensitive servers, but I always try to enforce naming and coding conventions that say exactly how to name objects and write code, where to...

  • RE: Hits and Misses

    Very good point David. And it is in fact much worse for sp_executesql, since there it means that a new plan must be compiled (and cached) in order to execute...

  • RE: Hits and Misses

    I agree with the others, very interesting article and something that I did not know about. However, I am not quite sure that everything is fully correct in the article,...

  • RE: Fragmentation 101

    Not any way that I can think of. Either shut down SQL Server or detach that specific database while you are defragging the files, otherwise it will not work.

  • RE: Measuring SQL Performance

    David: Using those tools I mentioned you will have to sum up the numbers. Ad msuraski said there are other tools that can give a better idea of the entire...

  • RE: How to change licensing

    Ah, you're right, I can't change the licensing mode. Only add extra per seat licenses...

  • RE: Worst Practice - Not Qualifying Objects With The Owner

    slider,

    It is both ways. If you create and test the scenario I describe you will see that it is John.Orders that is truncated. Normally SQL Server will default to...

  • RE: Worst Practice - Not Qualifying Objects With The Owner

    Chris,

    Your thoughts about my intent of the example are correct. I never even thought about the possibility to misinterpret it the way you fear 'newbies' might. But I do understand...

Viewing 15 posts - 1,006 through 1,020 (of 1,413 total)