Thursday, May 9, 2013

To View Or Not To View.....


 Deciding whether or not to use a select query  versus a table view when extracting data from a database can be a bit of a perplexed decision, especially since, essentially… both queries and views can produce the same result-set. Here are a few good ‘rules of thumb’ when choosing how to execute your next data result:


·         For those of you who value performance above all else, considers using Indexed views. They can significantly improve data flow.

·         Due to the fact that table views are dependent on table data, if a corresponding table is dropped or modified in such a way that the view can no longer access the data, (as in the case of a column name change etc.), the view will become unusable, so if unsure as to whether or not data restraints on a table will change, a query should be used. When In doubt…leave it out!

·         If your query will be disbursed to a general audience, then using a simple select statement will do the trick. However, If data abstraction and permissions need to be set to control the audience of your dataset, a view of the data may be more applicable.

·         Whenever the data being extracted will require client interaction, a query may be more sufficient, as views are read-only.

·         If amendments or changes are likely to occur within your query, a view may be more suitable rather than a table query, as code reusability and the dynamic nature of views are one of their key attributes. Instead of making changes to numerous queries, a single view can be changed instead.

Saturday, April 27, 2013

SQL Server Reporting Services (SSRS)

SQL Server Reporting Services (SSRS) is a powerful business intelligence tool that provides an integrated solution for generating, Employing, and administering interactive and customizable reports based on the data stored in your database to best suit the needs of your organization.  

Each report can either be integrated within a MS Windows or web-based application, allowing for enhanced reporting features, which extend to the realm of cloud-based data. Reports can be implemented in graphical, free-form, or tabular formats and can include record data from relational, multidimensional, or Report Definition Language(RDL) via XML Files; allowing for them to be implemented in multiple viewing formats.  SSRS reports also integrate well with SharePoint and other Microsoft applications, such as MS Excel, MS Access and MS Word, making the exportation of such reports seamless between these applications.




A Few Key Features of SSRS Include:

Security: As most organizations house sensitive data, the need for data security is essential. Reporting Services allow for added security features such as controlling the accessibility of reports, making them unavailable to users with invalid credentials, ultimately allowing for control of the audience, enhancing security of all report data.

Scalability: As the data-set reflected within the report changes and the data workload increases, reports are updated to reflect those changes, making SSRS reports fully scalable.

Manageability: A key component of SSRS functionality includes the ability of the report administrator to manage and deploy reports with ease. 

Customization: Reports can be scripted to allow for fully customizable functionality, giving 'personality' to the look and feel of each report.

Ease Of Use: Even the novice can create professional reports using the provided functionality such as wizards to assist.





BEST OF THE BEST

Codes have always been deeply interwoven into the very fabric of our human existence.  We bear witness to them in our daily lives - as diffe...