Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如我被建议使用计算列来解决此处描述的问题,我需要建议或实际示例如何创建计算列UpperEmail,该列将在电子邮件插入时将Email值转换为大写字母。
UpperEmail
Email
谢谢大家
假设您的表已经存在,那么这应该可以工作:
ALTER TABLE YourTable ADD UpperEmail AS (UPPER(Email))