SQL Server – bcp

export

bcp <database.schema.tablename> out c:\raytemp\tablename.out -n -T -S”<server,port>”

import

bcp <database.schema.tablename> in c:\raytemp\tablename.out -n -T -S”<server,port>”

Leave a Reply

Your email address will not be published. Required fields are marked *