Class JDatabaseDriverSqlsrv
SQL Server database driver
- JDatabase
- 
			 JDatabaseDriver
			
			 implements 
				JDatabaseInterface JDatabaseDriver
			
			 implements 
				JDatabaseInterface
- 
			 JDatabaseDriverSqlsrv JDatabaseDriverSqlsrv
Direct known subclasses
Indirect known subclasses
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
Link: https://msdn.microsoft.com/en-us/library/cc296152(SQL.90).aspx
Located at joomla/database/driver/sqlsrv.php
Methods summary
| 
				 public static
				boolean
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 protected 
				array
				
				 | |
| 
				 protected 
				
				
				 | 
			#
			 renameConstraints( array $constraints = array(), string $prefix = null, string $backup = null )Rename constraints. | 
| 
				 public 
				string
				
				 | |
| 
				 public 
				string
				
				 | |
| 
				 public 
				boolean
				
				 | |
| 
				 public 
				 | |
| 
				 public 
				integer
				
				 | |
| 
				 public 
				mixed
				
				 | 
			#
			 getCollation( )Method to get the database collation in use by sampling a text field of a table in the database. | 
| 
				 public 
				string
				
				 | 
			#
			 getConnectionCollation( )Method to get the database connection collation, as reported by the driver. If the connector doesn't support reporting this value please return an empty string. | 
| 
				 public 
				integer
				
				 | 
			#
			 getNumRows( resource $cursor = null )Get the number of returned rows for the previous executed SQL statement. | 
| 
				 public 
				array
				
				 | 
			#
			 getTableColumns( mixed $table, boolean $typeOnly = true )Retrieves field information about the given tables. | 
| 
				 public 
				array
				
				 | |
| 
				 public 
				array
				
				 | |
| 
				 public 
				array
				
				 | |
| 
				 public 
				string
				
				 | |
| 
				 public 
				boolean
				
				 | 
			#
			 insertObject( string $table, object & $object, string $key = null )Inserts a row into a table based on an object's properties. | 
| 
				 public 
				integer
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				string
				
				 | 
			#
			 replacePrefix( string $query, string $prefix = '#__' )This function replaces a string identifier $prefix with the string held is the tablePrefix class variable. | 
| 
				 public 
				boolean
				
				 | |
| 
				 public 
				boolean
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 protected 
				mixed
				
				 | |
| 
				 protected 
				mixed
				
				 | 
			#
			 fetchAssoc( mixed $cursor = null )Method to fetch a row from the result set cursor as an associative array. | 
| 
				 protected 
				mixed
				
				 | 
			#
			 fetchObject( mixed $cursor = null, string $class = 'stdClass' )Method to fetch a row from the result set cursor as an object. | 
| 
				 protected 
				
				
				 | |
| 
				 protected 
				boolean
				
				 | 
			#
			 checkFieldExists( string $table, string $field )Method to check and see if a field exists in a table. | 
| 
				 protected 
				string
				
				 | |
| 
				 public 
				 | 
			#
			 renameTable( string $oldTable, string $newTable, string $backup = null, string $prefix = null )Renames a table in the database. | 
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 protected 
				integer
				
				 | |
| 
				 protected 
				string
				
				 | |
| 
				 public 
				string[]
				
				 | 
			#
			 getAlterTableCharacterSet( string $tableName )Get the query strings to alter the character set and collation of a table. | 
| 
				 protected 
				string
				
				 | 
			#
			 getCreateDatabaseQuery( Return the query string to create new Database. Each database driver, other than MySQL, need to override this member to return correct string. | 
Methods inherited from JDatabaseDriver
			__call(), 
			addDisconnectHandler(), 
			alterDbCharacterSet(), 
			alterTableCharacterSet(), 
			convertUtf8mb4QueryToUtf8(), 
			createDatabase(), 
			getAlterDbCharacterSet(), 
			getCallStacks(), 
			getConnection(), 
			getConnectors(), 
			getCount(), 
			getDatabase(), 
			getDateFormat(), 
			getExporter(), 
			getImporter(), 
			getInstance(), 
			getIterator(), 
			getLog(), 
			getMinimum(), 
			getName(), 
			getNullDate(), 
			getPrefix(), 
			getQuery(), 
			getServerType(), 
			getTimings(), 
			getUTFSupport(), 
			hasUTF8mb4Support(), 
			hasUTFSupport(), 
			isMinimumVersion(), 
			loadAssoc(), 
			loadAssocList(), 
			loadColumn(), 
			loadNextObject(), 
			loadNextRow(), 
			loadObject(), 
			loadObjectList(), 
			loadResult(), 
			loadRow(), 
			loadRowList(), 
			quoteName(), 
			quoteNameStr(), 
			setDebug(), 
			setQuery(), 
			splitSql(), 
			truncateTable(), 
			updateObject()
		
Methods inherited from JDatabase
			getErrorMsg(), 
			getErrorNum(), 
			query(), 
			stderr(), 
			test()
		
Magic methods summary
Magic methods inherited from JDatabaseDriver
Properties summary
| 
				public  
				string
			 | $name | 
				#
				 The name of the database driver. | 
| 
				public  
				string
			 | $serverType | 
				#
				 The type of the database server family supported by this driver. | 
| 
				protected  
				string
			 | $nameQuote | 
				#
				 The character(s) used to quote SQL statement names such as table names or field names, etc. The child classes should define this as necessary. If a single character string the same character is used for both sides of the quoted name, else the first character will be used for the opening quote and the second for the closing quote. | 
| 
				protected  
				string
			 | $nullDate | 
				#
				 The null or zero representation of a timestamp for the database driver. This should be defined in child classes to hold the appropriate value for the engine. | 
| 
				protected static 
				string
			 | $dbMinimum | 
				#
				 The minimum supported database version. | 
Properties inherited from JDatabaseDriver
			$callStacks, 
			$connection, 
			$count, 
			$cursor, 
			$debug, 
			$disconnectHandlers, 
			$errorMsg, 
			$errorNum, 
			$instances, 
			$limit, 
			$log, 
			$offset, 
			$options, 
			$sql, 
			$tablePrefix, 
			$timings, 
			$transactionDepth, 
			$utf, 
			$utf8mb4
		
