Viewing 15 posts - 406 through 420 (of 506 total)
WITH calendarMonths(FirstOfMonth)
AS
(SELECT DateAdd(mm, number, '20170101') FROM master.dbo.spt_values sv WHERE type='P')
SELECT
calendarMonths.FirstOfMonth
FROM calendarMonths;
June 19, 2017 at 2:25 pm
You are correct. Try opening the package in SSDT. There are more options there.
June 16, 2017 at 6:00 pm
Column widths and data types can be changed by clicking the Edit Mapping button
June 16, 2017 at 10:58 am
June 16, 2017 at 10:29 am
SELECT Cast(MyDatetime, as date) FROM MyTable;
June 15, 2017 at 1:59 pm
WHERE Percentage=@percentage or WeekPercentage=@percnetage
June 15, 2017 at 12:56 pm
June 15, 2017 at 12:54 pm
Please post DDL, inserts, expected result and what you've tried so far.
Thanks.
June 13, 2017 at 1:24 pm
June 13, 2017 at 1:19 pm
DECLARE @PatientEvaluation table
(
[Evaluation_Id] [numeric](20, 0) NULL,
[EvaluationDate] [nvarchar](3000) NULL,
[EvaluationType] [tinyint] NULL,
[Evaluation_RN_Date] [nvarchar](3000) NULL
) ;
INSERT INTO...
June 13, 2017 at 12:37 pm
Please post DDL and inserts, what you've tried so far and expected result (requirements). Also check BOL first.
June 13, 2017 at 11:50 am
Try:
;
WITH LotsOfData
AS (
SELECT
Checksum(NewId()) RandomID
, Row_Number() OVER (ORDER BY Checksum(NewId())) RowNum
, Count(*) OVER (PARTITION BY ( SELECT NULL )) Countx
FROM
( VALUES (...
June 12, 2017 at 5:46 pm
SELECT
A.Custom2 as State,
BCNT = SUM(case when A.Defecttype = 'BUG' and A.ProjectName = 'Billing' ' and A.Status <> 'Closed' then 1 else 0...
June 12, 2017 at 3:25 pm
Viewing 15 posts - 406 through 420 (of 506 total)