gpt4 book ai didi

postgresql - != 和 <> 运算符有什么区别?

转载 作者:行者123 更新时间:2023-11-29 11:26:20 24 4
gpt4 key购买 nike

我不想不知道这一点,因为在某些情况下我需要使用一个而不是另一个。在大多数情况下,它们似乎产生相同的结果,但我猜测它们有细微的差别,可能与 NULL 值有关,或者像 PHP 中的 extra = 那样进行严格比较。

谢谢

最佳答案

来自manual :

Note: The != operator is converted to <> in the parser stage. It is not possible to implement != and <> operators that do different things.

所以不,两者之间没有区别。

关于postgresql - != 和 <> 运算符有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24060379/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com