1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/lib/api/doctrine/dbal/platforms/mssqlplatform.html
2010-04-14 17:13:14 +02:00

548 lines
36 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
<link rel="start" href="../../../overview-summary.html">
<title>MsSqlPlatform (Doctrine)</title>
</head>
<body id="definition" onload="parent.document.title=document.title;">
<div class="header">
<h1>Doctrine</h1>
<ul>
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="../../../doctrine/dbal/platforms/package-summary.html">Namespace</a></li>
<li class="active">Class</li>
<li><a href="../../../doctrine/dbal/platforms/package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="small_links">
<a href="../../../index.html" target="_top">Frames</a>
<a href="../../../doctrine/dbal/platforms/mssqlplatform.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>
<div class="qualifiedName">Doctrine\DBAL\Platforms\MsSqlPlatform</div>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 37</div>
<h1>Class MsSqlPlatform</h1>
<pre class="tree">Class:MsSqlPlatform - Superclass: AbstractPlatform
<a href="../../../doctrine/dbal/platforms/abstractplatform.html">AbstractPlatform</a><br> &lfloor;&nbsp;<strong>MsSqlPlatform</strong><br /></pre>
<hr>
<p class="signature">public class <strong>MsSqlPlatform</strong><br>extends <a href="../../../doctrine/dbal/platforms/abstractplatform.html">AbstractPlatform</a>
</p>
<div class="comment" id="overview_description"><p>The MsSqlPlatform provides the behavior, features and SQL dialect of the
MySQL database platform.</p></div>
<dl>
<dt>Since:</dt>
<dd>2.0</dd>
<dt>Author:</dt>
<dd>Roman Borschel <roman@code-factory.org></dd>
<dd>Jonathan H. Wage <jonwage@gmail.com></dd>
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
<dt>Todo:</dt>
<dd>Rename: MsSQLPlatform</dd>
<dt>License:</dt>
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
<dt>See Also:</dt>
<dd><code>www.doctrine-project.org</code></dd>
<dt>Version:</dt>
<dd>$Revision: 3938 $</dd>
</dl>
<hr>
<table class="inherit">
<tr><th colspan="2">Fields inherited from Doctrine\DBAL\Platforms\AbstractPlatform</th></tr>
<tr><td><a href="../../../doctrine/dbal/platforms/abstractplatform.html#CREATE_FOREIGNKEYS">CREATE_FOREIGNKEYS</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#CREATE_INDEXES">CREATE_INDEXES</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#TRIM_BOTH">TRIM_BOTH</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#TRIM_LEADING">TRIM_LEADING</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#TRIM_TRAILING">TRIM_TRAILING</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#TRIM_UNSPECIFIED">TRIM_UNSPECIFIED</a></td></tr></table>
<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> array</td>
<td class="description"><p class="name"><a href="#getAlterTableSQL()">getAlterTableSQL</a>(<a href="../../../doctrine/dbal/schema/tablediff.html">TableDiff</a> diff)</p><p class="description">Gets the sql statements for altering an existing table.
</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getBigIntTypeDeclarationSQL()">getBigIntTypeDeclarationSQL</a>(mixed field, array columnDef)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getBooleanTypeDeclarationSQL()">getBooleanTypeDeclarationSQL</a>(mixed field, array columnDef)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#getClobTypeDeclarationSQL()">getClobTypeDeclarationSQL</a>(array field)</p><p class="description">@override</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getConcatExpression()">getConcatExpression</a>(string arg1, string arg2, string values..., string arg1,)</p><p class="description">Returns string to concatenate two or more string parameters</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getCreateDatabaseSQL()">getCreateDatabaseSQL</a>(string name, mixed database)</p><p class="description">create a new database</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getDateTimeTypeDeclarationSQL()">getDateTimeTypeDeclarationSQL</a>(array fieldDeclaration)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getDateTypeDeclarationSQL()">getDateTypeDeclarationSQL</a>(array fieldDeclaration)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getDropDatabaseSQL()">getDropDatabaseSQL</a>(string name, mixed database)</p><p class="description">drop an existing database</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getEmptyIdentityInsertSQL()">getEmptyIdentityInsertSQL</a>(mixed quotedTableName, mixed quotedIdentifierColumnName, string tableName, string identifierColumnName)</p><p class="description">Get the insert sql for an empty insert statement</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getGuidExpression()">getGuidExpression</a>()</p><p class="description">Returns global unique identifier</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getIntegerTypeDeclarationSQL()">getIntegerTypeDeclarationSQL</a>(mixed field, array columnDef)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#getListTablesSQL()">getListTablesSQL</a>()</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getName()">getName</a>()</p><p class="description">Get the platform name for this instance</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getNowExpression()">getNowExpression</a>(mixed type)</p><p class="description">Return string to call a variable with the current timestamp inside an SQL statement
There are three special variables for current date and time:
- CURRENT_TIMESTAMP (date and time, TIMESTAMP type)
- CURRENT_DATE (date, DATE type)
- CURRENT_TIME (time, TIME type)</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getRegexpExpression()">getRegexpExpression</a>()</p><p class="description">Returns the regular expression operator.</p></td>
</tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#getSetTransactionIsolationSQL()">getSetTransactionIsolationSQL</a>(integer level)</p><p class="description">Get sql to set the transaction isolation level</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getShowDatabasesSQL()">getShowDatabasesSQL</a>()</p><p class="description">Get sql query to show a list of database.</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getSmallIntTypeDeclarationSQL()">getSmallIntTypeDeclarationSQL</a>(mixed field, array columnDef)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getSubstringExpression()">getSubstringExpression</a>(string value, mixed position, mixed length, integer from, integer len)</p><p class="description">return string to call a function to get a substring inside an SQL statement</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getTimeTypeDeclarationSQL()">getTimeTypeDeclarationSQL</a>(array fieldDeclaration)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getTruncateTableSQL()">getTruncateTableSQL</a>(string tableName, bool cascade)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#getVarcharTypeDeclarationSQL()">getVarcharTypeDeclarationSQL</a>(array field)</p><p class="description">Gets the SQL snippet used to declare a VARCHAR column type.</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#modifyLimitQuery()">modifyLimitQuery</a>(string query, mixed limit, mixed offset)</p><p class="description">Adds an adapter-specific LIMIT clause to the SELECT statement.</p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#prefersIdentityColumns()">prefersIdentityColumns</a>()</p><p class="description">Whether the platform prefers identity columns for ID generation.
</p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#supportsIdentityColumns()">supportsIdentityColumns</a>()</p><p class="description">Whether the platform supports identity columns.
</p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#supportsSavepoints()">supportsSavepoints</a>()</p><p class="description">Whether the platform supports savepoints. </p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#writeLimitClause()">writeLimitClause</a>(string query, mixed limit, mixed offset)</p><p class="description">Adds an adapter-specific LIMIT clause to the SELECT statement.
</p></td>
</tr>
</table>
<table class="inherit">
<tr><th colspan="2">Methods inherited from Doctrine\DBAL\Platforms\AbstractPlatform</th></tr>
<tr><td><a href="../../../doctrine/dbal/platforms/abstractplatform.html#convertBooleans()">convertBooleans</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#createsExplicitIndexForForeignKeys()">createsExplicitIndexForForeignKeys</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#fixSchemaElementName()">fixSchemaElementName</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getAcosExpression()">getAcosExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getAdvancedForeignKeyOptionsSQL()">getAdvancedForeignKeyOptionsSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getAlterTableSQL()">getAlterTableSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getAvgExpression()">getAvgExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getBetweenExpression()">getBetweenExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getBigIntTypeDeclarationSQL()">getBigIntTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getBooleanTypeDeclarationSQL()">getBooleanTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCheckDeclarationSQL()">getCheckDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getClobTypeDeclarationSQL()">getClobTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getColumnCharsetDeclarationSQL()">getColumnCharsetDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getColumnCollationDeclarationSQL()">getColumnCollationDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getColumnDeclarationListSQL()">getColumnDeclarationListSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getColumnDeclarationSQL()">getColumnDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getConcatExpression()">getConcatExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCosExpression()">getCosExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCountExpression()">getCountExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateConstraintSQL()">getCreateConstraintSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateDatabaseSQL()">getCreateDatabaseSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateForeignKeySQL()">getCreateForeignKeySQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateIndexSQL()">getCreateIndexSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateSequenceSQL()">getCreateSequenceSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateTableSQL()">getCreateTableSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateTemporaryTableSnippetSQL()">getCreateTemporaryTableSnippetSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCreateViewSQL()">getCreateViewSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCurrentDateSQL()">getCurrentDateSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCurrentTimeSQL()">getCurrentTimeSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCurrentTimestampSQL()">getCurrentTimestampSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getCustomTypeDeclarationSQL()">getCustomTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDateFormatString()">getDateFormatString</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDateTimeFormatString()">getDateTimeFormatString</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDateTimeTypeDeclarationSQL()">getDateTimeTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDateTypeDeclarationSQL()">getDateTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDecimalTypeDeclarationSQL()">getDecimalTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDefaultTransactionIsolationLevel()">getDefaultTransactionIsolationLevel</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDefaultValueDeclarationSQL()">getDefaultValueDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropConstraintSQL()">getDropConstraintSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropDatabaseSQL()">getDropDatabaseSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropForeignKeySQL()">getDropForeignKeySQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropIndexSQL()">getDropIndexSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropSequenceSQL()">getDropSequenceSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropTableSQL()">getDropTableSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getDropViewSQL()">getDropViewSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getEmptyIdentityInsertSQL()">getEmptyIdentityInsertSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getForUpdateSql()">getForUpdateSql</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getForeignKeyBaseDeclarationSQL()">getForeignKeyBaseDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getForeignKeyDeclarationSQL()">getForeignKeyDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getForeignKeyReferentialActionSQL()">getForeignKeyReferentialActionSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIdentifierQuoteCharacter()">getIdentifierQuoteCharacter</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIdentityColumnNullInsertSQL()">getIdentityColumnNullInsertSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getInExpression()">getInExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIndexDeclarationSQL()">getIndexDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIndexFieldDeclarationListSQL()">getIndexFieldDeclarationListSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIntegerTypeDeclarationSQL()">getIntegerTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIsNotNullExpression()">getIsNotNullExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getIsNullExpression()">getIsNullExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getLengthExpression()">getLengthExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListDatabasesSQL()">getListDatabasesSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListSequencesSQL()">getListSequencesSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListTableColumnsSQL()">getListTableColumnsSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListTableConstraintsSQL()">getListTableConstraintsSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListTableForeignKeysSQL()">getListTableForeignKeysSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListTableIndexesSQL()">getListTableIndexesSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListTablesSQL()">getListTablesSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListUsersSQL()">getListUsersSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getListViewsSQL()">getListViewsSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getLocateExpression()">getLocateExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getLowerExpression()">getLowerExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getLtrimExpression()">getLtrimExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getMaxExpression()">getMaxExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getMaxIdentifierLength()">getMaxIdentifierLength</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getMd5Expression()">getMd5Expression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getMinExpression()">getMinExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getModExpression()">getModExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getName()">getName</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getNotExpression()">getNotExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getNowExpression()">getNowExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getPiExpression()">getPiExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getRegexpExpression()">getRegexpExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getRoundExpression()">getRoundExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getRtrimExpression()">getRtrimExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSQLResultCasing()">getSQLResultCasing</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSequenceNextValSQL()">getSequenceNextValSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSetCharsetSQL()">getSetCharsetSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSetTransactionIsolationSQL()">getSetTransactionIsolationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getShowDatabasesSQL()">getShowDatabasesSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSinExpression()">getSinExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSmallIntTypeDeclarationSQL()">getSmallIntTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSqlCommentEndString()">getSqlCommentEndString</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSqlCommentStartString()">getSqlCommentStartString</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSubstringExpression()">getSubstringExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getSumExpression()">getSumExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getTemporaryTableSQL()">getTemporaryTableSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getTimeFormatString()">getTimeFormatString</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getTimeTypeDeclarationSQL()">getTimeTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getTrimExpression()">getTrimExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getTruncateTableSQL()">getTruncateTableSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getUniqueConstraintDeclarationSQL()">getUniqueConstraintDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getUniqueFieldDeclarationSQL()">getUniqueFieldDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getUpperExpression()">getUpperExpression</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getVarcharMaxLength()">getVarcharMaxLength</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getVarcharTypeDeclarationSQL()">getVarcharTypeDeclarationSQL</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#getWildcards()">getWildcards</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#modifyLimitQuery()">modifyLimitQuery</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#prefersIdentityColumns()">prefersIdentityColumns</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#prefersSequences()">prefersSequences</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#quoteIdentifier()">quoteIdentifier</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsAlterTable()">supportsAlterTable</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsForeignKeyConstraints()">supportsForeignKeyConstraints</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsForeignKeyOnUpdate()">supportsForeignKeyOnUpdate</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsGettingAffectedRows()">supportsGettingAffectedRows</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsIdentityColumns()">supportsIdentityColumns</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsIndexes()">supportsIndexes</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsPrimaryConstraints()">supportsPrimaryConstraints</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsSavepoints()">supportsSavepoints</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsSchemas()">supportsSchemas</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsSequences()">supportsSequences</a>, <a href="../../../doctrine/dbal/platforms/abstractplatform.html#supportsTransactions()">supportsTransactions</a></td></tr></table>
<h2 id="detail_method">Method Detail</h2>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 94</div>
<h3 id="getAlterTableSQL()">getAlterTableSQL</h3>
<code class="signature">public array <strong>getAlterTableSQL</strong>(<a href="../../../doctrine/dbal/schema/tablediff.html">TableDiff</a> diff)</code>
<div class="details">
<p>Gets the sql statements for altering an existing table.</p><p>The method returns an array of sql statements, since some platforms need several statements.</p></div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 287</div>
<h3 id="getBigIntTypeDeclarationSQL()">getBigIntTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getBigIntTypeDeclarationSQL</strong>(mixed field, array columnDef)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 364</div>
<h3 id="getBooleanTypeDeclarationSQL()">getBooleanTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getBooleanTypeDeclarationSQL</strong>(mixed field, array columnDef)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 318</div>
<h3 id="getClobTypeDeclarationSQL()">getClobTypeDeclarationSQL</h3>
<code class="signature">public void <strong>getClobTypeDeclarationSQL</strong>(array field)</code>
<div class="details">
<p></p></div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 184</div>
<h3 id="getConcatExpression()">getConcatExpression</h3>
<code class="signature">public string <strong>getConcatExpression</strong>(string arg1, string arg2, string values..., string arg1,)</code>
<div class="details">
<p>Returns string to concatenate two or more string parameters</p><dl>
<dt>Returns:</dt>
<dd>to concatenate two strings</dd>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 254</div>
<h3 id="getCreateDatabaseSQL()">getCreateDatabaseSQL</h3>
<code class="signature">public string <strong>getCreateDatabaseSQL</strong>(string name, mixed database)</code>
<div class="details">
<p>create a new database</p><dl>
<dt>Parameters:</dt>
<dd>name - name of the database that should be created</dd>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 340</div>
<h3 id="getDateTimeTypeDeclarationSQL()">getDateTimeTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getDateTimeTypeDeclarationSQL</strong>(array fieldDeclaration)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 348</div>
<h3 id="getDateTypeDeclarationSQL()">getDateTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getDateTypeDeclarationSQL</strong>(array fieldDeclaration)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 266</div>
<h3 id="getDropDatabaseSQL()">getDropDatabaseSQL</h3>
<code class="signature">public string <strong>getDropDatabaseSQL</strong>(string name, mixed database)</code>
<div class="details">
<p>drop an existing database</p><dl>
<dt>Parameters:</dt>
<dd>name - name of the database that should be dropped</dd>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 474</div>
<h3 id="getEmptyIdentityInsertSQL()">getEmptyIdentityInsertSQL</h3>
<code class="signature">public string <strong>getEmptyIdentityInsertSQL</strong>(mixed quotedTableName, mixed quotedIdentifierColumnName, string tableName, string identifierColumnName)</code>
<div class="details">
<p>Get the insert sql for an empty insert statement</p><dl>
<dt>Returns:</dt>
<dd>$sql</dd>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 196</div>
<h3 id="getGuidExpression()">getGuidExpression</h3>
<code class="signature">public string <strong>getGuidExpression</strong>()</code>
<div class="details">
<p>Returns global unique identifier</p><dl>
<dt>Returns:</dt>
<dd>to get global unique identifier</dd>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 279</div>
<h3 id="getIntegerTypeDeclarationSQL()">getIntegerTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getIntegerTypeDeclarationSQL</strong>(mixed field, array columnDef)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 242</div>
<h3 id="getListTablesSQL()">getListTablesSQL</h3>
<code class="signature">public void <strong>getListTablesSQL</strong>()</code>
<div class="details">
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 374</div>
<h3 id="getName()">getName</h3>
<code class="signature">public string <strong>getName</strong>()</code>
<div class="details">
<p>Get the platform name for this instance</p></div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 150</div>
<h3 id="getNowExpression()">getNowExpression</h3>
<code class="signature">public string <strong>getNowExpression</strong>(mixed type)</code>
<div class="details">
<p>Return string to call a variable with the current timestamp inside an SQL statement
There are three special variables for current date and time:
- CURRENT_TIMESTAMP (date and time, TIMESTAMP type)
- CURRENT_DATE (date, DATE type)
- CURRENT_TIME (time, TIME type)</p><dl>
<dt>Returns:</dt>
<dd>to call a variable with the current timestamp</dd>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 135</div>
<h3 id="getRegexpExpression()">getRegexpExpression</h3>
<code class="signature">public string <strong>getRegexpExpression</strong>()</code>
<div class="details">
<p>Returns the regular expression operator.</p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 271</div>
<h3 id="getSetTransactionIsolationSQL()">getSetTransactionIsolationSQL</h3>
<code class="signature">public void <strong>getSetTransactionIsolationSQL</strong>(integer level)</code>
<div class="details">
<p>Get sql to set the transaction isolation level</p></div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 237</div>
<h3 id="getShowDatabasesSQL()">getShowDatabasesSQL</h3>
<code class="signature">public string <strong>getShowDatabasesSQL</strong>()</code>
<div class="details">
<p>Get sql query to show a list of database.</p></div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 295</div>
<h3 id="getSmallIntTypeDeclarationSQL()">getSmallIntTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getSmallIntTypeDeclarationSQL</strong>(mixed field, array columnDef)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 167</div>
<h3 id="getSubstringExpression()">getSubstringExpression</h3>
<code class="signature">public string <strong>getSubstringExpression</strong>(string value, mixed position, mixed length, integer from, integer len)</code>
<div class="details">
<p>return string to call a function to get a substring inside an SQL statement</p><dl>
<dt>Returns:</dt>
<dd>to call a function to get a substring</dd>
<dt>Override.</dt>
<dt>Parameters:</dt>
<dd>value - an sql string literal or column name/alias</dd>
<dd>from - where to start the substring portion</dd>
<dd>len - the substring portion length</dd>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 356</div>
<h3 id="getTimeTypeDeclarationSQL()">getTimeTypeDeclarationSQL</h3>
<code class="signature">public string <strong>getTimeTypeDeclarationSQL</strong>(array fieldDeclaration)</code>
<div class="details">
<p></p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 482</div>
<h3 id="getTruncateTableSQL()">getTruncateTableSQL</h3>
<code class="signature">public string <strong>getTruncateTableSQL</strong>(string tableName, bool cascade)</code>
<div class="details">
<p></p><dl>
<dt>Inheritdoc.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 300</div>
<h3 id="getVarcharTypeDeclarationSQL()">getVarcharTypeDeclarationSQL</h3>
<code class="signature">public void <strong>getVarcharTypeDeclarationSQL</strong>(array field)</code>
<div class="details">
<p>Gets the SQL snippet used to declare a VARCHAR column type.</p></div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 388</div>
<h3 id="modifyLimitQuery()">modifyLimitQuery</h3>
<code class="signature">public string <strong>modifyLimitQuery</strong>(string query, mixed limit, mixed offset)</code>
<div class="details">
<p>Adds an adapter-specific LIMIT clause to the SELECT statement.</p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://lists.bestpractical.com/pipermail/rt-devel/2005-June/007339.html">http://lists.bestpractical.com/pipermail/rt-devel/2005-June/007339.html</a></code></dd>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 209</div>
<h3 id="prefersIdentityColumns()">prefersIdentityColumns</h3>
<code class="signature">public boolean <strong>prefersIdentityColumns</strong>()</code>
<div class="details">
<p>Whether the platform prefers identity columns for ID generation.
MsSql prefers "autoincrement" identity columns since sequences can only
be emulated with a table.</p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 221</div>
<h3 id="supportsIdentityColumns()">supportsIdentityColumns</h3>
<code class="signature">public boolean <strong>supportsIdentityColumns</strong>()</code>
<div class="details">
<p>Whether the platform supports identity columns.
MsSql supports this through AUTO_INCREMENT columns.</p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 232</div>
<h3 id="supportsSavepoints()">supportsSavepoints</h3>
<code class="signature">public boolean <strong>supportsSavepoints</strong>()</code>
<div class="details">
<p>Whether the platform supports savepoints. MsSql does not.</p><dl>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="location">/Doctrine/DBAL/Platforms/MsSqlPlatform.php at line 50</div>
<h3 id="writeLimitClause()">writeLimitClause</h3>
<code class="signature">public string <strong>writeLimitClause</strong>(string query, mixed limit, mixed offset)</code>
<div class="details">
<p>Adds an adapter-specific LIMIT clause to the SELECT statement.
[ borrowed from Zend Framework ]</p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://lists.bestpractical.com/pipermail/rt-devel/2005-June/007339.html">http://lists.bestpractical.com/pipermail/rt-devel/2005-June/007339.html</a></code></dd>
<dt>Override.</dt>
</dl>
</div>
<hr>
<div class="header">
<h1>Doctrine</h1>
<ul>
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="../../../doctrine/dbal/platforms/package-summary.html">Namespace</a></li>
<li class="active">Class</li>
<li><a href="../../../doctrine/dbal/platforms/package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="small_links">
<a href="../../../index.html" target="_top">Frames</a>
<a href="../../../doctrine/dbal/platforms/mssqlplatform.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
</body>
</html>