Sql Error Handling Snippets


15 November, 2012   

This program has two input checks: one for a blank card to indicate end-of-data, and the other for a zero value within the input data. Either condition causes a message to be printed.

02 November, 2016   

A PHP template for dealing with any sort of error

12 January, 2014   

This is a pretty simple little snippet, but it help understanding how to use relational tables w/in PHP.

28 June, 2014   

Starting in Oracle 9i, you can use the case statement within an SQL statement. It has the functionality of an IF-THEN-ELSE statement.

PHP code example to get All-Time Number of MySQL Queries

25 February, 2013   

AppleScript code example to restart Django development server

30 January, 2012   

The following code block illustrates the use of TYPE..IS... and VARRAY. In this sample, a type v_arr is defined as an variable array of maximum 25 elements which are of type NUMBER(3). Then a variable v1 is defined as type v_arr . This sample code also demonstrates the use of %TYPE attribute.

16 February, 2013   

Binds a php variable to an SQL statement using the bindParam() method

This function builds an HTML select list from from data retrieved from a mySQL table.

18 June, 2012   

An example of Stored PL/SQL blocks

10 November, 2014   

Easy way to parses RSS into an array

28 October, 2014   

Quick and simple example to parses RSS into an array

17 September, 2014   

PHP example code for using MySQL and a contact form to allow a group of users on a site to contact each other safely.

15 June, 2014   

Example for updating a record in a database with perl and the DBU module.

11 March, 2015   

PHP code shows how to upload images into a mysql database using

01 October, 2013   

This class has lots of common functionality built right into it. It also supports Mysql and Sphinx.

Make a MySQL Database called "db" with a table named "variables" with three rows ("id", "title", and "content"). Insert your data. Then call the page by going variables.php?id=1 etc.

15 July, 2013   

This is a method that can be used to take a connection string and a valid oledb command and perform a scalar. This returns an Integer/Int32 value.

14 February, 2011   

You'll need a of copy Simple Pie for the include right at the top here.

08 July, 2015   

Source code for a game setup for DirectX