1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

MS SQL: Link help from sys tables

This commit is contained in:
Jakub Vrana
2025-03-03 08:18:20 +01:00
parent fb3b23617d
commit 160beb726a
2 changed files with 12 additions and 0 deletions

View File

@@ -228,6 +228,17 @@ if (isset($_GET["mssql"])) {
return queries("BEGIN TRANSACTION");
}
function tableHelp($name, $is_view = false) {
$links = array(
"sys" => "catalog-views/sys-",
"INFORMATION_SCHEMA" => "information-schema-views/",
);
$link = $links[get_schema()];
if ($link) {
return "relational-databases/system-$link" . preg_replace('~_~', '-', strtolower($name)) . "-transact-sql";
}
}
}

View File

@@ -16,6 +16,7 @@ MS SQL: Fix altering foreign key
MS SQL PDO: Support offset
MS SQL: Remove support for MSSQL extension
MS SQL: Add support for PDO_SQLSRV extension
MS SQL: Link help from sys tables
MongoDB: Remove support for deprecated extension mongo
Adminer 4.17.1 (released 2025-02-25):