㈠ 如何設置pl/sql developer中的自動補全功能
1.將以上內容存為shortcuts.txt,復制到X:\Program Files\PLSQL Developer\PlugIns目錄下,Win7要注意許可權
2.菜單中選 Tools -> Perferences -> Editor -> Autoreplaces
3.重啟PL/SQL Developer,輸入等號左側縮寫按下“空格”,會自動補全,那個效率啊;)
㈡ sql2000有自動補全命令的功能嗎有的話怎樣操作
默認不是開啟的。若要開啟此功能,可以在Linux中
vi /etc/my.cnf
[mysql]
#no-auto-rehash
auto-rehash #添加auto-rehash
即將[mysql]中的no-auto-rehash改為auto-rehash
再次登陸MySQL就可以自動補全了。
如果你想嘗試在Windows中做同樣嘗試,會發現不會成功。
原因在下面的英文中有解釋:
It ought to work this way:
C:\> mysql --auto-rehash
Or configure your my.cnf:
[mysql]
auto-rehash
edit: My apologies. I have found some references that the tab-completion feature in mysql client works only on UNIX/Linux. It does not work on Windows.
update: The reason for this is mentioned briefly in MySQL bug #4731:
[31 Jul 2004 12:47] Sergei Golubchik
I just downloaded 4.0.15 - command completion in mysql.exe is NOT working, as expected. It was never working in mysql.exe because we were not able to make readline to compile with VC++.
mysqlc.exe is a cygwin build, and it is linked with readline.
Explanation: GNU readline is a standard open-source library for handling user input. The MySQL team uses the readline library, but they are not its author. From the above comment, I understand that they were unsuccessful in compiling the readline library on Windows with Microsoft Visual C++, the tool they use to build the MySQL proct. Some open-source projects have not been made fully compatible with the Microsoft Windows environment.
At one time in the past, the MySQL proct provided an alternative client they called mysqlc.exe, which they compiled with the cygwin toolset on Windows, but they don't provide this anymore. The cygwin toolset includes the readline library, so it was possible to compile the mysqlc.exe client with support for tab-completion.
So in theory, if you are really intrepid, you could download the cygwin toolset including the readline library, then download the MySQL source code and build it using cygwin. Then you should have a mysql client program that can perform tab-completion. But this sounds like a lot of work even for someone who is familiar with building MySQL from source.
這是MySQL Windows版本的一個Bug :-)
㈢ sql2008 自動補全功能在哪裡設置,按哪個鍵可以實現自動補全
工具——選項——文本編輯器——Transact-sql——IntellSense
㈣ access中如何使用SQL語句實現自動補齊數據
Access是一款非常便捷的資料庫軟體,針對多數小型資料庫而言,Access已經足以滿足各種應用了。但在Access中,執行SQL語句的窗口隱藏較深,對於初學者找到這個執行窗口比較困難,下面小編就介紹一下如何在Access2007的版本中找到SQL執行窗口並執行SQL語句。
方法/步驟
首先打開Access軟體,並新建一個空白資料庫。(當然也可以打開之前保存的資料庫)。
如何在Access中使用SQL語句
如何在Access中使用SQL語句
軟體會默認開啟一個表名為【表1】的空白表單。
如何在Access中使用SQL語句
將空白表單表名修改為【測試表】,添加欄位和幾行測試數據。
如何在Access中使用SQL語句
默認軟體工具欄是【開始】工具欄,我們點擊【創建】進入創建工具欄,在工具欄中點擊【查詢設計】。
如何在Access中使用SQL語句
彈出【顯示表】窗口,點擊【關閉】將該窗口關掉。
如何在Access中使用SQL語句
這時軟體會進入【設計】工具欄,我們點擊工具欄左側的【SQL視圖】。
如何在Access中使用SQL語句
【SQL視圖】默認選擇的是【設計視圖】,我們在下拉菜單中選擇【SQL視圖】。
如何在Access中使用SQL語句
在工具欄下方會自動打開一個查詢窗口,在這里就可以輸入查詢用的SQL語句了。
如何在Access中使用SQL語句
我們輸入一行標準的SQL查詢語句,查詢在【測試表】中性別為『女』的數據,然後點擊【運行】。
如何在Access中使用SQL語句
SQL語句執行完成後,查詢窗口會自動轉換為表視圖,以表格方式顯示查詢到的數據。
如何在Access中使用SQL語句
㈤ sql2008 自動補全功能在哪裡設置,按哪個鍵可以實現自動補全
SQL中應該是沒有你說的這種功能,估計你說的是不是通過插件實現的.
樓上說的 在通過在使用 "." 之後觸發,的是表之類,函數之類的一些實例的東西.
像 select update 這些關鍵字,應該是不會給提示的.
㈥ SQL Server寫資料庫的時候怎麼樣才能自動補全或者提示
下個插件 sql prompt
http://ke..com/link?url=nXbJxO3timh7cHGd7eMWHNYou_icu9PQ_mbpRMVGItLechNTUsTUt8-
㈦ sql server 2008 SQL語句自動補全在哪設置
不知道你說的自動補全是不是一個欄位自動生成。
如果是的話,可以Design表,查看該欄位的屬性,可以通過設置IdentitySpecification中的IsIdentity設置為yes即可。
㈧ SQL自動補全數據的語句怎麼寫
Select right('000000'+convert(varchar(10),b),6) as b from a
㈨ HeidiSQL sql語句提示功能,自動補全 怎麼那麼不好用
1.檢查mysql否已啟netstat -an grep 3306 沒行沒啟服務:tcp4 0 0 *.3306 *.* LISTEN啟服務(用ports或pkg_add 安裝mysql):/usr/local/etc/rc.d/mysql-server start 2.服務已經啟檢查防火牆比用ipfw用ipfw show看3306埠否啟3.網路否連通用te...
㈩ sql server 2008資料庫里如何實現按規則自動補全某個欄位
使用觸發器。
假定表名稱為mytable,欄位名稱為idc。創建如下觸發器:
CREATE TRIGGER [myTRIGGER] ON [dbo].[mytable]
FOR INSERT
AS
DECLARE @IDD VARCHAR(8)
DECLARE @ID INT
SET @ID=(SELECT id FROM inserted)
SET @IDD = 'IC' + RIGHT('000000' + CONVERT(VARCHAR, @ID),6)
UPDATE [mytable] SET idc = @IDD WHERE id = @id
答案滿足