Currently browsing

December 10, 2012

Tablelevel CHECK constraints

Table-level CHECK constraints CHECK Constraint is used to maintain the domain integrity. In this article I am not discussing related to the definition and syntax of the CHECK constraint, rather I am trying to illustrate a scenario where we can use the check constraint called Table-level CHECK Constraint. Scenario Table …

Disadvantages of ORM

Disadvantages of ORM ORM has attracted a lot of attention in the last years. So let’s get a bit deeper into it.The biggest advantage of ORM is also the biggest disadvantage: queries are generated automatically queries can’t be optimized queries select more data than needed, things get slower, more latency(some …

Rendering Cones glutSolidCone and glutWireCone using GLUT in C

Rendering Cones glutSolidCone and glutWireCone using GLUT in C GLUT provides function glutSolidCone to render a Solid Cone and glutWireCone to render a Wire Frame Cone. glutSolidCone and glutWireCone render a solid or wireframe cone respectively oriented along the Z axis. The base of the cone is placed at Z …