Viewing 15 posts - 151 through 165 (of 3,047 total)
Can't seem to get to this one.
November 22, 2016 at 4:34 pm
It reminds me of years ago when we would put warning messages in the code when someone was about to do something critical. "Are you sure?" type stuff. Soon it...
November 22, 2016 at 6:52 am
Good reminder about sp_HelpText.
November 22, 2016 at 6:48 am
Jeff Moden (11/19/2016)
November 21, 2016 at 8:03 am
christoffersen366 (11/8/2016)
From SQL Server 2014 onward you can use "sys.fn_hadr_is_primary_replica" instead to determine if the current server is primary.
Thanks for the tip.
November 21, 2016 at 7:56 am
Jeff Moden (11/16/2016)
IMHO, cleaner code if you take the shortcut.
SELECT mychar FROM mydata WHERE mychar LIKE '[[]%'
I like your shortcut. It seems easier to understand.
November 21, 2016 at 7:52 am
Laurie Dunn (11/17/2016)
This would also work and keep the code simple...SELECT *
FROM dbo.MyData
WHERE Left(mychar,1)='[';
Nice alternative, thanks.
November 21, 2016 at 7:51 am
MMartin1 (11/18/2016)
Interesting that SMALLINT will implicitly convert to INT , but INT wont implicitly convert to BIGINT. Is this the case also with a .NET language like C#?
I didn't know...
November 21, 2016 at 7:48 am
No matter what people say, for most people having a job they enjoy is the most important thing
With that I totally agree.
November 21, 2016 at 7:43 am
Nice script, thanks.
November 21, 2016 at 7:38 am
I enjoyed reading your article, reminding me of some of the odd nuances of pattern matching.
November 21, 2016 at 7:37 am
I don't think we have a Linux installation on any of our machines.
November 17, 2016 at 7:41 am
Viewing 15 posts - 151 through 165 (of 3,047 total)