iT邦幫忙

一級屠豬士 的所有回答 639

[資料庫設計] 日期欄位在UI上非必填, 但在資料表裡不允許它是null, 並且要加入INDEX以提高查詢效能, 要如何設計?

NULL 一樣可以建立index, 一樣可以在查詢條件中使用index. create table it220703a ( id int unsigned...

2022-07-03 ‧ 由 WILL.I.AM 提問

C# .NET Framework 4.8 & SqlServer資料交互問題請益

海綿寶寶 這年頭的變成藍色是有連結,對一些人來說是無感的了.可能要改成 點我前往

2022-06-27 ‧ 由 Juro十六 提問

SQL 遞迴 排序層級表

create table it220626 ( id int not null primary key , code text not null , nam...

2022-06-26 ‧ 由 csben983049 提問

看國外的人寫程式,用到了import colors ,但我卻無法找到colors ,有人知道要怎麼安裝嗎?(已解決)

https://pypi.org/project/colors.py/ 安裝方式就是 pip install colors.py網頁上都做了快速copy的了.

2022-06-19 ‧ 由 codenewww 提問

Oracle 找前一個工作日

create table it0610 ( df_date date ); insert into it0610 values (to_date('2022...

python閏年計算

import calendar as cal def isLeapYear(n): year = int(n) return (year %...

2022-06-05 ‧ 由 30381884 提問

用雜湊避免註冊不同網站密碼重複可行嗎

搭配傳統的一些詩詞,比較好記.例如:

2022-05-30 ‧ 由 淺水員 提問

使用Python網路爬蟲輸出CSV時出現I/O operation on closed file.錯誤

Python 要注意縮排,程式區塊. for 的部分要在 with 的範圍內.你的寫法, with 後面接兩行,你還多了個空白行.然後離開了 with 的範圍,...

2022-05-30 ‧ 由 baltic 提問

請問一下這一題曜怎麼寫?(python)

卡關,具體說出哪裡不懂,或是卡住的地方,很多人都會幫忙.若真的毫無頭緒,或是無法表達出來,可以多尋求另外的管道吧. https://www.facebook.c...

2022-05-19 ‧ 由 ewen0928 提問

c++ 解題

用Python來做一下 from itertools import * letters = 'ABCDEFGHIJKL' querylst = [[3,4]...