How do I put indexes on an temp table
CREATE TABLE #temp (Branch VARCHAR(5),
StockCode VARCHAR(5), QTY NUMERIC(14,4))
If I wish indexes on the Branch and stockcode fields, how ?
I need to speed up searching on these temp tables in a query I am running .