Sql-Server

Una soluzione basata su T-SQL per la manutenzione dei database

Davide Mauri

E’ risaputo che per la manutenzione degli indici di database di grandi dimensioni è opportuno lasciare perdere il Maintenance Plan messo a disposizione dal Management Studio (SSMS), e intervenire mediante Job T-SQL che realizzino una manutenzione più mirata. Lo stesso vale per le altre attività di manuntezione più tipiche quali il controllo dell’integrità del database, l’aggiornamento delle statistiche e il backup.

Recursive CTE and Bill Of Materials problem

Sergio Govoni

CTE, dalla versione 2005 di SQL Server, è l’acronimo di Common Table Expression. Una Table Expression è una tabella derivata, completamente virtuale, originata da una query. Una tabella derivata può essere citata nella clausola FROM come una qualsiasi altra tabella fisica. La visibilità di una tabella derivata è limitata alla query esterna della CTE.

Pebble Reports

Davide Mauri

Strumento per la creazione visuale di Report.

http://pebblereports.com/

Free, molto semplice da usare e con un ampio set di features:

- Tables, charts and crosstabs - Multiple sheets per report - Multiple data sources per report - Display table and chart side-by-side with same data - Conditional formatting without writing code - Full-featured graphical Query Builder; supports SQL Server and Oracle - Query builder supports editing join condition; supports building Where clause - Work directly on data (no “layout mode”) - Slice and dice data to discover trends - Drill down to see more detail - PDF, XLS and MHTML export - MHTML export compatible with Outlook and Microsoft Word - Email formatted reports as in-line HTML (as opposed to attachment) via Outlook or SMTP - On-report interactive sorting - Parameter prompting - Embed data in report, with ability to filter embedded data - Top N filter - Build complex filters with And/Or conditions - Apply style sheet - Expand All / Collapse All - Banded rows - Compact, stepped and block style display of row group headers - 16 different chart types - Charts consistent with Edward Tufte and Stephen Few principles - Performance and scalability that rivals some server-based reporting products - Calculated fields - Data displayed in controls (as opposed to paginated document) for quick browsing - Deploy report to Report Server directly - Save as RDL