Viewing 15 posts - 31 through 45 (of 268 total)
Thanks for this easy question ( especially when questions about Datetime2 data type seem usual since several months )
January 24, 2016 at 9:37 am
stuart.adair (1/19/2016)
January 24, 2016 at 9:30 am
Hugo Kornelis (10/30/2015)
There is a small mistake in the explanation, though. Changing data types will not cause conversion...
January 10, 2016 at 3:27 pm
TomThomson (12/29/2015)
SQLRNNR (12/29/2015)
TomThomson (12/29/2015)
Quite a nice question, but why involve PowerShell?
I was wondering that myself. It is easy enough to get a list of the configs from a simple select...
January 10, 2016 at 1:26 pm
Interesting question but an easy one for me only because I remembered that the default value of the max length of a string is 4000. I have to admit that...
January 10, 2016 at 4:52 am
Thanks for this interesting QOD.
I have been able to select the good choice only because I have read the documentation of the next SQL Server version ( 2016 ) last...
January 9, 2016 at 10:09 am
Igor Micev (1/5/2016)
J Livingston SQL (1/4/2016)
Wayne West (1/4/2016)
DECLARE @HashThis VARCHAR(20) = 'January 1, 2016';
SELECT...
January 5, 2016 at 5:36 am
Wayne West (1/4/2016)
DECLARE @HashThis VARCHAR(20) = 'January 1, 2016';
SELECT 'MD2' AS HashType, hashbytes('MD2',@HashThis) AS...
January 4, 2016 at 4:55 pm
TomThomson (1/4/2016)
But just like the 29th December question it's more about the SMO object model than about PoSh. The first option is not the right one because a...
January 4, 2016 at 3:35 pm
Thanks for this easy question ( SMO is my beloved part of SQL Server and I have written many pieces of code with it ). As PowerShell is often written...
January 4, 2016 at 3:34 pm
Lynn Pettis (1/4/2016)
Good question. Just one minor thing, I'd use the following the end of the calendar year:
SELECT DATEADD(DAY, -1, DATEADD(YEAR, DATEDIFF(YEAR, 0, GETDATE()) + 1, 0));
So short and...
January 4, 2016 at 3:11 pm
Toreador (1/4/2016)
Aaron N. Cutshall (1/4/2016)
Cut and paste issues hit us all -- even to the experienced.Especially to the experienced - the inexperienced are more likely to check things afterwards 🙂
+1...
January 4, 2016 at 2:04 pm
Excellent question for the last day of the year especially with an awesome trick : the comment for the 1st select in the 4th choice.
Before posting here , I...
December 31, 2015 at 1:59 am
Iwas Bornready (12/27/2015)
Ahhhh. How cute is that...
It's working on SQL Server2014 Express and I have looked at the Spatial Results panel ( between the Results and Messages panels )
December 27, 2015 at 8:56 am
Eirikur Eiriksson (12/26/2015)
December 27, 2015 at 1:13 am
Viewing 15 posts - 31 through 45 (of 268 total)