Viewing 15 posts - 1,006 through 1,020 (of 8,416 total)
Revenant (1/24/2012)
"the first five binary digits of 10001001", ie., 0x10001 = 65537
Also, binary != hex (0b10001 = 17)
January 24, 2012 at 5:35 pm
Revenant (1/24/2012)
"the first five binary digits of 10001001"...
...is Jack Corbett's current points total.
January 24, 2012 at 5:33 pm
TheSQLGuru (1/24/2012)
January 24, 2012 at 5:21 pm
GilaMonster (1/24/2012)
Oooh, a palindrome! Nice.
It's also the first five binary digits of 10001001 - a number I seem to recall has special significance to you 🙂
January 24, 2012 at 5:01 pm
SQLKnowItAll (1/24/2012)
January 24, 2012 at 12:58 pm
SELECT
RIGHT(100 + (Grouped.TotalMinutes / 60), 2)
+ ':' +
RIGHT(100 + (Grouped.TotalMinutes % 60), 2)
+ ':00'
FROM...
January 24, 2012 at 12:52 pm
Good question.
CREATE FUNCTION dbo.Hash_SHA (@data nvarchar(200))
RETURNS TABLE WITH SCHEMABINDING AS RETURN
SELECT HASHBYTES('SHA', @data) AS hash_value
GO
-- Returns 1 (true)
SELECT
OBJECTPROPERTYEX(OBJECT_ID(N'dbo.Hash_SHA', N'IF'), 'IsDeterministic');
January 24, 2012 at 12:24 pm
aitchkcandoo (1/23/2012)
January 24, 2012 at 12:18 pm
Cadavre (1/24/2012)
Paul's solution is probably better...
Different; better is always subjective 🙂
January 24, 2012 at 12:14 pm
DROP TABLE #Activity
CREATE TABLE #Activity
(
ActivityId integer NOT NULL,
DepartmentID integer NOT NULL,
ActivityName nvarchar(100) NOT NULL,
...
January 24, 2012 at 9:45 am
diallonina (1/24/2012)
I've tried SQL Kiwi solution and it doesn't work :hehe:
It worked for the sample data you provided :hehe: :hehe: :hehe:
Look, images are not easy for us to work with...
January 24, 2012 at 9:17 am
djshireman (1/24/2012)
Interesting, I think I'm just trying to inappropriately apply programming techniques to my SQL experiments.
Oh I wouldn't say that - perhaps it's just T-SQL hasn't got that far yet...
January 24, 2012 at 8:21 am
mymail.default (1/23/2012)
But for below, I DO NOT get any result backSELECT *
FROM SermonList
WHERE CONTAINS(DocumentContent, ' "hebrew" ');
Why is it so (I must be missing something)
See CONTAINS (http://msdn.microsoft.com/en-us/library/ms187787.aspx) in Books...
January 23, 2012 at 6:29 pm
kirkdm01 (1/23/2012)
January 23, 2012 at 6:11 pm
Viewing 15 posts - 1,006 through 1,020 (of 8,416 total)