Viewing 15 posts - 331 through 345 (of 819 total)
I read question and answers many times because of high score.
I was searching for the swindle!
But it's only a straightforward basic question.
😀
August 4, 2014 at 1:22 am
type_desc is Latin1_General_CI_AS_KS_WS
So, also, in a "case sensitive" database type_desc LIKE '%cons%' returns data.
July 31, 2014 at 1:00 am
I'd like also a SPLIT/JOIN function as in VB. So, given a tab/cr limited string the function returns a table and viceversa.
PURGECHAR removes a list of chars from a string.
July 10, 2014 at 12:59 am
Thank you for question!
Theoretically, any query would return different value!
In practice, Only ORDER BY NEWID() works for us.
July 9, 2014 at 1:36 am
grzegorz.mozejko (6/16/2014)
grzegorz.mozejko (6/16/2014)
a small correction, when name of first index column is begining part of second index column (add comma):
...
June 16, 2014 at 3:21 am
Replace:
STUFF((SELECT ', ' + COLUMN_DATA_KEY_COLS.name
with:
STUFF((SELECT ', ' + COLUMN_DATA_KEY_COLS.name + ' ' +SUBSTRING('+-',INDEX_COLUMN_DATA_KEY_COLS.is_descending_key+1,1)
June 16, 2014 at 2:58 am
Thanks for the Article.
I voted it with 5 stars.
But there's only a hole:
Your query doesn't consider the order on columns.
Example:
create index idx_MyTab on MyTab(col1,col2)
and
create index idx_MyTab_1 on MyTab(col1 DESC,col2)
So, in...
June 16, 2014 at 2:49 am
Thanks!
declare @t varchar(10) = 'FALSE'
,@b bit
SET @b = CAST(@t as bit)
select @b
WHERE @b = 'FALSE'
June 5, 2014 at 1:08 am
This feature will be removed in a future version of Microsoft SQL Server.
http://msdn.microsoft.com/en-us/library/ms174378%28v=sql.110%29.aspx
June 3, 2014 at 1:22 am
Raghavendra Mudugal (5/30/2014)
Agreed F6 and SHIFT+F6 - both works. But they are not the same.
F6 in SSMS is "move to the next pane"...
May 30, 2014 at 2:39 am
Also SHIFT+F6. These hot keys are windows standard.
May 30, 2014 at 12:57 am
TomThomson (5/8/2014)
naas2005 (5/8/2014)
May 8, 2014 at 7:17 am
stephen.long 56048 (5/5/2014)
http://msdn.microsoft.com/en-us/library/ms187752.aspx (Data Types (Transact-SQL))
The definition of bit, shown here, calls it "An integer data type that...
May 6, 2014 at 1:04 am
In SSMS 2008 r2, results could be copied only in grid mode or if the amount of the text is less than 2MB. If text is more than 2MB you...
April 18, 2014 at 2:18 am
Viewing 15 posts - 331 through 345 (of 819 total)