By writing scripting procedure in VBScript, we can connect to database and can test the queries and database.