Viewing 15 posts - 646 through 660 (of 5,843 total)
Eirikur Eiriksson (11/10/2016)
homebrew01 (11/10/2016)
November 10, 2016 at 11:55 am
1) Indexing a column doesn't mean it will be used for an index seek operation - even if you refactor your WHERE clause as specified. If the optimizer estimates your...
November 10, 2016 at 11:52 am
ScottPletcher (11/8/2016)
It depends on how complex the trigger logic and how much different it is for each type of modification whether you want separate triggers or not.
I disagree on the...
November 8, 2016 at 10:36 am
EasyBoy (11/8/2016)
November 8, 2016 at 10:33 am
GilaMonster (11/8/2016)
November 8, 2016 at 6:57 am
dan.brown1 (11/7/2016)
November 7, 2016 at 8:42 pm
dan.brown1 (11/7/2016)
I'm running a simple SQL query which returns a set of columns based on a search criteria. It has to return 29 rows, but it is giving 0,10,22...
November 7, 2016 at 5:56 pm
Eric M Russell (11/7/2016)
TheSQLGuru (11/4/2016)
Eric M Russell (11/4/2016)
November 7, 2016 at 1:54 pm
sqlfriends (11/7/2016)
In which case we should create functions?
I can think of is for calculation, parse,...
November 7, 2016 at 1:51 pm
Why do you need anything more than a straight-up SELECT statement?
November 4, 2016 at 6:51 pm
Eric M Russell (11/4/2016)
November 4, 2016 at 2:29 pm
The DATA VALUES are absolutely meaningless in determining if you can drop a column or not!!! You must do a FULL AND COMPLETE impact analysis, searching EVERY piece of code...
November 4, 2016 at 12:47 pm
KGJ-Dev (11/4/2016)
Declare @UserGroup nvarchar(MAX);
SET @UserGroup = '|User1|User2|User3^UserGroup2@|user4|user5|user6^Usergroup3@';
selecT case when charindex('|',uc.UserGroup) = 1 then null else uc.UserGroup end, us.Item
FROM dbo.DelimitedSplit8K(@UserGroup,'^') gs
CROSS...
November 4, 2016 at 12:41 pm
I wonder if there isn't a simpler/more efficient solution if you can introduce a third delimiter thusly (either when the string is built or with a regex, etc):
November 4, 2016 at 12:05 pm
I think Visual Studio (maybe SSDT?) has some capabilities:
https://msdn.microsoft.com/en-us/library/dd172119(v=vs.100).aspx
SQL Cop definitely does:
November 4, 2016 at 10:34 am
Viewing 15 posts - 646 through 660 (of 5,843 total)