Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データベースに挿入/インポートする前に、CSVファイルの不要な行を削除/削除することはできますか?アップロードファイルがあります。
例えば。
CSVの空白行を削除/削除したい、またはデータベースフィールドのデータのみを挿入したい。
どうもありがとう!
データをステージング テーブルにロードし、SQL を使用してフィルタリングを行うことをお勧めします。
結局のところ、データをデータベースに入れているのです。データベースはこのような操作が得意です