With a decent query optimiser: it shouldn’t.
But in practice, I suspect it might.
You can only tell for your cases by measuring. And the measurements will likely change as the distribution of data changes in the database.
More Related Contents:
- What makes a SQL statement sargable?
- What do Clustered and Non-Clustered index actually mean?
- Which are more performant, CTE or temporary tables?
- SQL Server: Query fast, but slow from procedure
- XML Server XML performance optimization
- Using varchar(MAX) vs TEXT on SQL Server
- SQL Server pivot vs. multiple join
- LIKE vs CONTAINS on SQL Server
- SQL Server Query: Fast with Literal but Slow with Variable
- cross apply xml query performs exponentially worse as xml document grows
- Which is quicker COALESCE OR ISNULL?
- Slow query with cfqueryparam searching on indexed column containing hashes
- SQL Server – error when creating stored procedure
- How do I enable MSDTC on SQL Server?
- Change type of a column with numbers from varchar to int
- Get row where datetime column = today
- ‘Incorrect SET Options’ Error When Building Database Project
- Create Stored Procedures using Entity Framework Code First?
- ADO.NET calling T-SQL Stored Procedure causes a SqlTimeoutException
- SQL Server – How to insert a record and make sure it is unique
- Full text catalog/index search for %book%
- “If not exists” fails on SQL CE
- Does the `nodes()` method keep the document order?
- Why insert-select to variable table from XML variable so slow?
- Set database name dynamically in SQL Server stored procedure?
- Incorrect syntax near ‘)’ calling stored procedure with GETDATE
- Docker SQL bind: An attempt was made to access a socket in a way forbidden by its access permissions
- Generate MD5 hash string with T-SQL
- Why can’t Entity Framework see my Stored Procedure’s column information?
- How to avoid SSIS FTP task from failing when there are no files to download?