Viewing 9 posts - 16 through 24 (of 24 total)
Please, clean up the question wording.
It was a little confusing differentiating between the "database" which cannot be paused; and the "database engine" which can be paused. The pause of the...
September 17, 2014 at 7:14 am
My mathematics minor finally gets some use 😛
September 16, 2014 at 9:08 am
thanks for this one, saves me from using sp_help tablename. The previously fastest way I knew.
August 6, 2014 at 6:27 am
Good to know of the function exists but I still find it more useful to subtract, as this function only returns date; not date and time. I program in a...
October 24, 2013 at 9:23 am
Depending on the configuration setting of SQL you could have the option of both statements failing.
Unless the reconfigure statement was followed by "with override"
Reconfigure with Override
August 30, 2013 at 7:41 am
I have never explored a CTE before. Good new research and learning for me.
I will use the sub select as the new work around until I finish my learning on...
April 8, 2013 at 1:48 pm
Those snippets are directly extracted from the stored procedure in its before and after state.
Here is the function
if exists (select * from sysobjects where name='fn_GetTargetTimeInServiceHours' and type='FN')
drop...
April 8, 2013 at 1:28 pm
Basically you are taking the application approach to your SQL instances. Each application, gets a dedicated service account to ensure the application is properly restricted within your environment.
And it not...
August 10, 2012 at 9:20 am
SQL2005 and higher have the coalesce command.
declare @remaining_string varchar(max)
set @remaining_string = ''
select @remaining_string = coalesce (@remaining_string + db.name + char(44), '')
from database db (nolock)
where db.id = X
order by db.name
At...
March 4, 2011 at 7:15 am
Viewing 9 posts - 16 through 24 (of 24 total)