The invention relates to oxime compounds of Formula (I) and pharmaceutically acceptable salts, prodrugs, or solvates thereof, wherein X is hydrogen, optionally substituted aryl, optionally substituted heteroaryl or the like; Y is CO, SO
2
, CR
3
R
4
or the like; Z is optionally substituted lower alkyl, optionally substituted aryl or the like; W is optionally substituted lower alkylene or optionally substituted lower alkenylene, R
3
and R
4
are each independently hydrogen, lower alkyl or the like; p is 0, 1, or 2 and q is 0, 1 or 2. The invention is also directed to the use compounds of Formula I to treat, prevent or ameliorate a disorder responsive to the blockade of calcium channels, and particularly N-type calcium channels. Compounds of the present invention are especially useful for treating pain.