I'm working with sqlsrv on php. I tried to export my database into .sql
file but it didn't work. Can someone please help me?
i tried this,
$file = '/sqlsrv/backup.sql';
$result = sqlsrv_query($conn, "SELECT * INTO OUTFILE '$file' FROM '##table##'") or die( print_r( sqlsrv_errors(), true));