I have a table ABC having total number of records around 100000 to 150000. I want to fetch all the records with all columns within a 10 to 15 seconds. Is there any possibility to do so?
I have already tried using view or temporary table, but it takes 47 seconds to load.
DECLARE TABLE TABLE(Business varchar(1000), Practice varchar(1000),
Location varchar(1000), ProviderName varchar(1000),
InsuranceName varchar(200), CustName varchar(100), ChartNo varchar(200),
ClaimId bigint, ClaimSubmissionDate varchar(100), DOS DateTime,
Modifiers varchar(200), CPT varchar(200), CPTCat varchar(1000),
Unit varchar(200), chargeamount int, chargepostingdetailid bigint)