首页 \ 问答 \ 是否可以在任何ANSI SQL数据库中的外键中使用空值?(Is it possible to have nulls in Foreign keys in any ANSI SQL database?)

是否可以在任何ANSI SQL数据库中的外键中使用空值?(Is it possible to have nulls in Foreign keys in any ANSI SQL database?)

是否可以在任何ANSI SQL数据库中的外键中使用空值?


Is it possible to have nulls in Foreign keys in any ANSI SQL database?


原文:https://stackoverflow.com/questions/4057540
更新时间:2023-09-10 21:09

最满意答案

您可以调查以前尝试支持匿名或psedudonymity或两者的系统。 也许您可以使用这些系统来提高匿名性或重新发布名称。 即使您不使用这些系统,也许您可​​以将想法甚至是为这些系统开发的源代码应用到您的系统中。


You might investigate previous systems that try to support anonymity or psedudonymity or both. Perhaps you could use those systems to give improved anonymity or psedudonymity. Even if you don't use those systems, perhaps you can apply ideas and perhaps even source code developed for these systems to your system.

相关问答

更多
  • 身份验证层作为其自己的应用程序非常适合SOA设计。 有一个HTTP端点不能直接访问微服务数据库,这是SOA最佳实践: 对于我们来说,服务导向意味着将数据与对数据进行操作的业务逻辑进行封装,并通过已发布的服务接口进行唯一访问。 服务外部不允许直接访问数据库,服务之间也没有数据共享。 - 亚马逊CTO Werner Vogels 参考http://martinfowler.com/microservices/ 什么是身份验证层或服务,以及一台服务器如何确认身份验证已建立? 一种基于客户端的持久性是HTTP co ...
  • 以下awk可以帮到你。 awk 'FNR==NR{a[$1,$2,$3]++;next} a[$1,$2,$3]>1' Input_file Input_file 输出如下。 1 10 20 A 1 10 20 B 1 10 20 E 1 10 20 F 2 48 49 D 2 48 49 E 要仅获取最后一个字段的值,将a[$1,$2,$3]>1更改a[$1,$2,$3]>1{print $NF}' Following awk may help you here. awk 'FNR==NR{a ...
  • 我最后将一个参数( shouldExit )传递给bundle中的所有先前活动,并在onCreate()上检查了这个参数,如果是,我调用了finish() 。 不理想,因为链中有很多活动,但至少它是有效的。 I ended up passing in an argument (shouldExit) to all the previous activities in the bundle and checked this argument on the onCreate() and if so, I cal ...
  • 您可以调查以前尝试支持匿名或psedudonymity或两者的系统。 也许您可以使用这些系统来提高匿名性或重新发布名称。 即使您不使用这些系统,也许您可以将想法甚至是为这些系统开发的源代码应用到您的系统中。 洋葱路由器 (TOR)匿名网络有一些有趣的想法,以保持匿名。 也许你的网站可以拒绝那些不通过这种匿名网络的连接? 自由网 隐形互联网项目 (I2P) Osiris无服务器门户系统 匿名P2P应用程序 You might investigate previous systems that try to s ...
  • 你的第二个视图控制器是错误的,所以它不知道变量toPass 。 尝试改变这一点: var secondVC = segue!.SecondViewController as ViewController; 为此: if let secondVC = segue.destination as? SecondViewController { secondVC.toPass = "email" } Your cast of the second view controller is wron ...
  • 你应该做的是为你想要的信息创建getter方法。 首先,你应该让你需要访问的变量私有地存储在类中,然后将值赋给它们,然后你应该有帮助方法来返回那些数据。 所以你可以这样做: private String userName; 然后将其分配到正确的位置,并访问它: public String getName() { return userName; } What you should do is create getter methods for the ...
  • 好的,我通过切换代码来解决这个问题,这里是任何有这个问题的人的新代码。 function uploadImage(upFile,userId,description,category){console.log(“我们已经达到了连接服务以上传图像的程度......”); var form_data = new FormData(); form_data.append( '文件',upFile [0]); form_data.append( 'ID用户所',用户id); form_data.append( '描 ...
  • 你在这里显然有一个循环依赖,你不能真正使用标题来解决(可能有一些宏技巧,但我不担心)。 你应该做的是将你的代码分成声明(标题)和实现。 啊 // only include this file once per translation unit #pragma once // tell the compiler B is going to be a class, // so B* is a pointer to a class - nothing more is needed for now. class ...
  • 听起来你在每个页面加载时调用signInAnonymously() ,这确实会创建一个新的匿名用户。 您应该监控身份验证状态,并仅在用户尚未登录时登录: firebase.auth().onAuthStateChanged(function(user) { if (user) { // User is signed in. } else { firebase.auth().signInAnonymously().catch(function(error) { // Han ...
  • 现在存在的规范是在1995年在N0783中引入的,用于纠正极端情况。 引用该论文(第9页): WP将未命名的命名空间的语义定义为等效于: namespace UNIQUE { // namespace body } using namespace UNIQUE; 这是不正确的,因为它使未命名的命名空间中的代码取决于代码是在原始命名空间还是命名空间扩展中。 namespace {} // If you remove this line, the // use of ::f ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)