Viewing 15 posts - 6,691 through 6,705 (of 8,753 total)
GilaMonster (10/25/2014)
Anyone live anywhere where they can easily get a variety of different dried chillies? Stuff CosteΓ±o, New Mexico, Choricero, Arbol, Cascabel, Ancho, Mulatto, Negro, Pasilla?
A part from picking it...
October 26, 2014 at 4:11 am
sqldriver (10/25/2014)
Eirikur Eiriksson (10/25/2014)
You are on the right track there, a simple solution would be to "UPPER" the values before hashing. SHA1 is quite a lot cheaper computationally than MD5...
October 25, 2014 at 10:24 am
Lynn Pettis (10/24/2014)
October 25, 2014 at 9:24 am
sqldriver (10/25/2014)
Upper/lowercase is throwing things off, I think.
100 Musk Ox for you, sir.
SET STATISTICS IO ON
SET STATISTICS...
October 25, 2014 at 8:46 am
Quick thought, and bear with me if I sound slow :-p
1) how can you compare a date of birth to min or max age, doesn't sound right?
2) What is the...
October 25, 2014 at 8:17 am
Have a look at this post for a more complete answer
π
October 25, 2014 at 2:34 am
To get the desired output requires some data massaging, here is an example
π
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA([Add], [New], [Pro], [Len], [Source]) AS
(
SELECT 'Acorn', Null, ...
October 25, 2014 at 2:15 am
Quick solution using aggregation to remove the null values
π
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(Advert,Network,Program) AS
( SELECT 'Acorn',NULL,NULL UNION ALL
SELECT NULL,'AC',NULL UNION ALL
SELECT NULL,NULL,'Adult'
)
SELECT
MAX(SD.Advert...
October 25, 2014 at 1:05 am
An alternative solution which doesn't require any joining. It scales well for large sets but has a weakness of returning false positives although fairly unlikely with this type of data....
October 25, 2014 at 12:13 am
Quick thought, sys.partitions is probably the best option as it does not require dynamic sql or depreciated backward compatibility objects.
π
October 24, 2014 at 10:32 am
Ville-Pekka Vahteala (10/24/2014)
Koen Verbeeck (10/24/2014)
GilaMonster (10/24/2014)
Koen Verbeeck (10/24/2014)
And I thought we had a language problem in Belgium.
At least you don't have 11 *official* languages.
Nope, only 3 and that's apparently already...
October 24, 2014 at 9:13 am
Cadavre (10/24/2014)
Eirikur Eiriksson (10/23/2014)
π
; --terminator, not begininator π
WITH LAST_TABLE AS
(
SELECT TOP(1)
T.object_id
...
October 24, 2014 at 9:07 am
Koen Verbeeck (10/24/2014)
spaghettidba (10/23/2014)
Jack Corbett (10/23/2014)
spaghettidba (10/22/2014)
Stefan Krzywicki (10/22/2014)
Of course, regionalisms mean it could be called most anything.
For example: In most of the USA, a blended milk and...
October 24, 2014 at 1:08 am
Meatloaf (10/23/2014)
How is it possible to export this to a XML file? Do I need to use BCP and cmodify the code into a string?
There are quite few ways,...
October 23, 2014 at 10:33 pm
Quick solution, should get you passed this hurdle
π
;WITH LAST_TABLE AS
(
SELECT TOP(1)
T.object_id
,T.is_ms_shipped
...
October 23, 2014 at 10:19 pm
Viewing 15 posts - 6,691 through 6,705 (of 8,753 total)