percentage records table

  • Thread starter Thread starter Frank Dulk
  • Start date Start date
F

Frank Dulk

Is it possible to limit the amount of records of a query not for amount, but
for percentage?
10% of 50 records of the table = 5
 
Frank Dulk said:
Is it possible to limit the amount of records of a query not for
amount, but for percentage?
10% of 50 records of the table = 5

SELECT TOP 10 PERCENT * FROM MyTable;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top