So, say you want to only scale your 3D object on the X and Y axis.
Simple, select your object, hit S(for scale) then SHIFT + Z, this will then only scale on the X,Y axis and the same will happen if you do SHIFT+X or SHIFT+Y.
It helped me out on a design job I done last week, hope it helps you out too.