作者查詢 / TeemingVoid
作者 TeemingVoid 在 PTT 全部看板的留言(推文), 共500則
限定看板:全部
看板排序:
4F→:1. 您的 select 句子明顯有打字錯誤(第一行就錯了)。08/02 14:27
5F→:2. 雖然是名著,但是並非每個人手邊都正好該書該版。08/02 14:28
6F→:3. 沒有資料表各欄位說明,大家會猜得很累。08/02 14:28
7F→:4. 陳老師人很好的,要不要寫信請教本人看看? :-)08/02 14:28
2F推:兩個主鍵?! 一個Table不會有兩個主鍵(primary key),08/01 21:41
3F→:但可以拿兩個以上的欄位聯合組成主鍵。如果是後者,08/01 21:41
4F→:就有可能出現相同的 B 欄位值,因為,只要 A&B 的內容08/01 21:42
5F→:聯合起來不重複就行,既然鍵值不重複,但 on dupl.08/01 21:42
6F→:key update 對號入座的效果自然就沒有了。08/01 21:43
1F推:select status + 0 as statusValue from a;07/31 20:57
23F推:推 超精美 ^^07/31 00:12
1F推:很久很久沒使用 Access 了,所以,我有可能是錯的,07/29 21:10
2F→:單就 SQL 語法來說,利用 union 可連接兩個 select :07/29 21:10
3F→:select ID, DataA, null as DataA from TableA07/29 21:11
4F→:union all07/29 21:11
5F→:select ID, null, DataB from TableB07/29 21:11
6F→:select ID, DataA, null as DataB from TableA07/29 21:16
7F推:↑↑↑第一行應該這樣才對!07/29 21:19
1F推:請參考這頁的說明: http://ppt.cc/71LQ07/29 21:15
2F推:RAID 1+0,詳情: http://ppt.cc/7Lnm07/25 01:06
3F推:order by rand 是比較優雅的寫法,如果要比較快的:07/25 01:10
4F→:http://ppt.cc/iCa~07/25 01:11
1F推:System.IO.FileStream R_Data =07/05 21:58
2F→: new System.IO.FileStream(@"c:\temp\test_r.txt",07/05 21:59
3F→: System.IO.FileMode.Create);07/05 21:59
4F→:byte[] pixel_R = new byte[100]; // <-假設都是25507/05 21:59
5F→:R_Data.Write(pixel_R, 0, pixel_R.Length);07/05 21:59
6F→:R_Data.Close();07/05 21:59
7F→:直接寫出陣列即可,不必將位元陣列轉成Unicode字串。07/05 22:01
1F推:1. 將 Excel 文件另存成 .CSV 檔07/02 01:31
2F→:2. 利用 load data infile 指令匯入資料07/02 01:31
3F→: 詳情請見: http://ppt.cc/Ehtb07/02 01:32
4F→:至於 phpMyAdmin 的作法,請參考:http://ppt.cc/udEU07/02 01:33