Viewing 15 posts - 76 through 90 (of 98 total)
What am I misunderstanding when I read this (https://msdn.microsoft.com/en-us/library/ms176105.aspx)
Returns information about schema-scoped objects in the current database. For a list of schema-scoped objects, see sys.objects (Transact-SQL). This...
March 7, 2017 at 7:00 am
January 13, 2017 at 1:55 pm
December 9, 2016 at 7:06 am
That was EYE opening - http://www.sqlservercentral.com/Forums/Skins/Classic/Images/MessageIcons/W00t.gif
I have often wondered of the (Effects?) of ANSI_NULLS, and now I have a slightly clearer understanding.
By changing SET ANSI_NULL to...
November 29, 2016 at 6:40 am
Eirikur Eiriksson (11/20/2016)
Budd (11/18/2016)
WOW!!!So very many possibilities, and so much to consider..
Quick questions, can you use Table Variable Parameter? How wide are the largest values passed? How many values at...
November 21, 2016 at 6:42 am
WOW!!!
So very many possibilities, and so much to consider..
November 18, 2016 at 1:57 pm
Eric M Russell (11/18/2016)
Budd (11/18/2016)
DECLARE @PARAM1 VARCHAR(2000) = 'Tom','JOE','BUDD','TIM' --< Obviously this wont work
Select...
November 18, 2016 at 12:01 pm
Thank you BOTH!!
November 18, 2016 at 7:34 am
Hi, Try something like this.
SELECT DbBsName = mf.name
,PhysicalName = mf.physical_name
,LogicalName = db.name
FROM sys.master_files mf
JOIN sys.databases db ON db.database_id=mf.database_id
WHERE db.state = 0
AND mf.file_id = 1
November 16, 2016 at 10:54 am
Nice Start, however.
SELECT TOP(1)
-- Get the path location by trimming the file name and file extension.
LEFT(physical_name,LEN(physical_name) - (LEN([name]) + 4) )
FROM sys.database_files
WHERE...
November 16, 2016 at 8:26 am
While an ORDER BY clause will guarantee an order of results, I thought I read somewhere (long ago) that with out ORDER BY, the order or results can be influenced...
November 15, 2016 at 7:01 am
Interesting Question, but you can't say that
NULL
0
1
2
NULL
is a wrong answer.
I tested this using SSMS 2016, and 2008R2 and both provided the same order of results. Perhaps the...
November 15, 2016 at 6:21 am
Thanks very much Drew.
In regards to my collation usage, and the COALESCE in the WHERE clause you are so right !! This was written Months ago and I didn't even...
October 19, 2016 at 11:50 am
Very interesting.
A little additional research shows that the 3rd parameter can be anything other than the default of zero will cause the round function to truncate at the location specified...
October 5, 2016 at 6:25 am
Thank you Alan.
"Not Replicating Triggers" the trigger itself, or the results after a triggered event?
I have just completed the install of my 2 test servers SQL 2016 DEV, Will I...
September 8, 2016 at 10:30 am
Viewing 15 posts - 76 through 90 (of 98 total)