表名:样本
表结构:
ID int
NAME varchar(30)
IPADDRESS varbinary(16)
mysql查询:
load data concurrent local infile 'C:\test.txt' into table sample fields terminated by ',' LINES TERMINATED BY '\r\n' (ID,NAME,@var3) set IPADDRESS = inet_pton(@var3)
SQL Server 等效查询:
??
使用 bcp 将不胜感激..在此先感谢..