Viewing 15 posts - 1,996 through 2,010 (of 7,484 total)
Nice question.
At first I thought it would have been better to make this number 1 in the sequence, and make number 1 number 2, but seeing the...
January 15, 2015 at 4:31 pm
Andrew G (1/13/2015)
http://msdn.microsoft.com/en-AU/library/ms189838.aspx
Valid data types for an identity column are any data types of the integer data type category,...
January 14, 2015 at 6:41 am
easy one.
But the explanation is wrong - NULL values aren't counted, only rows are counted and a row can't be NULL.
January 13, 2015 at 8:33 pm
Ed Wagner (1/13/2015)
SQLRNNR (1/13/2015)
regexPattern
Match
January 13, 2015 at 8:19 pm
Nice question. Pity about the typing error, though ("." for ",").
January 13, 2015 at 7:31 pm
julienchappel 38298 (1/13/2015)
IDENTITY (Function) (Transact-SQL) data type
Valid data...
January 13, 2015 at 7:30 pm
Hugo Kornelis (1/12/2015)
I am also glad that Carlo used PRINT, not SELECT. I thought that using SELECT would have started the implicit...
January 12, 2015 at 2:01 pm
Nice question.
I think that having BEGIN TRANSACTION increment trancount by 2 instead of 1 is utterly silly. It's a really nasty trap that can cause pointless and damaging rollbacks.
January 10, 2015 at 4:38 pm
eric.notheisen (1/8/2015)
January 8, 2015 at 2:03 pm
legeboka (1/8/2015)
I’m trying to write a query that will select closest value to Amount field in #TestValue without go over #SM.GMAdj value
Outcome of the query should be something like...
January 8, 2015 at 1:46 pm
The change to look a prices requires only very small change to Luis' solution for the version involving validity, like this:-
WITH cteMP AS(
SELECT MachineFk,
...
January 8, 2015 at 1:05 pm
Good question.
But the first option wasn't possible even if ERROR_MESSAGE() could function outside a catch block, because if it did function it would produce the error message ("Cannot insert the...
January 8, 2015 at 11:18 am
Stuart Davies (1/7/2015)
Ed Wagner (1/7/2015)
SQLRNNR (1/7/2015)
Ed Wagner (1/7/2015)
SQLRNNR (1/7/2015)
fulguriteSand
glass
Ceiling
light
dark
January 7, 2015 at 9:30 am
Phil Parkin (1/7/2015)
If something is non-deterministic, then it's very possible for the re-evaluations of the object test to miss all of the WHEN's and produce a NULL if there...
January 7, 2015 at 8:37 am
COUNT isn't the only one, because COUNT_BIG behaves the same way as COUNT. Also, like others who have already commented, I find it hard to see how it is...
January 7, 2015 at 7:41 am
Viewing 15 posts - 1,996 through 2,010 (of 7,484 total)