Using SQL Sprocket to generate TSQL Stored Procedures

SQL Sprocket is an open source template-based code generating tool designed specifically for SQL Server Database Developers. I have been using this tool for years to enforce standards, reduce errors, and quickly generate any stored procedures required by my development projects.

Read full story Comments { 0 }

Concepts for Developing Oracle 11g RAC enabled Applications

Introduction Real Application Clusters (RAC) allows multiple computers to run Oracle software simultaneously while accessing a single database, therefore providing a clustered database. In the previous non-RAC oracle database, a single instance accesses a single database. And we know that clustering is the task of assigning a set of objects into groups. In an Oracle [...]

Read full story Comments { 0 }

Generate dynamic columns using a single variable for PIVOT

I came across this very handy way of dynamically formatting and converting tables rows into columns for a PIVOT statement. No CURSOR or CTE is required, just a single variable. Run the example against a SQL 2012 instance and you will get the idea.

Read full story Comments { 0 }

Master Advanced PL/SQL concepts with “Oracle Advanced PL/SQL Developer Professional Guide”

The Oracle Advanced PL/SQL Developer Professional Guide helps you to master the advanced PL/SQL concepts in Oracle 11g. The book aims to be a sure selection for the Associate level Oracle professionals aspiring for Professional level. The topics covered and demonstrated are in line with the Oracle University prescription for Oracle Professional certification, which justify the [...]

Read full story Comments { 4 }

What is a Database?

For the technical purpose of database developers and administrators, a database is simply a collection of operating system files. Database files are normally stored in a proprietary binary format that can only be mounted by an instance of the relational database software that created them. The purpose of the database instance is to manage and deliver [...]

Read full story Comments { 0 }

Looking forward to SQL Server 2012

I finally got around to installing SQL Server 2012 RC 0 on VMware Fusion 4 yesterday. Like a kid on Christmas, I started looking for the enhancements that do not get much marketing attention, but will improve my development workflow or put an end to some administration pains. This is what I found so far: [...]

Read full story Comments { 0 }

Introduction to Oracle Exadata V2

This post came out of the difficulty to find the information needed to prepare myself for a week long Exadata proof of concept I have scheduled next month at the Oracle Technology Center  in Menlo Park. The topics listed below should confirm your suspicion that there is significant learning and study required to understand Exadata. [...]

Read full story Comments { 0 }

Understanding Oracle 11g Constraints

Introduction to Constraints Oracle constraints are defined as the rules to preserve the data integrity in the application. These rules are imposed on a column of a database table, so as to define the basic behavioral layer of a column of the table and check the sanctity of the data flowing into it. The data [...]

Read full story Comments { 2 }

Google Malware Warning

The dbanotes.com site was a recent victim of a published security vulnerability found in the framework our WordPress theme leverages, and as a result, may have been advertising malware to visitors. While we applied the security patch as quickly as possible, we were unfortunately attacked prior to the security patch being published. However, we take [...]

Read full story Comments { 2 }

Oracle 11g Pivot Functions

Data mining, processing and its presentation are the key activities in a production environment. The views and analytic integrals of the information through multiple spectacles can help in better business forecasting and strategic implementations. This innovative exercise of creating varying views might involve aggregation, data transposing, or cross tabulation reporting. Data Pivoting, one of the [...]

Read full story Comments { 2 }