Home > Database > Mysql Tutorial > SQLSERVER数据库有个难以理解的错误

SQLSERVER数据库有个难以理解的错误

WBOY
Release: 2016-06-07 15:26:45
Original
1029 people have browsed it

@风醉: 我当时测过了,下面部分加上那个条件,是查不出记录来的,不加那个框框的条件确实是有记录的。 接着我在 SynchronizeInOutStore 中查询swbID,大致是这样查的: select * from V_WayBill_SubWayBill where wbID = 444 and swbID in ( selectsios_swbID

@风醉: 我当时测过了,下面部分加上那个条件,是查不出记录来的,不加那个框框的条件确实是有记录的。

 

接着我在SynchronizeInOutStore中查询swbID,大致是这样查的:

select * from V_WayBill_SubWayBill where wbID = 444 and swbID in

(

select sios_swbID from SynchronizeInOutStore

)

 

却一条也查不出,也就是SynchronizeInOutStore表中不存在对应的swbID。

 

 

纳闷

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template