몇 가지 세부 사항을 인쇄하는 다음 인쇄 문이 있지만 탭이 제대로되어 있지 않아 끔찍한 모양입니다. 탭 형식으로 인쇄 할 수있는 방법이 없으므로 모두 줄 끝에있는 동일한 위치에서 만나게됩니다.SQL Server 서식 지정 PRINT 메시지?
Print'ByLineID: '+ Convert (varchar,@bylineID,1)+' , '+ Convert(varchar,@Count,1)+ ' matching records found, '+ Convert(varchar,@@rowcount,1)+' updated.'
최종 결과 :
ByLineID: 119952 , 168 matching records found, 0 updated.
ByLineID: 93979 , 56 matching records found, 0 updated.
ByLineID: 266021 , 45 matching records found, 0 updated.
ByLineID: 105976 , 44 matching records found, 0 updated.
ByLineID: 97525 , 40 matching records found, 0 updated.
ByLineID: 94138 , 39 matching records found, 0 updated.
ByLineID: 88967 , 37 matching records found, 0 updated.