Enhanced examples for connecting to the DB using TNS