@@ -150,22 +150,6 @@ public function getCreateSequenceSQL(Sequence $sequence): string
150150 ' MINVALUE ' . $ sequence ->getInitialValue ();
151151 }
152152
153- /** @internal The method should be only used from within the {@see AbstractSchemaManager} class hierarchy. */
154- public function getListSequencesSQL (string $ database ): string
155- {
156- return 'SELECT seq.name,
157- scm.name AS schema_name,
158- CAST(
159- seq.increment AS VARCHAR(MAX)
160- ) AS increment, -- CAST avoids driver error for sql_variant type
161- CAST(
162- seq.start_value AS VARCHAR(MAX)
163- ) AS start_value -- CAST avoids driver error for sql_variant type
164- FROM sys.sequences AS seq
165- JOIN sys.schemas AS scm
166- ON scm.schema_id = seq.schema_id ' ;
167- }
168-
169153 public function getSequenceNextValSQL (string $ sequence ): string
170154 {
171155 return 'SELECT NEXT VALUE FOR ' . $ sequence ;
@@ -718,14 +702,6 @@ public function getEmptyIdentityInsertSQL(string $quotedTableName, string $quote
718702 return 'INSERT INTO ' . $ quotedTableName . ' DEFAULT VALUES ' ;
719703 }
720704
721- /** @internal The method should be only used from within the {@see AbstractSchemaManager} class hierarchy. */
722- public function getListViewsSQL (string $ database ): string
723- {
724- return "SELECT name, definition FROM sysobjects
725- INNER JOIN sys.sql_modules ON sysobjects.id = sys.sql_modules.object_id
726- WHERE type = 'V' ORDER BY name " ;
727- }
728-
729705 public function getLocateExpression (string $ string , string $ substring , ?string $ start = null ): string
730706 {
731707 if ($ start === null ) {
@@ -774,12 +750,6 @@ public function getConcatExpression(string ...$string): string
774750 return sprintf ('CONCAT(%s) ' , implode (', ' , $ string ));
775751 }
776752
777- /** @internal The method should be only used from within the {@see AbstractSchemaManager} class hierarchy. */
778- public function getListDatabasesSQL (): string
779- {
780- return 'SELECT * FROM sys.databases ' ;
781- }
782-
783753 public function getSubstringExpression (string $ string , string $ start , ?string $ length = null ): string
784754 {
785755 if ($ length === null ) {
0 commit comments