In light of lacking SQL Server skills assessment system, this paper analyzes the existing formal logic automatical marking technology and proposes a model about skills assessment of SQL Server based on XML. It introduces the principle of automatic marking and its procedures. It focuses on two key techniques: XML Formal Expression and XML technology automatical marking. Practice shows that the automatic marking of SQL Server database skills based on XML is practicable.