以下代码来自 MS Access,我正在尝试对其进行转换并使其在 SQL Server 中工作。我不知道如何转换包含 IsNull 的最后一行。PS:LIS是驱动器的名称。感谢任何可以给我提示的人。
SELECT DISTINCT [Molecular Pathology].[ID#], [Molecular Pathology].[Last Name],
[Molecular Pathology].[First Name], [Molecular Pathology].Gender,
[Molecular Pathology].[Date of Birth], [Molecular Tests].[Test Type],
[Molecular Pathology].[Testing Gene], [Molecular Pathology].[Testing Exon],
[Molecular Pathology].[Tested Mutation], [Molecular Pathology].[Testing Gene 2],
[Molecular Pathology].[Testing Exon 2], [Molecular Pathology].[Tested Mutation 2],
[Molecular Tests].[Test Name], [Molecular Pathology].[Result Reported],
[Molecular Pathology].[Date Received], [Molecular Pathology].[gp#]
FROM ([Molecular Pathology]
LEFT JOIN [Molecular Select Tests]
ON [Molecular Pathology].ID = [Molecular Select Tests].ForKey)
LEFT JOIN [Molecular Tests]
ON [Molecular Select Tests].Test = [Molecular Tests].[Test Name]
WHERE ((IsNull([Molecular Pathology].[LIS SignOut])<>False));