Novel 1-azabicycloalkane- and alkene-oximes (Ia) and 8-azabicyclo[3.2.1]octane- and octene-oximes (Ib) are provided, these compounds being useful as agents for treating pain or for treating the symptoms of senile cognitive decline. Also provided are pharmaceutical compositions containing the compounds and methods of treatment using the compounds in dosage form. ##STR1##