What is better for ulcers: hyoscyamine sulfate or dicylomine?

Neither. Those are anti-spasm medications and have no role in the treatment of ulcers. You would need a ppi and treatment of hpylori if present.