]> git.joonet.de Git - adminer.git/commitdiff
MS SQL: Update doc_links
authorJakub Vrana <jakub@vrana.cz>
Tue, 25 Feb 2025 05:52:27 +0000 (06:52 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 25 Feb 2025 05:52:27 +0000 (06:52 +0100)
adminer/database.inc.php
adminer/foreign.inc.php
adminer/include/editing.inc.php

index 355dd56eadc41fa99aadd93f8caf3cade7556201..b9b82c6c8dfcd9f8bfe5c17d820ed037218a1cf4 100644 (file)
@@ -64,7 +64,7 @@ echo ($_POST["add_x"] || strpos($name, "\n")
 ) . "\n" . ($collations ? html_select("collation", array("" => "(" . lang('collation') . ")") + $collations, $row["collation"]) . doc_link(array(
        'sql' => "charset-charsets.html",
        'mariadb' => "supported-character-sets-and-collations/",
-       'mssql' => "ms187963.aspx",
+       'mssql' => "relational-databases/system-functions/sys-fn-helpcollations-transact-sql",
 )) : "");
 ?>
 <input type="submit" value="<?php echo lang('Save'); ?>">
index 6e90b731a06ad5a6461eeb5e22a08ad89caaa7d6..511bd48ce38f26656266d1bd688015a5d304be54 100644 (file)
@@ -96,7 +96,7 @@ foreach ($row["source"] as $key => $val) {
        'sql' => "innodb-foreign-key-constraints.html",
        'mariadb' => "foreign-keys/",
        'pgsql' => "sql-createtable.html#SQL-CREATETABLE-REFERENCES",
-       'mssql' => "ms174979.aspx",
+       'mssql' => "t-sql/statements/create-table-transact-sql",
        'oracle' => "https://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses002.htm#sthref2903",
 )); ?>
 <p>
index cb93d3ff79a740098922e0e53a4a9eddaa75c83a..3994bf0af3a59cf9d2fb7dbd7508f18da3955871 100644 (file)
@@ -351,7 +351,7 @@ function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = arra
        'mariadb' => "auto_increment/",
        'sqlite' => "autoinc.html",
        'pgsql' => "datatype-numeric.html#DATATYPE-SERIAL",
-       'mssql' => "ms186775.aspx",
+       'mssql' => "t-sql/statements/create-table-transact-sql-identity-property",
 )); ?>
 <td id="label-default"<?php echo $default_class; ?>><?php echo lang('Default value'); ?>
 <?php echo (support("comment") ? "<td id='label-comment'$comment_class>" . lang('Comment') : ""); ?>
@@ -616,7 +616,7 @@ function doc_link($paths, $text = "<sup>?</sup>") {
                'sql' => "https://dev.mysql.com/doc/refman/$version/en/",
                'sqlite' => "https://www.sqlite.org/",
                'pgsql' => "https://www.postgresql.org/docs/$version/",
-               'mssql' => "https://msdn.microsoft.com/library/",
+               'mssql' => "https://learn.microsoft.com/en-us/sql/",
                'oracle' => "https://www.oracle.com/pls/topic/lookup?ctx=db" . preg_replace('~^.* (\d+)\.(\d+)\.\d+\.\d+\.\d+.*~s', '\1\2', $server_info) . "&id=",
        );
        if (preg_match('~MariaDB~', $server_info)) {