Source
declare @top_val int = 30 select top (@top_val) percent col1, col2, col3from yourTable
declare @top_val int = 30 select top (@top_val) percent col1, col2, col3from yourTable
Internals Viewer is a tool for looking into the SQL Server storage engine and seeing how data is physically allocated, organised and stored.I found it very useful while troubleshooting. You can download it from here
All sorts of tasks performed by a DBA or developer can benefit greatly from knowledge of what the storage engine is doing and how it works
sp_configure 'show advanced options' ,1; GO RECONFIGURE; GO sp_configure 'Web Assistant Procedures',1; GO RECONFIGURE GOThen, execute the below:
EXEC sp_makewebtask @outputfile = 'E:\testing.xls' ,@query = 'Select * from [RSBY-FINAL]..Tbl_policyRenewalDetails' ,@colheaders = 1 ,@FixedFont = 0 ,@lastupdated = 0 ,@resultstitle = 'Testing details' GO