Viewing 12 posts - 1 through 12 (of 12 total)
I think there's a much easier way, as provided by Microsoft here:
SELECT sj.Name,
CASE
WHEN sja.start_execution_date IS NULL THEN 'Not running'
WHEN sja.start_execution_date IS NOT NULL AND sja.stop_execution_date...
October 5, 2019 at 6:21 pm
I just experienced the same issue with SQL Express 2012, and was able to fix with the same vbs script (direct link) except making the adjustment as mentioned by 'braveson'...
January 24, 2016 at 3:50 pm
romefor4, thank you for your comments! Much appreciated, and I'm glad you liked the article.
Azure can be used for such a broad range of possibilities that I don't think my...
August 29, 2015 at 10:11 am
You can find the MVA course for the 70-462 exam here:
August 25, 2015 at 10:07 pm
The free trial gives you up to $200 or 30 days worth of activity, whichever comes first. If you remove the billing limit on the account before then, it will...
August 25, 2015 at 9:55 pm
The system pads the temp table name with underscores and adds a 12 digit uniquifier so that different sessions can use the same temp table name without conflict:
SELECT LEN(name), *...
April 10, 2015 at 12:09 am
Dave62 (7/16/2014)
nimbell (7/15/2014)
Does the logical definition of a Primary Key imply the presence of an index? No
In SQL...
July 16, 2014 at 9:17 am
Question didn't really make an adequate distinction between the logical and the physical:
Does the logical definition of a Primary Key imply the presence of an index? No
In SQL Server, does...
July 15, 2014 at 10:59 pm
I got it wrong, but learned something new, so good question. Phrasing it as: "The query only returns one record. This is because..." might have been more on point, though.
July 3, 2014 at 10:43 pm
I think the issue of skill growth (call it training, professional development, or just 'experience') is fundamental. Too often (in my humble experience), managers have some performance metric that is...
September 26, 2013 at 8:51 am
Dave Schutz (6/14/2013)
June 14, 2013 at 8:36 am
An alternative solution, that uses a recursive CTE instead of a WHILE loop:
--DECLARE @pmd_patient_id bigint = 100128137 --for single patient filtering
;WITH
lteWithChronSeq AS ( --add a per...
June 3, 2013 at 7:31 pm
Viewing 12 posts - 1 through 12 (of 12 total)