In this article, a new type of pinning control (PC) is proposed to investigate the prescribed-time synchronization (PTS) of stochastic complex dynamical networks (SCDNs) with or without time-varying delays (TVDs). It is worth noting that this article introduces stochastic perturbations in general complex dynamical networks, and investigates the properties of SCDNs with or without TVDs, respectively. Besides, using the Lyapunov method and graph theory, SCDNs with or without TVDs under PC can reach the PTS at the given settling time, where only some of the nodes of SCDNs need to be controlled. Furthermore, the theoretical results are applied to Chua's circuits and some numerical simulations are offered to support the validity of the theoretical results.