Viewing 15 posts - 16 through 30 (of 39 total)
answer says
Row 3 doesn't have a space before, so it does not match.
but it is actually row 2 that does not have the space before, so row 3...
October 16, 2015 at 2:49 am
matthew.flower (7/1/2015)
As the first two answers...
July 1, 2015 at 3:38 am
Nicholas Cross (6/10/2015)
June 10, 2015 at 4:41 am
yes that now makes sense
the function ABS(CHECKSUM(NEWID()) % 100) is being treated as a field even though it is not in the select list
Each row gets a value (may be...
June 10, 2015 at 4:36 am
That doesn't answer my question. As I said the function will produce a number between 0 and 99, as you have just confirmed.
So how does ORDER BY 79 actually work...
June 10, 2015 at 1:58 am
how does that ORDER BY work?
I assumed the function would produce a number between 0 and 99 and then interpret that as a column number in the query, but there...
June 9, 2015 at 9:18 am
Hi Richard
thanks for the code. It mostly works, but does not pick up the index that I thought was redundant because it is a nonclustered index which was duplicating a...
May 12, 2015 at 8:47 am
many thanks for the replies, they do make sense.
checking the execution plan, if I run a simple query and include one of the index fields in the where clause then...
April 30, 2015 at 10:38 am
(2015+3+11)-(1900+1+1) gives 127
as that field is declared as a smalldatetime, it becomes the 126th day of the year 1900 (0th day is 1900-01-01)
this is confirmed by running select @ which...
March 23, 2015 at 4:10 am
probably related to the isnumeric function
ISNUMERIC returns 1 for some characters that are not numbers, such as plus (+), minus (-), and valid currency symbols such as the dollar sign...
January 30, 2015 at 2:33 am
cfox 61877 (1/23/2015)
CREATE FUNCTION dbo.AgeInYears
(
@BirthDate DATETIME2,
@AsOfDate DATETIME2
)
RETURNS TABLE
AS
RETURN
(
...
January 26, 2015 at 3:37 am
I'm sorry, OP is an abreviation for Original Poster
January 19, 2015 at 3:01 am
Koen Verbeeck (1/13/2015)
ps_vbdev (1/13/2015)
Koen Verbeeck (1/13/2015)
ps_vbdev (1/13/2015)
January 16, 2015 at 3:47 am
sergeg (1/9/2015)
The correct formula to convert those units are:
select @returnvalue =
case
when @FromConversionUnit = 'DC' and @ToConversionUnit = 'DF' then @UnitValue * 1.8 + 32
when @FromConversionUnit = 'DC' and...
January 9, 2015 at 8:23 am
Viewing 15 posts - 16 through 30 (of 39 total)