Viewing 15 posts - 61 through 75 (of 506 total)
You are defaulting @criteria to null so null concatenated with any string is null.
October 29, 2018 at 3:25 pm
UPDATE a SET
a.Address1 = b.Address1
, a.Address2 = b.Address2
, a.city = b.city
, a.stateAbbrev = b.stateAbbrev
, a.phoneNumber = b.phoneNumber
, a.email = b.email
,...
October 24, 2018 at 4:19 pm
October 23, 2018 at 9:53 am
October 19, 2018 at 1:26 pm
Look at the reports included in SSMS. Right click the server and choose Reports_>Standard Reports
October 18, 2018 at 2:51 pm
SELECT
Min(o.HistoryDateTime2) BegDt
, Max(o.HistoryDateTime) EndDt
, o.IndicatorID
, o.HoldingID
FROM #OutputTable o
GROUP BY o.IndicatorID
, o.HoldingID;
October 18, 2018 at 10:19 am
You could create an after delete trigger and insert deleted into a delete history table. You could add a column for SUser_Name() to track who made the delete if they...
October 16, 2018 at 4:42 pm
What version of SQL server are you using?
October 16, 2018 at 4:34 pm
SELECTOctober 16, 2018 at 2:20 pm
Use SSIS and schedule a job to run it.
October 16, 2018 at 1:22 pm
USE Jic
GO
CREATE TABLE dbo.abc (Month_Name nvarchar(10) NOT NULL PRIMARY KEY)
GO
INSERT dbo.abc ( Month_Name )
VALUES (N'APRIL')
, (N'AUGUST')
, (N'DECEMBER')
,...
October 10, 2018 at 2:05 pm
USE JicOctober 10, 2018 at 1:29 pm
October 5, 2018 at 3:00 pm
SELECT pcs.MACHINE_NAME
Viewing 15 posts - 61 through 75 (of 506 total)