I have syntax problem when declaring in Oracle. I use these variables on an MS SQL server and they work great; However, how can I declare them in Oracle?
Use in MS SQL server:
DECLARE @FROM_DT DATETIME
DECLARE @END_DT DATETIME
DECLARE @LOCATION VARCHAR(100)
SET @FROM_DT = '04/01/2011'
SET @END_DT = '05/09/2011'
SET @LOCATION ='VA'
source
share