Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

information_schema.columns slowness

$
0
0

Hi

The following select query taking around 50ms and its too costly, in my application i will call the same select statement in many times.

SELECT COUNT(1) FROM INFORMATION.SCHEMA.COLUMNS WHERE TABLE_NAME = 'TABLE_NAME' AND COLUMN_NAME = 'COLUMN_NAME'

please help me to reduce the execution time of above query.

Thanks

Surendra


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>