Sql Syntax Snippets


26 February, 2011   

Here shown how to highlight syntax

09 February, 2012   

Syntax for both the column and table aliases

06 June, 2012   

This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.

09 February, 2012   

Syntax for the Length function

21 January, 2012   

PL/SQL Block that uses implicit cursor attributes as below example code.

01 February, 2011   

Associative Array Syntax

22 March, 2012   

Basic Declaration & Usage of Keyframe Animation Syntax

MySQL code to find all duplicates in a database column(s)n.

01 December, 2011   

The following code block shows how to run DML statements in PL/SQL. Basically they look similar to the SQL. Note that the SELECT statement retrieves the single-row value and store into a variable using INTO clause.

09 May, 2011   

This is a general code to use when selecting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. Note: This code requires you to connect to the MySQL database to work. Also, all field and table names need to be set up to match. This MYSQL Code using in PHP

Exam code to backup MySQL Database to SQL File

18 January, 2012   

SQL GROUP BY Clause returns group of rows. An example code for SQL GROUP BY clause

In order for this to work, you will need to copy mysqldump.exe and mysql.exe from the MySQL bin Program Files folder into the same directory as your executing PHP script. If you know the direct path to these for your server, you can use those instead.

07 December, 2011   

The syntax of the session_start () function

02 August, 2012   

CSS Clay Bricks Menu by Dynamic Drive

PL/SQL functions returns a scalar value and PL/SQL procedures return nothing. Both can take zero or more number of parameters as input or output. The special feature about PL/SQL is that a procedure/function argument can be of input (indicating the argument is read-only), output (indicating the argument is write-only) or both (both readable and...

08 September, 2012   

SQL query to know total number of employee on each department.

08 September, 2012   

SQL query to know employees where city is null

13 May, 2013   

You can also run this an anonymous SQL Block

19 December, 2012   

How to convert a java util Date into a sql Date for use in databases.