You're comparing the SQL Server 7.2 to Oracle 8.0 so when you copy the queries into SQL developer you need to the remove the into <var> for the Oracle version to work. Apologies if you already did this already.
select mcIdStore from mxi_entry where mcMSKEY=174466 AND Upper(mcEntryType)='MX_DYNAMIC_GROUP' and mcEntryState=0;