u can use the oraenv facility

You put mutiple entries in the oratab file, and do . oraenv and hey presto your envrionment changes to the sid you require