0
2個語法之間有區別嗎?NOT LIKE和'[^ string]'之間的區別
SELECT [dbo].[Employees].[FirstName]
FROM [dbo].[Employees]
WHERE [dbo].[Employees].[FirstName] NOT LIKE '[a-c]%';
SELECT [dbo].[Employees].[FirstName]
FROM [dbo].[Employees]
WHERE [dbo].[Employees].[FirstName] LIKE '[^a-c]%';
我標記爲SQL Server。由於你的SQL不是標準的,我假設你想要一個DBMS的答案。 –