Sql-Server

Ten Common SQL Programming Mistakes

Davide Mauri

Articolo che elenca e spiega come evitare i 10 più comuni errori che si fanno con T-SQL, che, secondo l’autore, sono i seguenti:

  1. NULLs and the NOT IN predicate
  2. Functions on indexed columns in predicates
  3. Incorrect subquery column
  4. Data type mismatch in predicates
  5. Predicate evaluation order
  6. Outer joins and placement of predicates
  7. Subqueries that return more than one value
  8. Use of SELECT *
  9. Scalar user-defined functions
  10. Overuse of cursors

Articolo veramente interessante, di breve lettura ma di grande utilità.

Reporting Services Scripter

Davide Mauri

Tool free per “estrarre” i report disponibili nel Report Manager ed ottenerne il relativo RDL. Oltre a questo permette l’estrazione di tutti gli oggetti memorizzati nel DB dei Reporting Services, come ad esempio immagini e sorgenti dati.

Questa la descrizione presa direttamente dal sito dell’autore:

Reporting Services Scripter is a .NET Windows Forms application that enables scripting and transfer of all Microsoft SQL Server Reporting Services catalog items to aid in transferring them from one server to another. It can also be used to easily move items on mass from one Reporting Services folder to another on the same server. Depending on the scripting options chosen, Reporting Services Scripter can also transfer all catalog item properties such as Descriptions, History options, Execution options (including report specific and shared schedules), Subscriptions (normal and data driven) and server side report parameters.