class SqlsrvPlatform extends MssqlPlatform
MS SQL Server using pdo_sqlsrv implementation.
Methods
int | getMaxColumnNameLength() | |
string. |
getNullString($notNull)
Returns the NOT NULL string for the configured RDBMS. |
from MssqlPlatform |
boolean |
supportsNativeDeleteTrigger()
Whether RDBMS supports native ON DELETE triggers (e.g. |
from MssqlPlatform |
boolean |
supportsInsertNullPk()
Whether RDBMS supports INSERT null values in autoincremented primary keys |
from MssqlPlatform |
string |
getDropTableDDL(Table $table)
Builds the DDL SQL to drop a table |
from MssqlPlatform |
string |
getPrimaryKeyDDL(Table $table)
Returns the SQL for the primary key of a Table object. |
from MssqlPlatform |
string |
getAddForeignKeyDDL(ForeignKey $fk)
Builds the DDL SQL to add a foreign key. |
from MssqlPlatform |
string |
getForeignKeyDDL(ForeignKey $fk)
Builds the DDL SQL for a ForeignKey object. |
from MssqlPlatform |
boolean | supportsSchemas() | from MssqlPlatform |
boolean |
hasSize(string $sqlType)
Returns if the RDBMS-specific SQL type has a size attribute. |
from MssqlPlatform |
string |
quoteIdentifier(string $text)
Quotes identifiers used in database SQL. |
from MssqlPlatform |
string |
getTimestampFormatter()
Gets the preferred timestamp formatter for setting date/time values. |
from MssqlPlatform |
Details
at line 23
public int
getMaxColumnNameLength()
in MssqlPlatform at line 59
public string.
getNullString($notNull)
Returns the NOT NULL string for the configured RDBMS.
in MssqlPlatform at line 64
public boolean
supportsNativeDeleteTrigger()
Whether RDBMS supports native ON DELETE triggers (e.g.
ON DELETE CASCADE).
in MssqlPlatform at line 69
public boolean
supportsInsertNullPk()
Whether RDBMS supports INSERT null values in autoincremented primary keys
in MssqlPlatform at line 74
public string
getDropTableDDL(Table $table)
Builds the DDL SQL to drop a table
in MssqlPlatform at line 116
public string
getPrimaryKeyDDL(Table $table)
Returns the SQL for the primary key of a Table object.
in MssqlPlatform at line 128
public string
getAddForeignKeyDDL(ForeignKey $fk)
Builds the DDL SQL to add a foreign key.
in MssqlPlatform at line 146
public string
getForeignKeyDDL(ForeignKey $fk)
Builds the DDL SQL for a ForeignKey object.
in MssqlPlatform at line 171
public boolean
supportsSchemas()
in MssqlPlatform at line 176
public boolean
hasSize(string $sqlType)
Returns if the RDBMS-specific SQL type has a size attribute.
in MssqlPlatform at line 181
public string
quoteIdentifier(string $text)
Quotes identifiers used in database SQL.
in MssqlPlatform at line 186
public string
getTimestampFormatter()
Gets the preferred timestamp formatter for setting date/time values.