sql - Using 'distinct' word throws error 'cannot create a row of size 8065 which is greater than the allowable maximum row size of 8060.' -


i have 3 tables in have lots of data (rows , columns). have select column table based on common column. did total no of columns more 1300. when select data keyword 'distinct' (as per requirement) throws error:

cannot create row of size 8065 greater allowable maximum row size of 8060;

but when remove keyword 'distinct' data returned. can't remove distinct need show distinct records only.

try this

alter table table_name rebuild


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -