How a to increase the perfomance of a SQL Statement (select * from table where param1=123,param2=345 ) .Suppose a table having more than 500,000 rows of data.
Its a DBF to SQL migration application. All data are migrated to SQL now . while Connecting to new SQL DB its taking more time in first time page load and on the second time page load it is less time
FYI : there is no join between tables , thats why using select * from commands and its a string query executing from VFP. Only Database is changed from DBF to SQL Server 2016.
Things I have done so far: 1. Added non clustered index columns based on the where clause param 2. checked the execution plan.