This is my amp script code :
%%[ Var @email Set @email = Lookup("forgot_password", "email","locale","en-US")]%% %%=v(@email)=%%
The locale field length in the data extension is not set (unlimited).
I am getting an error: The key field has a MAX or unlimited length. Fields with MAX or unlimited length cannot be used as keys
Is there an alternative way to do this without setting the field length? As I need to run the code for different data extension and the field length might not be set in all data extension