Hi. We run sql 2012 enterprise. Because of what we do here, we often find ourselves wishing there were certain indexes on perm tables we don't control ...just for the duration of our query execution. Often, temp tables streamline what we are trying to
accomplish. Once in a while it would be nice to create an index on non oltp tables just for the duration of the spid / connection we start. In effect a temp index. One that would automatically disappear once our connection is closed. Is
this possible? Is it wise? I suppose a temp junction table is always an option. It would leverage existing indexes and xref them to the column we wish had an index.
↧