Fetch Function Snippets

30 September, 2012   

Mysql function to Fetch entire result set

12 August, 2012   

Simple but utilitarian function returns a numeric array of associative arrays containing an entire result set.

Makes it extremely easy to integrate code igniter and smarty as well as provide layout capabilites.

11 July, 2013   

Help manage mysql database common task

Code example for Connecting to Oracle using Java JDBC

15 January, 2014   

It will fetch and process every record in a cursor.

21 January, 2012   

PL/SQL code example for Explicit Cursors

15 January, 2014   

Basic definition for a cursor in MSSQL

Ever wondered how Visual Studio executes a process - such as a compiler - and displays the text it returns in its own window? It's actually really easy - and here's a simple example as to how.

12 July, 2014   

This block finds all employees whose monthly wages (salary plus commission) are higher than $2000.

03 April, 2014   

JavaScript functions to add, fetch or delete browser's cookies

Oracle PL/SQL example for avoiding overlapping months and years

05 October, 2016   

This code accumulates 100 units of part number 9999 from various storage bins

C++ code snippet for function pointer to member function of class

Example source code for function pointer to member function of class

In Delphi, procedural types (method pointers) allow you to treat procedures and functions as values that can be assigned to variables or passed to other procedures and functions. Here's how to call a function (or procedure) as a parameter of another function (or procedure) : Declare the function (or procedure) that will be used as a...

18 June, 2011   

You can create a function for logging system

11 July, 2011   

We have created our first function, but a function usually need one or more parameters, so let us have a look at that. The next function is a simple echo function which just print the text to screen.

04 February, 2012   

PHP function example that writes a name when it is called.

Simple way to do the opposite of what the nl2br() function does- turns breaks () into new lines.