Viewing 13 posts - 16 through 28 (of 28 total)
I got it right so I'm not complaining, but technically the alias can be defined by providing a column list as per answer 4, specifically:
WITH MonthlyProductSales (YearMonth, ProductID, SumLineTotal) AS
So...
April 9, 2015 at 2:22 am
I only raised it because I was expecting one of the sneaky gotcha type questions.
I know that User entries could be created for all of them, and immediately selected...
February 5, 2015 at 5:37 am
Time to complain about the question... (somebody always does)
A USER can be created for a certificate or asymmetric key, but they cannot Login:
Users that cannot authenticate These users cannot login...
February 5, 2015 at 3:48 am
I got it right because I use this type of query quite a lot, but I would argue that none of the queries will help you because they only return...
February 4, 2015 at 2:59 am
The explanation script is definitely wrong - it defines the columns as being numeric(17,0) i.e. 17 digits long and then tries to insert a 19 digit number, which obviously fails.
Change...
January 20, 2015 at 2:56 am
It says it very clearly here: http://msdn.microsoft.com/en-gb/library/ms188351.aspx
"Changes the name of a user-created object in the current database. This object can be a table, index, column, alias data type,...
August 13, 2014 at 4:52 am
I also don't see the trick, but even if "data" has been added properly it would (or should) still have given an error because "<a>1<c>3</c><d>4</d></a>" is not valid XML: <a>...
July 29, 2013 at 3:46 am
It is all very well saying "re-run it with this additional line" when the returned error from the code in the question is exactly the wording of one of the...
June 19, 2013 at 3:21 am
Another wrong coin flip...
I had never seen this option before so had to read it up which is great; it is the whole point of doing these questions - to...
June 13, 2013 at 3:39 am
I have to say that learning that a self-referencing Foreign Key doesn't prevent Truncate while interesting is probably not of that much practical value.
But I will say thanks for highlighting...
March 28, 2013 at 8:39 am
Well I assumed that the purpose of the question was to know that CREATE PROCEDURE has to be the first statement in a Batch and therefore the code as listed...
March 1, 2013 at 3:36 am
While I haven't tried them (have work to do) I am not convinced that any of them "work reliably" when you consider changes to and from daylight savings.
In...
November 8, 2012 at 2:44 am
A new one on me too, I would probably have ended up with really messy instr and substr or perhaps xpath functions to achieve the same.
There is an interesting example...
October 25, 2012 at 2:54 am
Viewing 13 posts - 16 through 28 (of 28 total)