I'm new to SAP HANA SQL syntax and am having trouble defining input parameters. I've done several Google searches and found several different suggestions, none of which have worked. In SQL server, I would define parameters for a query this way:
DECLARE @StartDate DATETIME,
@EndDate DATETIME;
SELECT EmployeeName,
EmployeeTitle,
Salary,
PositionStartDate,
PositionEndDate
FROM EmployeeData
WHERE 1 = 1
AND PositionStartDate = @StartDate
AND PositionEndDate = @EndDate
How would I write this same query in SAP HANA SQL syntax? Any help or direction that anyone could provide would be greatly appreciated!