Add dimension sql for procedure occurrence table