Viewing 13 posts - 46 through 58 (of 58 total)
This is a reply to Andrew Hancox post #460732...
I have seen this occur. My sproc (and ultimately application) took a long time to process. When I debugged, I was able...
February 27, 2008 at 6:49 am
When evaluating the WHERE clause, I find it good practice to include parenthsis around each target of comparison:
WHERE
( @ReorderPoint IS NULL OR ReorderPoint > @ReorderPoint )
and multiple comparisons
WHERE...
February 27, 2008 at 6:38 am
Thanks for this article. Your approach is very interesting especially with the use of CTE constructs. Finding good xml shaping articles is difficult at best and your approach...
February 13, 2008 at 2:29 am
Excellent article. Thank you very much. Your opening of how you worked in many places and faced the same issues (reporting, etc.) can, I am sure, be...
January 21, 2008 at 4:22 am
As Lynn and Matt pointed out, adding a new column and updateing will solve your problem. My example assumes you are using some version of Query Analyzer where you...
January 17, 2008 at 2:01 pm
I do not disagree with you. It was a typo on my part. The easiest way to do it is as Lyn said. I was merely pointing...
January 17, 2008 at 11:11 am
Try this:
Without sampling a large population of your nvarchar date data, I will assume the example you gave will be sufficient.
Here I simulate your scenario.
declare @TestDateValue nvarchar(50)
set @TestDateValue = '01/01/05'
select...
January 17, 2008 at 10:44 am
Using CHR(39) might be a little cleaner than tripping ticks. It is more readable as well.
For Example:
select char(39) + 'TEST STRING' + char(39)
returns: 'TEST STRING'
-Mike DiRenzo
March 23, 2006 at 7:34 am
In response to Mark Hickins comment concerning my thought processes, without question, you are obviously erudite. True, I probably would not be on your team but probably leading your department. My thought processes...
January 17, 2006 at 7:58 am
I concur with your statement of "I don't like cursors so I don't use them". It is an empty and unsupported posit. It is my...
January 17, 2006 at 6:48 am
I thought SQL Server Central was a place where developers posted original authorship. Clearly if this were original authorship, the author would have done his...
January 17, 2006 at 6:23 am
Viewing 13 posts - 46 through 58 (of 58 total)