Complex oxides show great potential for future devices as they offer functionalities beyond what can be delivered by conventional semiconductors. Among the complex oxides, the ABO$_{3}$ perovskite oxides are the most studied and engineered in the form of thin films and heterostructures. This thesis applies powerful synchrotron-based X-ray characterization tools,...