谁能帮我把这段代码转换成 Oracle SQL?或者请告诉我为什么这会在 Oracle SQL 上引发错误?
declare @PropertyName varchar(64)
set @PropertyName= 'ESRegion'
select PD.PropertyId,
PD.PropertyName,
convert(varchar(255), v.Value ) DisplayValue
from Property_Dictionary PD WITH(READUNCOMMITTED)
inner join CorpTax_LookupDefinition l on l.Lookupkey = pd.ReferenceType
join MDTable md on l.DataDictionaryTypeId = md.TableGUID
join ValueChar v on
(
v.TableID = md.TableID
and v.AttributeID = l.DisplayAttributeId
)
where PD.DataTypeid = 7
and PD.PropertyName = @PropertyName