Defining database variables