使用ISO标准检查约束

发布于 2025-02-04 08:24:48 字数 510 浏览 4 评论 0原文

我正在学习SQL Server,我的练习问题之一是:

“我的SQL Server表中的一列包含国家名称。如何创建检查限制以确保国家名称使用ISO标准”,“

有什么想法吗?不幸的是没有答案键,

我为Oracle找到了一些东西 https://technology.amis.nl/it/querying-iso-country-names-and-codes-from-sql-exposing-standard-domains-based-on-dynamic-internet-retrieval /

并且想知道SQL Server是否存在类似的东西

I'm learning SQL Server and one of my exercise questions is:

"One of the columns in my SQL Server table contains country names. How do I create a check constraint to ensure country names are using ISO standards"

Any idea? Unfortunately no answer key

I found something for Oracle
https://technology.amis.nl/it/querying-iso-country-names-and-codes-from-sql-exposing-standard-domains-based-on-dynamic-internet-retrieval/

and was wondering if something similar exists for SQL Server

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文