행위

"Ksh db2 insert sql result"의 두 판 사이의 차이

DB CAFE

(새 문서: 건수 처리 <source> db2 -m "insert into test values(1)" | grep "Number of rows affected" |awk '{print $6}' | read V_COUNT </source>)
 
2번째 줄: 2번째 줄:
 
<source>
 
<source>
 
db2 -m "insert into test values(1)" | grep "Number of rows affected" |awk '{print $6}' | read V_COUNT
 
db2 -m "insert into test values(1)" | grep "Number of rows affected" |awk '{print $6}' | read V_COUNT
 +
 +
echo $V_COUNT
 
</source>
 
</source>

2018년 10월 16일 (화) 22:17 판

thumb_up 추천메뉴 바로가기


건수 처리

db2 -m "insert into test values(1)" | grep "Number of rows affected" |awk '{print $6}' | read V_COUNT

echo $V_COUNT