Simple Way To Use Pivot In SQL Query
This post intends to help T-SQL developers get started with PIVOT queries. Most business applications will need some sort of PIVOT queries and I am sure many of you must have come across pivoting requirements several times in the past.
Let us have a table name Invoice which has Read More →


Software requirement
We willl use PostgreSQL
Download latest stable PostgreSQL RPM for CentOS 7 :
Install this release :
Create a new PostgreSQL database cluster :
We will install Java 8 SDK
Install “java-1.8.0-openjdk-devel” package :
Web browser
SonarQube installation
Download SonarQube, and copy it to your server :
PosgreSQL configuration
User & database
Logon as “postgres” :
Set password (here : ‘sonar’) to this PosgreSQL user :
Start & Read More →


PL/SQL Cop for SonarQube is a plugin for SonarQube. The plugin analyses SQL and PL/SQL code and calculates various metrics and checks the code for compliance of the Trivadis PL/SQL &  SQL Coding Guidelines Version 2.0. Behind the scenes the plugin calls the PL/SQL Cop command line utility for the static code analysis.
A static code analysis is typically initiated as part of an Read More →


Merging code. Coordinating releases. Determining build status. Maintaining updates. If you know the frustration of these processes well enough that the words themselves threaten a headache, you might want to look into Jenkins CI.
Maintaining any project, especially one developed by several team members concurrently and one that might incorporate many functions, components, languages, and environments, Read More →


Liquibase is a dabasebase chane management tool. Rather than writing SQL directly against the database to create, update or drop database objects, developers define their desired database changes in XML files.
Any change to database are grouped into "ChangeSet", the best practice is one changeset per modification to make roll back easily. Changes to database can Read More →


1. Install Java
Liquibase 3.x requires Java 1.6+ so lets get that installed first
2. Get the Liquibase Code
I'm just going to install put Liquibase in the home directory for now
3. Install MySQL
4. Install the MySQL connector for Java
5. Create the MySQL database
6. Create a Changelog file
Add the following...
7. Run Liquibase
8. Create a file
Add the following...
9. Read More →


This week at Redgate HQ we’ve been lucky enough to have a visit from Dave Farley, Continuous Delivery evangelist and co-author of the book Continuous Delivery.
In one of our discussions we started talking about database unit testing. Pretty soon we realized we both meant something fundamentally different when we called something a database unit test.  Read More →


With OSX 10.11 El Capitan, here is how to get the AMP stack up and running. This tutorial will go through the process on getting Apache, MySQL, PHP (or otherwise known as the ‘AMP’ stack) and phpMyAdmin running on the El Capitan OS.
This tutorial sets up the AMP stack in more of a traditional way using the loaded Apache and PHP and downloading MySQL and phpMyAdmin. For Read More →


To completely uninstall MySql OS X it is neccessary to remove numerous files.
You unable to install an older version of MySql even though you thought you have removed everything.
To uninstall MySQL and completely remove it (including all databases) from your Mac do the following:

Open a terminal window
Use mysqldump to backup your databases to text files!
Stop the Read More →

L’utilité des dérivées
Laisser un commentaireGo to comments

La dérivée peut sembler être une chose bien abstraite lorsqu’on la regarde sous un angle mathématique, puisqu’il est bien difficile de lui trouver une utilité. Cependant, la dérivée occupe une place bien importante dans d’autres domaines. En physique, elle peut servir à étudier le mouvement d’un objet, c’est-à-dire sa Read More →

OK, you got “.img” virtual machine image. Now what?
Diving in VMWare, Oracle Virutal Machine, etc, etc, there is not a shadow of the option to choose “new virutal machine” from .img image.
What should I do?
1. Download Qemu (ported version for OSX)
2. After installing it on Mac (works fine for me on Maverick),


cd /Application/
./qemu-img convert -f raw -O vmdk /Volumes/xxx/rawdisk200gb.img /Volumes/xxx/vdisk200gb.vmdk

3. Next, Read More →