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.
2 つのソースから 2 つのデータ ストリームを結合する方法はどうですか。
2 つの MSSQL テーブルがあり、データを MySQL テーブルにプルする必要がありますが、null フィールドではなく MySQL テーブルに収まる十分なフィールドが MSSQL ストリームにありません。何かアドバイスはありますか?
私が答えた次の質問に基づいて、あなたは正しい答えを見つけました。null フィールドに定数のデフォルト値を入力するだけです (定数の追加)。
bash では、標準 (1) およびエラー (2) の出力を次のように再ルーティングして破棄できます。
>/dev/null 2>&1
しかし、次の例では何かが異なります。
nohup myscript.sh >myscript.log 2>&1 </dev/null &
<