How to syntax of SQLCMD with output to a different server
Hello Experts,
Is it possible to have a sqlcmd invoked in Server1 and have a txt output to Server2? I was trying to do it but is getting an <Reason: The system cannot find the path specified>
Hello PatelAlpesh,
I could map the destination server from the source server. If this is what you meant, otherwise I'd appreciate the feedbaclk.
Qlemo
"from the source server" - Do you mean the MSSQL server you are connecting to with sqlcmd? That is useless - the file needs to be read by sqlcmd itself, which means the workstation.