Viewing 15 posts - 286 through 300 (of 325 total)
The question is imprecisely worded. In the question does not mention that the bsmith user has rights to insert/update the table.
Last time it was there.
March 28, 2016 at 5:09 pm
sknox Posted Today @ 1:22:41 PM
Good question, but the explanation is wrong on one point:
The MIN() and MAX() functions are aggregates, therefore the NULL is eliminated.
is not true.
The reason...
March 25, 2016 at 8:33 am
rcooper 78099
Posted 3/22/2016 9:56:36 PM
Msg 156, Level 15, State 1, Line 16
Incorrect syntax near the keyword 'from'.
Into Your original code, I added some notes.
Select
pc.accountnbr 'account number',
qf.description...
March 24, 2016 at 6:00 pm
Thanks Steve, that you teach us by small steps to learn about the Dynamic Data Masking. On 03/08/2016 it was about masking data type varchar. There was a reference...
March 21, 2016 at 11:48 am
Thank you for this interesting question. After TRUNCATE TABLE is the table empty. DBCC CHECKIDENT on an empty table returns null.
USE TestDB;
GO
CREATE TABLE Audit_Logins (ID INT IDENTITY, Name varchar(10));
SELECT *...
March 10, 2016 at 5:32 pm
Thanks for the interesting question Mohammad. Query result is better seen from this auxiliary script:
DECLARE @emp TABLE ( id INT );
INSERT INTO @emp VALUES ( 1 ),( 2 ),( NULL...
March 7, 2016 at 6:59 am
Thank you for your useful question and good explanation. A similar instructive example
is shown in this ref: https://msdn.microsoft.com/en-us/library/ms188048.aspx
February 17, 2016 at 5:45 am
Interesting question, thanks for excellent explanation and comprehensive reference.
February 16, 2016 at 6:08 am
An interesting question, which can be interpreted differently, thanks. It is quite unfortunate
that even this piece isn't critical to the puzzle https://support.microsoft.com/en-us/kb/926070
February 2, 2016 at 4:50 pm
Thank you Uwe for this interesting question, very good explanation and the links.
I learned today something new.:-)
January 14, 2016 at 7:48 am
A really interesting question , thanks Umer . But just simple complicated? 😉
DECLARE
@max-2 AS NVARCHAR(MAX) = ''
, @Var AS VARCHAR(4000) = 'ABCabc123';-- Varchar instead Nvarchar --
SET @max-2 =...
January 11, 2016 at 11:39 am
Useful and interesting question, thank you Steve.
The same result for i may give also this script:
SELECT
MyID
, COUNT(*) OVER (PARTITION BY '') AS i
-- OVER (PARTITION BY '') is the same...
January 7, 2016 at 5:30 am
Interesting question, thank you Steve. It reminded me of these two interesting links:
http://www.sqlbadpractices.com/keeping-maximum-server-memory-default-value/
January 6, 2016 at 5:45 am
After all, just something new today for me, thank you Steve. Happy New year to you all.:-)
January 1, 2016 at 5:26 am
Marry Christmas and thanks for your work on the SSC.com, Steve.:-)
Jiri Vobr, Czech Republic.
December 25, 2015 at 5:17 am
Viewing 15 posts - 286 through 300 (of 325 total)