Viewing 10 posts - 1 through 10 (of 10 total)
Edited orig post for clarity.
You guys are off topic. The question is whether adding the PK (also clustered index) to a new index is superfluous.
So I was just able...
November 14, 2013 at 4:09 pm
Nevermind.
Solved:
RIGHT() is supposed to return varchar. The concatenation fails with char(2) but works when using varchar(3). I thought it would use it's own internal varchar variable to do the...
September 7, 2011 at 4:09 pm
fantastique!:-D
So much cleaner. Thx!
How do you give rep around here!?
June 18, 2011 at 3:25 pm
Steve Hoyer (6/17/2011)
June 17, 2011 at 1:02 pm
--Using ColumnName in WHERE clause returns expected results
[alias] = ColumnName
FROM dbo.TableName
WHERE ColumnName > val
-- Using an alias in Where clauses returns empty rst - NOT expected
SELECT
[alias] = ColumnName...
June 17, 2011 at 12:51 pm
Jeff, thank you for taking the time to answer. 🙂
I suspected that there would likely be some overhead involved. And thank you for the links, I'll check them...
June 7, 2011 at 10:14 am
Craig Farrell (6/1/2011)
It's simply not supported:http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319138
Thanks Craig.
JM
June 2, 2011 at 2:06 pm
same problem here. Ever figure out what the issue was?
My queries run fine, pulling data from the linked server, except where there is a funtion call.
"Msg 207,...
June 1, 2011 at 5:18 pm
Jeff Moden (1/1/2009)
gryphonsclaw (1/1/2009)
DECLARE @myVar varchar(MAX)
SET @myVar = ''
SELECT @myVar = @myVar + mycolumn + ' '
FROM myTable
SELECT...
May 31, 2011 at 6:28 pm
Viewing 10 posts - 1 through 10 (of 10 total)