Structured Query Language (SQL) - Cultural View of Technology
Structured Query Language (SQL) - Cultural View of Technology Structured Query Language (SQL) - Cultural View of Technology
FSQL 58 Fuzzy Constant Significance UNKNOWN Unknown value but the attribute is applicable UNDEFINED The attribute is not applicable or it is meaningless NULL Total ignorance: We know nothing about it $[a,b,c,d] Fuzzy trapezium (a
Hint (SQL) 59 Hint (SQL) In various SQL implementations, a hint is an addition to the SQL standard that instructs the database engine on how to execute the query. For example, a hint may tell the engine to use as little memory as possible (even if the query will run slowly), or to use or not use an index even if the query optimizer would decide otherwise. Different database engines use different approaches in implementing hints. MySQL uses its own extension to the SQL standard, where a table name may be followed by USE INDEX, FORCE INDEX or IGNORE INDEX keywords [1] . Oracle implements hints by using specially crafted comments in the query that begin with a + symbol, thus not influencing SQL compatibility [2] . See also • Query optimizer • Query plan References [1] MySQL 5.0 Reference Manual: 12.2.8.2 Index Hint Syntax (http://dev.mysql.com/doc/refman/5.0/en/index-hints.html) [2] Mike Ault: Oracle SQL Hints Tuning (http://www.dba-oracle.com/t_sql_hints_tuning.htm)
- Page 11 and 12: SQL 7 REVOKE SELECT, UPDATE ON My_t
- Page 13 and 14: SQL 9 2008 SQL:2008 Legalizes ORDER
- Page 15 and 16: SQL 11 [9] ANSI/ISO/IEC Internation
- Page 17 and 18: SQL:2003 13 [11] http://www.iso.org
- Page 19 and 20: Advantage Database Server 15 • Sm
- Page 21 and 22: Call Level Interface 17 Call Level
- Page 23 and 24: Check Constraint 19 Check Constrain
- Page 25 and 26: Commit (data management) 21 Commit
- Page 27 and 28: Correlated subquery 23 Correlated s
- Page 29 and 30: CUBRID 25 Linux Foundation Silver S
- Page 31 and 32: CUBRID 27 References [1] http://www
- Page 33 and 34: Cursor (databases) 29 Scrollable cu
- Page 35 and 36: Cursor (databases) 31 Disadvantages
- Page 37 and 38: Data Definition Language 33 Data De
- Page 39 and 40: Data Manipulation Language 35 Data
- Page 41 and 42: Database Console Commands (Transact
- Page 43 and 44: Database Console Commands (Transact
- Page 45 and 46: Database Console Commands (Transact
- Page 47 and 48: DbForge Studio for MySQL 43 • Dat
- Page 49 and 50: Declarative Referential Integrity 4
- Page 51 and 52: Devgems Data Modeler 47 External li
- Page 53 and 54: Embedded SQL 49 External links •
- Page 55 and 56: EnterpriseDB 51 EnterpriseDB also o
- Page 57 and 58: Epictetus Database Client 53 Extern
- Page 59 and 60: Foreign key 55 SET NULL The foreign
- Page 61: FSQL 57 Comparator for Possibility
- Page 65 and 66: HSQLDB 61 Transaction support HSQLD
- Page 67 and 68: MaxDB 63 MaxDB Stable release 7.6.0
- Page 69 and 70: Meta-SQL 65 Meta-SQL 'Meta-SQL' Use
- Page 71 and 72: MySQL Workbench 67 MySQL Migration
- Page 73 and 74: MySQL Workbench 69 [14] MySQL Workb
- Page 75 and 76: Navicat 71 Free version Navicat Lit
- Page 77 and 78: PL/pgSQL 73 PL/pgSQL PL/pgSQL (Proc
- Page 79 and 80: PL/SQL 75 User-defined exceptions a
- Page 81 and 82: PL/SQL 77 A selection of other data
- Page 83 and 84: PL/SQL 79 Array handling PL/SQL ref
- Page 85 and 86: PL/SQL 81 Similar languages PL/SQL
- Page 87 and 88: Query optimizer 83 Join ordering Th
- Page 89 and 90: Query plan 85 Query plan A query pl
- Page 91 and 92: Rollback (data management) 87 Rollb
- Page 93 and 94: SQL CLR 89 External links • MSDN:
- Page 95 and 96: SQL Problems Requiring Cursors 91 S
- Page 97 and 98: SQL injection 93 Incorrect type han
- Page 99 and 100: SQL injection 95 mysql_query($query
- Page 101 and 102: SQL/CLI 97 SQL/CLI The SQL/CLI, or
- Page 103 and 104: SQL/Schemata 99 SQL/Schemata The SQ
- Page 105 and 106: SQLPro SQL Client 101 SQLPro SQL Cl
- Page 107 and 108: Scriptella 103 Scriptella Stable re
- Page 109 and 110: SQL/JRT 105 SQL/JRT The SQL/JRT, or
- Page 111 and 112: SQuirreL SQL Client 107 History The
Hint (<strong>SQL</strong>) 59<br />
Hint (<strong>SQL</strong>)<br />
In various <strong>SQL</strong> implementations, a hint is an addition to the <strong>SQL</strong> standard that instructs the database engine on how<br />
to execute the query. For example, a hint may tell the engine to use as little memory as possible (even if the query<br />
will run slowly), or to use or not use an index even if the query optimizer would decide otherwise.<br />
Different database engines use different approaches in implementing hints. My<strong>SQL</strong> uses its own extension to the<br />
<strong>SQL</strong> standard, where a table name may be followed by USE INDEX, FORCE INDEX or IGNORE INDEX<br />
keywords [1] . Oracle implements hints by using specially crafted comments in the query that begin with a + symbol,<br />
thus not influencing <strong>SQL</strong> compatibility [2] .<br />
See also<br />
• <strong>Query</strong> optimizer<br />
• <strong>Query</strong> plan<br />
References<br />
[1] My<strong>SQL</strong> 5.0 Reference Manual: 12.2.8.2 Index Hint Syntax (http://dev.mysql.com/doc/refman/5.0/en/index-hints.html)<br />
[2] Mike Ault: Oracle <strong>SQL</strong> Hints Tuning (http://www.dba-oracle.com/t_sql_hints_tuning.htm)