Viewing 15 posts - 31 through 45 (of 78 total)
Thanks Randeep!
Although I am not doing anything with Filestream and FileTable yet, I will definitely try this out.
August 19, 2015 at 4:34 am
Hi Adam,
Thanks for taking the time to write!!
I have seen a Conditional Split used to do this.
RowNumber % 4 == 0
RowNumber % 4 == 1
RowNumber % 4 == 2
RowNumber %...
August 11, 2015 at 6:34 am
Great article! Really well written!!
August 11, 2015 at 2:57 am
Thanks for the script. I added it to my briefcase.
I noticed you are sorting by column numbers instead of names. This is considered a bad practice as it is not...
August 11, 2015 at 12:58 am
Nice Nicholas!
I use similar queries to prioritize what is going to be done during my maintenance windows.
DBCC CHECK the DBs that haven't been done in a while or ever. Same...
August 10, 2015 at 5:00 am
Thanks!
Here's a way using TSQL
SELECTLastServerStartDT= DATEADD(SECOND, -1 * (ms_ticks / 1000), GETDATE())
, LastSQLStartDT= sqlserver_start_time
FROMsys.dm_os_sys_info
August 10, 2015 at 3:03 am
Thanks for taking the time to help!
Can you compare the content column from assembly, between the 2 DB's?
When you do, are they exactly the same?
The comparison is done with the...
June 1, 2015 at 3:36 am
LOL Jeff.
RBAR is good when reading posts. 😛
April 24, 2015 at 4:25 am
Could you please demonstrate.
April 23, 2015 at 12:50 am
I know this is an old thread, but I want to share anyway.
The function uses schemabinding to make the computed column persisted.
USE TempDB
GO
IF OBJECT_ID('TempDB..#Test') IS NOT NULL
DROP TABLE #Test
GO
IF OBJECT_ID('dbo.ufn_GetHighestVal',...
April 22, 2015 at 8:52 am
Nice article thanks!
I've made that mistake before and seen others make it. It can be tricky to detect.
A colleague told me of a nifty trick today.
When releasing a trigger into...
April 8, 2015 at 9:08 am
Nice article.
I use cursors reasonably often for administrative task.
Somewhere along the line I picked up a misconception. I though LOCAL and FAST_FORWARD were defaults.
LOCAL might be the default if it...
February 3, 2015 at 8:57 am
Mark Cowne (1/6/2015)
Change
'0x' + SUBSTRING(RTRIM([program_name]), 32, 32)
to
CAST(CONVERT(VARBINARY(MAX),'0x' + SUBSTRING(RTRIM([program_name]), 32, 32),1) AS uniqueidentifier)
Thanks Mark, that did the trick.
Here's what BOL says about using CONVERT with VARBINARY
January 6, 2015 at 7:04 am
Hi Chris,
Thanks for taking the time to post a reply. 🙂
What's the magic going on behind master.dbo.fn_varbintohexstr? Not just a CAST or a CONVERT I think.
January 6, 2015 at 6:50 am
pkapas (12/29/2014)
If you have to rely on getting data from a previous view in...
January 5, 2015 at 8:20 am
Viewing 15 posts - 31 through 45 (of 78 total)