Viewing 15 posts - 31 through 45 (of 75 total)
Jacob Wilkins (8/12/2015)
August 12, 2015 at 12:38 pm
briankwartler (8/11/2015)
LEN(', CONVERT(VARCHAR(10), CAST(1 AS INT )) as ABC')
is 47 and there are 9 single-digit...
August 11, 2015 at 2:54 pm
Toreador (8/11/2015)
Not true.
declare @test-2 nvarchar(max) = ''
select @test-2 =
August 11, 2015 at 2:50 pm
rmechaber (8/10/2015)
Yeah, well, be careful using STR() to convert from FLOAT to VARCHAR(), too:http://www.sqlservercentral.com/questions/T-SQL/94788/[/url]
Rich
Good example on STR() usage.
August 10, 2015 at 12:10 pm
jan.dewettinck (8/9/2015)
Not sure if the following link provides a better explanation.
https://msdn.microsoft.com/en-us/library/ms187928.aspx
I based my answer on the part about the style which says that the...
August 10, 2015 at 12:10 pm
Ed Wagner (8/5/2015)
andrea4618 (8/5/2015)
tom.w.brannon (8/5/2015)
Toreador (8/5/2015)
August 5, 2015 at 9:20 am
Scott-144766 (8/4/2015)
Or you might get
Msg 208, Level 16, State 0, Line 7
Invalid object name '#values'.
if you have the misfortune to be working on a case-sensitive database.
Awww!! Good point to...
August 4, 2015 at 9:27 am
Nice question and good explanations thereafter.
August 3, 2015 at 10:58 pm
Jason A. Long (7/31/2015)
UPDATE h SET
h.CHANNEL1 = vc.C1,
h.CHANNEL2 = vc.c2
FROM
#Hori h
JOIN (
SELECT
v.FILTER,
MAX(CASE WHEN v.CHANNEL = 1 THEN v.VALUE END) AS C1,
MAX(CASE WHEN v.CHANNEL = 2 THEN...
July 31, 2015 at 10:58 am
Luis Cazares (7/31/2015)
July 31, 2015 at 10:56 am
Sean Lange (7/29/2015)
Just make sure that when you use TOP you also use an ORDER BY. Otherwise it is rather pointless. 😉
I agree Sean, and this is a way to...
July 29, 2015 at 11:20 am
SqlMel (7/29/2015)
July 29, 2015 at 6:42 am
sestell1 (7/28/2015)
This behavior is a lot easier to understand if you think about NOT IN as a series of 'not equal' statements logically ANDed together:
Perfect way to restate the original...
July 28, 2015 at 1:36 pm
DIKW flashed on my mind after reading this. Data is a fact. When you ask data 'What', you get information. When you ask 'how', you acquire knowledge. When you ask...
July 28, 2015 at 12:10 am
Good One Paul. I am tweaking little to bit export it from table to excel file. Will post here once I am successful.
July 24, 2015 at 2:50 pm
Viewing 15 posts - 31 through 45 (of 75 total)