-
Force Table Scan in SQL Server/Sybase
When extracting whole tables or large recordsets (say, at least 80% of the table), it is better to use Full Table Scan than use index. Full scan is more efficient in this case because it no longer need to search through the index for each record. It doesn’t need to because the whole table is…
-
How To Determine SQL Server Version
In case you need to know what version of SQL Server you are currently using, you can use the queries below. Starting at SQL Server 2000, you can use the following query. SELECT SERVERPROPERTY(‘productversion’), SERVERPROPERTY (‘productlevel’), SERVERPROPERTY (‘edition’) The above query is applicable for SQL Server 2000, SQL Server 2005 and SQL Server 2008. For…
Recent Comments