Viewing 15 posts - 61 through 75 (of 937 total)
None of the XPs here were distributed as 64 bit. SQL 2000 doesn't have built-in encryption.
Thanks
Mike C
October 7, 2010 at 7:07 pm
Hi David,
This was actually created for SQL 2000--before we had the max data types. There could be a chance the XP API (extended proc API) won't handle max data...
October 7, 2010 at 2:36 pm
DataDog (1/13/2010)
select 1
where 1 = 1 or datediff(hour, null, getdate()) > 4
TSQL seems to work like this:
where True OR NULL =...
August 9, 2010 at 3:34 pm
_ms65g_ (5/28/2010)
Remove duplicate side-by-side characters from a stringNew approach using numbers table
CREATE FUNCTION dbo.fnRemoveDupesI (@String VARCHAR(8000))
RETURNS VARCHAR(8000)
AS
BEGIN
DECLARE @result VARCHAR(8000) = '';
;WITH DataOrder
AS
(
SELECT ID, Data
,ROW_NUMBER() OVER (PARTITION BY Data ORDER BY ID) AS RowNum
FROM (SELECT SUBSTRING(@String, nbr, 1), nbr
FROM Nums
WHERE nbr <= LEN(@String)
) D(data, ID)
)
SELECT @result = @result + Data
FROM (SELECT ID, Data
,DENSE_RANK() OVER (ORDER BY ID - RowNum) As [Rank]
FROM DataOrder
)D
GROUP BY Data, [Rank]
ORDER BY MIN(ID)
RETURN @result
END;
Be careful with the multirow concatenation thing you got going on there. You might be better off using...
August 9, 2010 at 3:30 pm
homebrew01 (4/5/2010)
August 9, 2010 at 3:25 pm
Mark Salvador (2/3/2010)
August 9, 2010 at 3:14 pm
mceitlin (5/31/2010)
It works fine for me in general but I´m having problems when a word begins with "and" or with "or" like "orthopedics".
I´ve change, in...
August 9, 2010 at 3:11 pm
IIRC you were looking specifically for the blowfish or twofish encryption, correct? If so I have .net/clr versions that would be better to run on 2005/2008 (32 or 64...
August 9, 2010 at 10:27 am
Jeff Moden (7/23/2010)
Mike C (7/22/2010)
Jeff Moden (7/22/2010)
Mike C (7/22/2010)
Jeff Moden (7/22/2010)
Mike C (7/22/2010)
July 23, 2010 at 6:44 am
Tom.Thomson (7/22/2010)
Mike C (7/22/2010)
July 22, 2010 at 9:16 pm
Jeff Moden (7/22/2010)
Mike C (7/22/2010)
Jeff Moden (7/22/2010)
Mike C (7/22/2010)
July 22, 2010 at 4:58 pm
Jeff Moden (7/22/2010)
Mike C (7/22/2010)
July 22, 2010 at 4:17 pm
Cool, glad it worked well for you. Another optimization you might try is using the t-sql "returns null on null input" option, which allows sql server to short-circuit null...
July 22, 2010 at 3:22 pm
Oh yeah, almost forgot to mention, your performance difference between the version with global constants and the one with no global constants is probably due to implicit conversions from Decimal...
July 22, 2010 at 2:19 pm
You should be able to access the SqlDecimal values directly using the .Value property of the SqlDecimal variables. The reason people recommend using SqlDecimal instead of "native" .NET Decimal...
July 22, 2010 at 1:58 pm
Viewing 15 posts - 61 through 75 (of 937 total)