Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Custom SQL Index Creation for Tables with Strange Primary Keys

$
0
0

My question here is somewhat related to this thread about index fragmentation - https://community.spiceworks.com/topic/752649-sql-indexes-fragmentation-and-locking.

We've made some custom indexes for SQL tables in whichEpicor stores data from its application's custom fields. You create a custom field in the application, and the application creates a new column in a specific table for you.

For example, suppose we have a SQL table named part (canned parttable created by the Epicor application). Then I decide to add a custom field within the application to capture a datetime for each part (maybe we call it lastinspect). The application then creates the lastinspect field in a table called part_UD. After I customize the control within Epicor tied to this new field, data will be written / retrieved from the part_UD table based on business...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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