There are two tables [UserData] and [HotelData] I\'ve linked them with a foreign key. which is \"Username\" and I want to delete which
UserData
HotelData
Username
Well. To expand on the other option which isn't exactly ideal, but should be available as well. CASCADE is easier to work with though.
Without that, your best bet is
DELETE FROM HotelData WHERE Username = @Username
Followed by
DELETE FROM UserData WHERE Username = @Username