The inductor will generate a stable\\unchanging magnetic field. For Alternating current, the inductance comes into effect as the current is changing, it can be calculated as 2*pi*frequency of the current. The alternating current will generate a constantly changing magnetic field around the inductor.