我在一个行间距的文本文件中有数千条如下所示的记录。我正在尝试创建某种类型的划定文件以在 SQL 中导入。无论是脚本,功能,甚至是excel,我都无法理解。
RECORD #: #####
NAME: Tim
DOB: 01/01/2012
SEX: male
DATE: 07/19/2012
NOTES IN PARAGRAPH FORM
END OF RECORD
RECORD #: #####
NAME: Tim
DOB: 01/01/2012
SEX: male
DATE: 07/19/2012
NOTES IN PARAGRAPH FORM
END OF RECORD
期望的输出:
RECORD #: #####,NAME: Tim,DOB: 01/01/2012,SEX: male,DATE: 07/19/2012,NOTES IN PARAGRAPH FORM
RECORD #: #####,NAME: Tim,DOB: 01/01/2012,SEX: male,DATE: 07/19/2012,NOTES IN PARAGRAPH FORM