23.10.2012 Views

Structured Query Language (SQL) - Cultural View of Technology

Structured Query Language (SQL) - Cultural View of Technology

Structured Query Language (SQL) - Cultural View of Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cursor (databases) 32<br />

References<br />

[1] http://en.wikibooks.org/wiki/X<strong>Query</strong>/Searching,Paging_and_Sorting#Paging<br />

[2] http://www.mssqlcity.com/Tips/tipCursor.htm<br />

[3] http://c2.com/cgi/wiki?DistributedCursor<br />

[4] http://www.postgresql.org/docs/8.3/interactive/plpgsql-cursors.html<br />

[5] http://sleepycat.com/docs/ref/am/cursor.html<br />

[6] http://java.sun.com/javase/6/docs/technotes/guides/jdbc/getstart/resultset.html<br />

[7] http://doc.trolltech.com/4.0/q3sqlcursor.html<br />

[8] http://www.oracle.com/technology/products/oracle9i/daily/mar15.html<br />

[9] http://de2.php.net/manual/en/function.oci-new-cursor.php<br />

[10] http://dev.mysql.com/doc/refman/5.0/en/cursors.html<br />

[11] http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.cli.doc/doc/c0007645.htm<br />

[12] http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.sql.doc/doc/c0024361.htm<br />

Data Control <strong>Language</strong><br />

A Data Control <strong>Language</strong> (DCL) is a computer language and a subset <strong>of</strong> <strong>SQL</strong>, used to control access to data in a<br />

database.<br />

Examples <strong>of</strong> DCL commands include:<br />

• GRANT to allow specified users to perform specified tasks.<br />

• REVOKE to cancel previously granted or denied permissions.<br />

The following privileges can be GRANTED TO or REVOKED FROM a user or role:<br />

• CONNECT<br />

• SELECT<br />

• INSERT<br />

• UPDATE<br />

• DELETE<br />

• EXECUTE<br />

• USAGE<br />

In Oracle, executing a DCL command issues an implicit commit.<br />

In Postgre<strong>SQL</strong>, executing DCL is transactional, and can be rolled back.<br />

See also<br />

• Data Definition <strong>Language</strong><br />

• Data Manipulation <strong>Language</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!