久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <tfoot id='1eWr7'></tfoot>
        <bdo id='1eWr7'></bdo><ul id='1eWr7'></ul>

        <i id='1eWr7'><tr id='1eWr7'><dt id='1eWr7'><q id='1eWr7'><span id='1eWr7'><b id='1eWr7'><form id='1eWr7'><ins id='1eWr7'></ins><ul id='1eWr7'></ul><sub id='1eWr7'></sub></form><legend id='1eWr7'></legend><bdo id='1eWr7'><pre id='1eWr7'><center id='1eWr7'></center></pre></bdo></b><th id='1eWr7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1eWr7'><tfoot id='1eWr7'></tfoot><dl id='1eWr7'><fieldset id='1eWr7'></fieldset></dl></div>

        <small id='1eWr7'></small><noframes id='1eWr7'>

      1. <legend id='1eWr7'><style id='1eWr7'><dir id='1eWr7'><q id='1eWr7'></q></dir></style></legend>
      2. 有沒有辦法使用 SQL 獲取有關(guān)服務(wù)器的信息

        Is there a way to get information about a server using SQL(有沒有辦法使用 SQL 獲取有關(guān)服務(wù)器的信息)
        • <small id='ebVfP'></small><noframes id='ebVfP'>

            <tbody id='ebVfP'></tbody>

          • <bdo id='ebVfP'></bdo><ul id='ebVfP'></ul>
              <i id='ebVfP'><tr id='ebVfP'><dt id='ebVfP'><q id='ebVfP'><span id='ebVfP'><b id='ebVfP'><form id='ebVfP'><ins id='ebVfP'></ins><ul id='ebVfP'></ul><sub id='ebVfP'></sub></form><legend id='ebVfP'></legend><bdo id='ebVfP'><pre id='ebVfP'><center id='ebVfP'></center></pre></bdo></b><th id='ebVfP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ebVfP'><tfoot id='ebVfP'></tfoot><dl id='ebVfP'><fieldset id='ebVfP'></fieldset></dl></div>
            1. <tfoot id='ebVfP'></tfoot>
              <legend id='ebVfP'><style id='ebVfP'><dir id='ebVfP'><q id='ebVfP'></q></dir></style></legend>

                  本文介紹了有沒有辦法使用 SQL 獲取有關(guān)服務(wù)器的信息的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  有沒有辦法使用 SQL 獲取有關(guān)服務(wù)器的信息?它是一個使用 Windows 服務(wù)器的 Oracle 數(shù)據(jù)庫.我搜索了谷歌,我發(fā)現(xiàn)的只是 @@version 這不起作用.謝謝你的幫助.

                  Is there a way to get information about a server using SQL? It is an Oracle database using a windows server. I searched google and all I found was @@version which does not work. Thanks for your help.

                  推薦答案

                  這里有一個很好的主要信息檢索例程列表.確保這是獲取服務(wù)器信息的最佳方式:

                  Here is a good list of the main informations retrieve routines. Be sure this is the best way to obtain Server infos:

                  甲骨文

                  版本:PL/SQL、TNS 版本與 Oracle 一起使用.

                  Version: PL/SQL, TNS versions using with Oracle.

                  SELECT * FROM v$version;
                  -- Which version of oracle you are running.
                  SELECT * FROM v$version WHERE banner LIKE 'Oracle%';
                  -- Or, in more readable way.
                  SELECT * FROM product_component_version;
                  

                  Instance:顯示當前實例的狀態(tài).

                  Instance: Displays the state of the current instance.

                  SELECT * FROM v$instance;
                  -- About license limits of the current instance.
                  SELECT * FROM v$license;
                  

                  數(shù)據(jù)庫:數(shù)據(jù)庫名稱.

                  SELECT * FROM GLOBAL_NAME
                  --Db IP Address.
                  SELECT UTL_INADDR.get_host_address FROM dual
                  --Db Host Name.
                  SELECT UTL_INADDR.GET_HOST_NAME('above ip address') FROM dual
                  

                  客戶端:客戶端 IP 地址.

                  Client: Client IP Address.

                  SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM dual
                  --Db Host Name
                  SELECT SYS_CONTEXT('USERENV','TERMINAL') FROM dual
                  --Db Host Name with domain.
                  SELECT SYS_CONTEXT('USERENV','HOST') FROM dual
                  --Current Client session details who using DB.
                  SELECT * FROM v$session WHERE username = 'User/Schema name'
                  --To which DB user connected to.
                  SELECT SUBSTR(GLOBAL_NAME, 1, INSTR(GLOBAL_NAME,'.')-1) FROM GLOBAL_NAME
                  

                  SQL Server

                  版本:您正在運行的 Sql 服務(wù)器版本.

                  Version: Which versions of Sql sever you are running.

                  SELECT @@VERSION
                  SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('edition')
                  -- SERVERPROPERTY Returns property information about the server instance.
                  

                  客戶端:客戶端詳細信息(IP 地址、機器名稱、使用的實例).

                  Client: Client details (IP Address, Machine Name, Instance using).

                  SELECT con.client_net_address as IPAddress,
                           sess.host_name as MachineName, sess.program_name as ApplicationName,
                           login_name as LoginName
                  FROM sys.dm_exec_connections con
                  inner join sys.dm_exec_sessions sess
                  on con.session_ID=sess.session_ID
                  WHERE con.session_ID = @@SPID
                  

                  有關(guān)詳細信息:http://msdn.microsoft.com/en-我們/圖書館/ms174396.aspx

                  這篇關(guān)于有沒有辦法使用 SQL 獲取有關(guān)服務(wù)器的信息的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  SQL query to get all products, categories and meta data woocommerce/wordpress(獲取所有產(chǎn)品、類別和元數(shù)據(jù)的 SQL 查詢 woocommerce/wordpress)
                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數(shù)據(jù)庫列表和 SQL Server 實例使用的空間嗎?) - IT屋-程序員軟件開發(fā)
                  How to create a login to a SQL Server instance?(如何創(chuàng)建對 SQL Server 實例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過注冊表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會出現(xiàn)“數(shù)據(jù)類型轉(zhuǎn)換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)

                    <tbody id='s7THr'></tbody>

                  <small id='s7THr'></small><noframes id='s7THr'>

                  1. <i id='s7THr'><tr id='s7THr'><dt id='s7THr'><q id='s7THr'><span id='s7THr'><b id='s7THr'><form id='s7THr'><ins id='s7THr'></ins><ul id='s7THr'></ul><sub id='s7THr'></sub></form><legend id='s7THr'></legend><bdo id='s7THr'><pre id='s7THr'><center id='s7THr'></center></pre></bdo></b><th id='s7THr'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='s7THr'><tfoot id='s7THr'></tfoot><dl id='s7THr'><fieldset id='s7THr'></fieldset></dl></div>
                    <tfoot id='s7THr'></tfoot>
                    1. <legend id='s7THr'><style id='s7THr'><dir id='s7THr'><q id='s7THr'></q></dir></style></legend>

                          • <bdo id='s7THr'></bdo><ul id='s7THr'></ul>

                            主站蜘蛛池模板: 国产精品激情 | 国产成人99 | 日韩在线视频免费观看 | 精品永久 | 成人免费看 | 最新国产视频 | 91久久久久 | 亚洲二区视频 | 亚洲精品一区二区三区蜜桃久 | 亚洲交性 | 日本精品视频 | 色资源在线视频 | 五月天天丁香婷婷在线中 | 久草免费在线视频 | 国产精品久久久久一区二区三区 | 欧美精品91| 成人动漫一区二区 | 亚洲免费观看视频网站 | 国产欧美三区 | 国产一区二区毛片 | 欧美一级二级视频 | 亚洲国产精品视频 | 亚洲欧美日韩中文在线 | 色婷综合网 | 欧美极品少妇xxxxⅹ免费视频 | 国产91在线播放 | 久久伊人一区 | 日韩av成人在线观看 | 欧美在线一区二区三区 | 精品免费 | 久久久123 | av天天干| 国产精品亚洲第一区在线暖暖韩国 | 久久69精品久久久久久久电影好 | 中文字幕高清在线 | 成人在线电影在线观看 | 日韩精品免费视频 | 日日碰碰| www.色婷婷 | 亚洲欧洲在线视频 | 精品欧美乱码久久久久久1区2区 |