Viewing 15 posts - 991 through 1,005 (of 8,731 total)
What happens if the sum is not exactly 30? Would you need to divide it? or should you move the whole row to a new page?
September 11, 2017 at 11:08 am
I must remind you that all days should be properly stored using the date data types. Format should be used for display only (or maybe some calculation hacks).
September 8, 2017 at 11:28 am
September 8, 2017 at 8:16 am
September 7, 2017 at 10:50 am
September 7, 2017 at 7:32 am
Congratulations Brandie!
Just take care as it seems that the weather won't be great for Florida these following dates.
September 6, 2017 at 1:37 pm
September 6, 2017 at 1:03 pm
September 6, 2017 at 11:17 am
Try this code (adapt it to your table) to find out what the problematic character is.
WITH
E(n) AS(
SELECT n FROM (VALUES(0),(0),(0),(0),(0),(0),(0),(0),(0),(0))E(n)
),
E2(n)...
September 6, 2017 at 9:09 am
It's good to know that I'm not alone in my despise for IPAs. I don't understand how they became so popular and some bars here will offer them as 80%...
September 5, 2017 at 6:55 am
There's one more alternative:
SELECT per.FirstName,
per.LastName,
emp.JobTitle,
emp.HireDate,
COUNT(*) OVER(PARTITION BY emp.JobTitle) Totalemployeeinthatjobtitle
FROM Person.person per
INNER...
September 1, 2017 at 9:22 am
Similar to Jason's solution. The CTE is only to create sample data.
WITH SampleData AS(
SELECT 'New York' + char(9) +'Washington' + char(9) +'Los Angeles' +...
August 31, 2017 at 12:25 pm
SELECT ID,
(PATINDEX('%1%',(
SELECT
CAST([2017_07] AS BIT)
, CAST([2017_06] AS BIT)
, CAST([2017_05] AS BIT)
, CAST([2017_04] AS BIT)
, CAST([2017_03]...
August 30, 2017 at 1:00 pm
August 30, 2017 at 10:27 am
Viewing 15 posts - 991 through 1,005 (of 8,731 total)