mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
MS SQL: Link help from sys tables
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user