<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>postman &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/postman/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Wed, 06 Nov 2019 07:53:08 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>postman &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>軟體分享：我的郵局便利查</title>
		<link>https://noter.tw/2245/%e8%bb%9f%e9%ab%94%e5%88%86%e4%ba%ab%ef%bc%9a%e6%88%91%e7%9a%84%e9%83%b5%e5%b1%80%e4%be%bf%e5%88%a9%e6%9f%a5/</link>
					<comments>https://noter.tw/2245/%e8%bb%9f%e9%ab%94%e5%88%86%e4%ba%ab%ef%bc%9a%e6%88%91%e7%9a%84%e9%83%b5%e5%b1%80%e4%be%bf%e5%88%a9%e6%9f%a5/#comments</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Tue, 26 Jun 2012 15:03:11 +0000</pubDate>
				<category><![CDATA[手機 App]]></category>
		<category><![CDATA[中翻英]]></category>
		<category><![CDATA[中華郵政]]></category>
		<category><![CDATA[地址]]></category>
		<category><![CDATA[郵局]]></category>
		<category><![CDATA[郵遞區號]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[apk]]></category>
		<category><![CDATA[軟體分享]]></category>
		<category><![CDATA[postman]]></category>
		<category><![CDATA[ATM]]></category>
		<guid isPermaLink="false">http://wazai.net/?p=2245</guid>

					<description><![CDATA[<p>(2012-11-24 更新)「我的郵局便利查」這個軟體其實規劃很久了，只是做到一半就放在一旁，會想做郵局的軟體主要原因有幾個，像是有時候跨行提款會被扣手續費，如果可以知道哪裡有郵局的ATM就可以省掉&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/2245/%e8%bb%9f%e9%ab%94%e5%88%86%e4%ba%ab%ef%bc%9a%e6%88%91%e7%9a%84%e9%83%b5%e5%b1%80%e4%be%bf%e5%88%a9%e6%9f%a5/" data-wpel-link="internal">軟體分享：我的郵局便利查</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>(2012-11-24 更新)「<a href="https://play.google.com/store/apps/details?id=com.hans.postman" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right"><strong><span style="color: #ff0000; font-size: small;">我的郵局便利查</span></strong><span class="wpel-icon wpel-image wpel-icon-6"></span></a>」這個軟體其實規劃很久了，只是做到一半就放在一旁，會想做郵局的軟體主要原因有幾個，像是有時候<strong>跨行提款會被扣手續費</strong>，如果可以知道哪裡有郵局的ATM就可以省掉這些手續費；前陣子小蛙的姊姊常常問小蛙公司的住址或是家裡的住址，小蛙也總是要再輸入一次，後來索性記在手機的記事本裡，有了這個軟體在查詢完地址的同時也可以<span style="color: #000000;"><strong>儲存到收納盒(address book)中</strong></span>，下次就可以快速的<strong>複製並貼上</strong>給朋友；及有時候申請一些文件需要有<strong>英文地址、郵遞區號</strong> … 等等的原因。「<strong><span style="color: #ff0000;">我的郵局便利查</span></strong>」便誕生了，雖然拖了很久。<br />
<span id="more-2245"></span><br />
直接上軟體畫面，「<strong><span style="color: #ff0000;">我的郵局便利查</span></strong>」主畫面中分成四個選項「<strong><span style="color: #9b00d3;">速查‧郵遞區號3+2 / 地址中翻英</span></strong>」、「<strong><span style="color: #9b00d3;">急尋‧郵局ATM地點</span></strong>」、「<strong><span style="color: #9b00d3;">便民‧六日營業郵局</span></strong>」、「<strong><span style="color: #9b00d3;">實用‧便利收納盒</span></strong>」。<br />
<img fetchpriority="high" decoding="async" style="display: block; margin-left: auto; margin-right: auto;" src="https://lh3.googleusercontent.com/-QMN9Dj1s1ko/T-glbN_6iQI/AAAAAAAAEo0/lAMIdC5iH8o/s640/Screenshot_2012-06-25-16-04-20.png" alt="Screenshot 2012 06 25 16 04 20 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<ul>
<li>
<h5>速查‧郵遞區號3+2 / 地址中翻英</h5>
</li>
</ul>
<p><span style="color: #000000;">查詢部分包括了「<strong>縣市</strong>」、「<strong>鄉鎮市區</strong>」、「<strong>村里</strong>」、「<strong>道路</strong>」、「<strong>號碼</strong>」等頁面，在「<strong>縣市</strong>」頁面可以直接依照鄉鎮市區或道路名稱快速查詢，其中村里在郵遞區號及中翻英部分是不影響的，因此使用者可以直接跳過不輸入。<br />
</span><span style="color: #000000;"><br />
</span><span style="color: #000000;">「</span><strong>縣市</strong><span style="color: #000000;">」</span>頁面，使用者可直接選取縣市，或是透過右上角的<strong>放大鏡</strong>進行快速查詢。</p>
<p style="text-align: center;"><img decoding="async" src="https://lh6.googleusercontent.com/-MSU6dGYo_k4/T-nIHVEbNvI/AAAAAAAAEsM/rRN-_ZWUivo/s640/Screenshot_2012-06-26-22-26-57.png" alt="Screenshot 2012 06 26 22 26 57 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh4.googleusercontent.com/-ZFdWelyAw8s/T-nIHbJdB8I/AAAAAAAAEsI/i4ipZ4nMJcU/s640/Screenshot_2012-06-26-22-27-04.png" alt="Screenshot 2012 06 26 22 27 04 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<p>「搜尋結果」頁面</p>
<p style="text-align: center;"><img decoding="async" src="https://lh3.googleusercontent.com/-ldAvnB3Wbko/T-nIHbtoEVI/AAAAAAAAEsE/ka42ZgxFwxw/s640/Screenshot_2012-06-26-22-27-16.png" alt="Screenshot 2012 06 26 22 27 16 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh5.googleusercontent.com/-dx87YOhbeM0/T-nIH5zMxoI/AAAAAAAAEsQ/PcmsOqGAlPw/s640/Screenshot_2012-06-26-22-27-32.png" alt="Screenshot 2012 06 26 22 27 32 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<p>選擇了「<strong>縣市</strong>」之後跳到「<strong>鄉鎮市區</strong>」頁面，接著「<strong>村里</strong>」頁面，「<strong>村里</strong>」不影響<strong>郵遞區號</strong>及<strong>地址中翻英</strong>，因此這邊可以點選上方的「<strong>點此略過</strong>」來跳過，頁面下方也有地址導引。</p>
<p style="text-align: center;"><img decoding="async" src="https://lh5.googleusercontent.com/-pzS_I-UjQZc/T-nIHxRs8aI/AAAAAAAAEsY/W0GFSIPggR0/s640/Screenshot_2012-06-26-22-28-27.png" alt="Screenshot 2012 06 26 22 28 27 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh3.googleusercontent.com/-99smUfi5s7w/T-nIILbxYHI/AAAAAAAAEsU/H5Q7dcNZwVQ/s640/Screenshot_2012-06-26-22-28-35.png" alt="Screenshot 2012 06 26 22 28 35 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<p>「<strong>道路</strong>」頁面，點選右上角的放大鏡可開啟過濾功能；最後一個號碼頁面，使用者可根據實際情況挑選五碼郵遞區號，完成之後點選下方地址，即可複製中文地址或是英文地址。</p>
<p style="text-align: center;"><img decoding="async" src="https://lh3.googleusercontent.com/-Eo9TjUaPFOU/T-nIIZKgkBI/AAAAAAAAEsk/Wp3fAEgpxt0/s640/Screenshot_2012-06-26-22-28-56.png" alt="Screenshot 2012 06 26 22 28 56 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh3.googleusercontent.com/-Zsm4TMue6K4/T-nIIy06woI/AAAAAAAAEs4/CIRNdwy-QHg/s640/Screenshot_2012-06-26-22-29-19.png" alt="Screenshot 2012 06 26 22 29 19 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<p>右上角的<strong>星星按鈕</strong>可以讓使用者將目前的中英地址儲存到<strong>收納盒</strong>中，下次查詢時就不用重頭來過囉！</p>
<p style="text-align: center;"><img decoding="async" src="https://lh4.googleusercontent.com/-tHWow62bXpc/T-nIJpbM5OI/AAAAAAAAEs8/_JHgQmz8cY8/s640/Screenshot_2012-06-26-22-29-35.png" alt="Screenshot 2012 06 26 22 29 35 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<ul>
<li>
<h5>急尋‧郵局ATM地點</h5>
</li>
</ul>
<p>這個選項中，顧名思義是用來<strong>查詢中華郵政ATM的地點</strong>，這邊小蛙要<strong>特別聲明一下</strong>，<strong><span style="color: #ff0000;">地圖上地標點的來源是中華郵政網站，但中華郵政網站並未明白且正確記載每筆記錄，也就是有些地址可能是錯誤的或是在Google Map上無法正確標示的，而造成地標點的錯誤或嚴重偏移，在軟體最底部小蛙特別聲明了這個狀況，因此使用者在使用的時候，務必點選地表點，並查看地標點中的地址資料是否明確，以免被錯誤的資料誤導。</span></strong><br />
頁面有一個Google Map以及上方的選單，使用者可以根據需求選擇不同的ATM。<span style="color: #ff0000;"><strong>切記一定要點選地標點看看地址是不是正確的</strong></span>。總共有四個選項(下圖右)。</p>
<p style="text-align: center;"><img decoding="async" src="https://lh5.googleusercontent.com/-Y9w2taB61pg/T-nILbXCS9I/AAAAAAAAEtM/P0_OUMqEyPI/s640/Screenshot_2012-06-26-22-30-01.png" alt="Screenshot 2012 06 26 22 30 01 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh5.googleusercontent.com/-3GWOvnwOegI/T-nILWli4QI/AAAAAAAAEtI/RbJ8-LM_4p8/s640/Screenshot_2012-06-26-22-30-10.png" alt="Screenshot 2012 06 26 22 30 10 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh6.googleusercontent.com/-HSipTpjS3pY/T-nIMTa7b6I/AAAAAAAAEtU/hWt0F1cw1ZM/s640/Screenshot_2012-06-26-22-30-17.png" alt="Screenshot 2012 06 26 22 30 17 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<ul>
<li>
<h5>便民‧六日營業郵局</h5>
</li>
</ul>
<p>這個選項跟上個選項一樣，小蛙要重複同樣的聲明。<strong><span style="color: #ff0000;">地圖上地標點的來源是中華郵政網站，但中華郵政網站並未明白且正確記載每筆記錄，也就是有些地址可能是錯誤的或是在Google Map上無法正確標示的，而造成地標點的錯誤或嚴重偏移，在軟體最底部小蛙特別聲明了這個狀況，因此使用者在使用的時候，務必點選地表點，並查看地標點中的地址資料是否明確，以免被錯誤的資料誤導。</span></strong></p>
<p style="text-align: center;"><img decoding="async" src="https://lh4.googleusercontent.com/-vsXsiVAzJNc/T-nINLJu9SI/AAAAAAAAEtg/PdUzDG1WLoo/s640/Screenshot_2012-06-26-22-30-28.png" alt="Screenshot 2012 06 26 22 30 28 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh5.googleusercontent.com/-9PljY4n6L9M/T-nINqqBVCI/AAAAAAAAEts/uD5poWDltL0/s640/Screenshot_2012-06-26-22-30-53.png" alt="Screenshot 2012 06 26 22 30 53 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh5.googleusercontent.com/-fPKSJQulNmk/T-nINUJipaI/AAAAAAAAEtc/yC08CDNyBwA/s640/Screenshot_2012-06-26-22-30-35.png" alt="Screenshot 2012 06 26 22 30 35 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<ul>
<li>
<h5>實用‧便利收納盒</h5>
</li>
</ul>
<p>最後一個收納盒頁面，主要功能就是列出所有使用者收納的地址，長按該地址後可以選擇複製地址或刪除地址。</p>
<p style="text-align: center;"><img decoding="async" src="https://lh3.googleusercontent.com/-ZlVJR3j0FzE/T-nIN0AekaI/AAAAAAAAEto/gnDyNf-tmaE/s640/Screenshot_2012-06-26-22-31-00.png" alt="Screenshot 2012 06 26 22 31 00 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img decoding="async" src="https://lh3.googleusercontent.com/-O1AwPawFm-0/T-nIPtEXQbI/AAAAAAAAEuE/z8NDsGezDh4/s640/Screenshot_2012-06-26-22-31-07.png" alt="Screenshot 2012 06 26 22 31 07 軟體分享：我的郵局便利查" width="200" height="333" title="軟體分享：我的郵局便利查"></p>
<p>感謝大家的下載與使用，有任何問題或建議，歡迎留言在這邊！感恩！<br />
昶羽:&nbsp;很多進步空間 建議去比照銀行的去設計符合郵局的app,像可以轉賬，查詢戶頭之類的功能，不要沒什麼功能也要放上來，讓人看笑話，<br />
to 昶羽: 這小蛙就一定要回一下了，金流部分不是所有開發者都可以碰到的，這部分建議您可以多去涉獵一些(如果真有那麼容易，為什麼一個銀行不會有多個開發商去開發呢?亦或是如果那麼容易碰觸到的話，存戶的資料有保障嗎?仔細想想吧！)至於上架是小蛙的事，下載是使用者的事，這個app對小蛙來說是有用的，也是實用的，也許是您的要求比較&#8221;高&#8221;，又或者是您根本搞不清楚狀況?下載前都不看說明的?下載前花點時間看一下說明，就知道這軟體的功能是什麼，就知道自己需不需要下載，難道您買便當的時候不跟老闆說想要雞腿便當，打開之後發現是鱈魚便當，怪老闆嗎?不好意思讓您看笑話了，謝謝您的建議，得罪之處請見諒！</p>
<pre>歷史更新：
1.0.2 &nbsp; &nbsp; 修正英文地址漏掉鄉鎮市區錯誤
1.0.1&nbsp;&nbsp;&nbsp;&nbsp; 修正搜尋道路錯誤問題
1.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;軟體上架</pre>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/2245/%e8%bb%9f%e9%ab%94%e5%88%86%e4%ba%ab%ef%bc%9a%e6%88%91%e7%9a%84%e9%83%b5%e5%b1%80%e4%be%bf%e5%88%a9%e6%9f%a5/" data-wpel-link="internal">軟體分享：我的郵局便利查</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/2245/%e8%bb%9f%e9%ab%94%e5%88%86%e4%ba%ab%ef%bc%9a%e6%88%91%e7%9a%84%e9%83%b5%e5%b1%80%e4%be%bf%e5%88%a9%e6%9f%a5/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SQLite 圖形化操作軟體 &#8211; SQLite Expert Personal (2)</title>
		<link>https://noter.tw/1558/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-2/</link>
					<comments>https://noter.tw/1558/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-2/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Mon, 19 Dec 2011 14:12:54 +0000</pubDate>
				<category><![CDATA[資料庫]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[auto_increment]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[postman]]></category>
		<guid isPermaLink="false">http://wazai.co.cc/?p=1558</guid>

					<description><![CDATA[<p>小蛙在上一篇文章中介紹 SQLite Expert Personal 簡單的使用方式，這篇文章小蛙要說明怎麼設定每一筆資料都有一個可以自動新增的id，相當於Oracle的SEQUENCE，MySQL的&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1558/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-2/" data-wpel-link="internal">SQLite 圖形化操作軟體 &#8211; SQLite Expert Personal (2)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>小蛙在上一篇文章中介紹 SQLite Expert Personal 簡單的使用方式，這篇文章小蛙要說明怎麼設定每一筆資料都有一個可以自動新增的id，相當於Oracle的SEQUENCE，MySQL的AUTO_INCREMENT，設定及運作方式跟MySQL的差不多，只是小蛙一開始要設定的時候還是小卡了一下。<br />
<span id="more-1558"></span><br />
這裡小蛙用實際的例子來說明，原本在設計這個資料表的時候，目的是在儲存台灣的郵遞區號，ex.台北市，大安區，Da&#8217;an Dist.,，這個資料表裡面小蛙也設定了id屬性，目的是讓比鄉鎮區以下的例如：村、里&#8230;等，可以用id來辨別是在哪個鄉鎮區。小蛙在設計到一半的時候，發現SQLite Expert Personal裡面預覽資料的時候有個欄位叫做RecNo，小蛙以為這套GUI會產生自動遞增的欄位方便使用者操作，但當小蛙透過程式存取SQLite的時候卻又得不到RecNo這個欄位的值才恍然大悟，原來這套軟體產生的RecNo只是方便使用者在GUI操作的時候辨識資料筆數。下圖是小蛙被騙的RecNo。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-14.png" data-wpel-link="internal"><img decoding="async" title="sqlite-14" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-14.png" alt="sqlite 14 SQLite 圖形化操作軟體 - SQLite Expert Personal (2)" width="423" height="251"></a><br />
在已經建立好資料，卻又要新增not null的auto_increment欄位的方法也不難，只是做個小動作騙騙這套管理工具。在Design下的Fields頁面中選擇下方的Add，將要新增的id欄位補上，注意Type一定要用INTEGER。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-15.png" data-wpel-link="internal"><img decoding="async" class="alignnone size-large wp-image-1563" title="sqlite-15" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-15-580x419.png" alt="sqlite 15 SQLite 圖形化操作軟體 - SQLite Expert Personal (2)" width="580" height="419"></a><br />
如果上一步直接把Not null打勾的話一定會出現這個錯誤，因為已經把資料建好，而新增欄位如果是Not null，就違反了規則(新增出來的欄位裡面沒有值，當然就違反了)。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-161.png" data-wpel-link="internal"><img decoding="async" class="alignnone size-large wp-image-1564" title="sqlite-16" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-161-580x419.png" alt="sqlite 161 SQLite 圖形化操作軟體 - SQLite Expert Personal (2)" width="580" height="419"></a><br />
只要把Not null的勾勾先取消，點選OK後，繼續切換到Indexes頁面，點選下方Add後，在要自動遞增的欄位上點兩下(會跑到右邊)，之後會發現上方有三個勾，視需求勾選(Primary: PK，主要可以識別的的 Key，Unique: 唯一值，不可以重複，Autoincrement: 每一筆紀錄都會自動增加1)。確定後，點選下方的Apply就不會在出現上面的錯誤囉！<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-18.png" data-wpel-link="internal"><img decoding="async" class="alignnone size-large wp-image-1559" title="sqlite-18" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-18-580x419.png" alt="sqlite 18 SQLite 圖形化操作軟體 - SQLite Expert Personal (2)" width="580" height="419"></a><br />
最後因為我們新增了Autoincrement這個屬性，因此原本新增的id欄位就不再是null，接著再回到Fields編輯剛剛的id欄位，把id欄位的Not null勾選就完成囉！<br />
最後可以把經常查詢或是需要查詢的欄位建立Index，如此一來可以加快我們搜尋資料的速度。以下這段內容節錄自<strong><a href="http://www.1keydata.com/tw/sql/sql-create-index.html" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">SQL語法教學<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>。該網站舉了一個翻書的例子，如果我們在書裡有索引(可以看成是目錄)，就可以很快的找到我們要查找的資料；倘若有一本書沒有任何目錄，那麼就必須逐字去尋找。</p>
<blockquote><p>索引 (Index) 可以幫助我們從表格中快速地找到需要的資料。<br />
&#8230;<br />
從資料庫表格中尋找資料也是同樣的原理。如果一個表格沒有索引的話，資料庫系統就需要將整個表格的資料讀出 (這個過程叫做&#8217;table scan&#8217;)。若有適當的索引存在，資料庫系統就可以先由這個索引去找出需要的資料是在表格的什麼地方，然後直接去那些地方抓資料。這樣子速度就快多了。</p></blockquote>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1558/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-2/" data-wpel-link="internal">SQLite 圖形化操作軟體 &#8211; SQLite Expert Personal (2)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/1558/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SQLite 圖形化操作軟體 &#8211; SQLite Expert Personal (1)</title>
		<link>https://noter.tw/1554/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-1/</link>
					<comments>https://noter.tw/1554/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-1/#comments</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Fri, 16 Dec 2011 16:46:18 +0000</pubDate>
				<category><![CDATA[資料庫]]></category>
		<category><![CDATA[postman]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[sqlite explorer]]></category>
		<category><![CDATA[sqlite gui]]></category>
		<guid isPermaLink="false">http://wazai.co.cc/?p=1554</guid>

					<description><![CDATA[<p>小蛙今天要介紹一套圖形化的SQLite管理軟體，目前像Android, iOS … 等手持式裝置內部都支援使用SQLite，不外乎是因為它方便、小、速度快，SQLite不像一般MySQL、Oracle&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1554/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-1/" data-wpel-link="internal">SQLite 圖形化操作軟體 &#8211; SQLite Expert Personal (1)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>小蛙今天要介紹一套圖形化的SQLite管理軟體，目前像Android, iOS … 等手持式裝置內部都支援使用SQLite，不外乎是因為它方便、小、速度快，SQLite不像一般MySQL、Oracle、MSSQL這麼複雜，我們可以把SQLite想像成一個檔案(實際上存好之後也只有一個檔案)，但這一個檔案又比Microsoft Access有更大的便利性(可以在很多平台使用，不會只鎖定微軟平台)，想更了解SQLite可以參考<a href="http://www.sqlite.org/datatype3.html" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">SQLite官方說明書<span class="wpel-icon wpel-image wpel-icon-6"></span></a>、或者是<a href="http://zh.wikipedia.org/wiki/SQLite" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">WIKI-SQLite<span class="wpel-icon wpel-image wpel-icon-6"></span></a>。<strong><a href="http://www.sqliteexpert.com/index.html" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">SQLite Expert Personal<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>是小蛙今天要介紹的軟體，它不只可以瀏覽SQLite內儲存的資料，同時也可以進行新增、修改、刪除…等操作，就像官網首頁寫的「SQLite Expert: A powerful administration tool for your SQLite databases」。<br />
<span id="more-1554"></span><br />
注意：這篇文章主要是以圖形化工具操作SQLite，並不會讓你學到SQLite指令操作。<br />
先到官網下載SQLite Expert Personal免費版， 上面的是專業版，只能試用30天，那小蛙只是需要一些資料庫基本操作，選擇下面的License是Freeware的個人免費版。下載完之後安裝，預設一直下一步直到安裝完成。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-16.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-16" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-16_thumb.png" alt="sqlite-16" width="574" height="517" border="0"></a><br />
安裝完成後執行SQLite Expert Personal，在桌面可以看到圖示，如果沒有的話到開始所有程式(程式集)裡面去找「SQLite Expert」，點兩下執行。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-11.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-11" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-11_thumb.png" alt="sqlite-11" width="84" height="94" border="0"></a><br />
啟動之後我們必須先建立一個新的資料庫，點選左上角紅色框框新增資料庫，並且輸入相關設定。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-1.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-1" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-1_thumb.png" alt="sqlite-1" width="574" height="432" border="0"></a><br />
新增完資料庫後，畫面左邊可以看到小蛙剛剛新增的資料庫「postman」，在資料庫上點選滑鼠右鍵，選擇「New Table」來新增需要的表單。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-2.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-2" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-2_thumb.png" alt="sqlite-2" width="574" height="432" border="0"></a><br />
先輸入「Table name」，這邊小蛙輸入「post_code」，並且在下面「Fields」的部份新增需要的資料表欄位。這邊要注意的是如果要使用「自動遞增 auto_increment」功能的話，必須要把該欄位的「Type」設定成「INTEGER」。新增完成後點選下方的「Apply」。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-3.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-3" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-3_thumb.png" alt="sqlite-3" width="574" height="432" border="0"></a><br />
畫面的左邊可以看到新增完成的Table，右邊則是一些相關的操作畫面，像是「Database」、「SQL」、「Data」、「Design」、「DDL」。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-5.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-5" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-5_thumb.png" alt="sqlite-5" width="574" height="432" border="0"></a><br />
「SQL」頁面可以讓我們測試所寫的SQL正不正確。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-6.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-6" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-6_thumb.png" alt="sqlite-6" width="574" height="432" border="0"></a><br />
「Data」可以瀏覽目前資料表裡面包含的資料，並且新增、修改、刪除這些資料。小蛙試了一下才知道要怎麼新增，點選「+」符號後會出現如下圖多一列都是&lt;null&gt;的資料，在該列上點兩下就可以進入編輯畫面(別點選有Filter的那列)。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-7.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-7" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-7_thumb.png" alt="sqlite-7" width="574" height="432" border="0"></a><br />
「Design」就是剛剛我們新增資料表及欄位的地方，可以提供修改、刪除欄位，也包括了Index, FK, Constraints, Triggers 等等的建立。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-8.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-8" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-8_thumb.png" alt="sqlite-8" width="574" height="432" border="0"></a><br />
「DDL」則是可以看到這個資料表建立的語法。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-9.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-9" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-9_thumb.png" alt="sqlite-9" width="574" height="432" border="0"></a><br />
設定完所有欄位後就可以開始新增資料了，新增資料以及設定Index, 自動遞增…等，小蛙將在下一篇文章中說明。下圖是剛剛我們建立的sqlite，別看這小小的檔案，SQLite可是麻雀雖小，五臟俱全呢！<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/sqlite-10.png" data-wpel-link="internal"><img decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sqlite-10" src="https://noter.tw/wp-content/uploads/2011/12/sqlite-10_thumb.png" alt="sqlite-10" width="76" height="74" border="0"></a></p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1554/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-1/" data-wpel-link="internal">SQLite 圖形化操作軟體 &#8211; SQLite Expert Personal (1)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/1554/sqlite-%e5%9c%96%e5%bd%a2%e5%8c%96%e6%93%8d%e4%bd%9c%e8%bb%9f%e9%ab%94-sqlite-expert-personal-1/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
