Backup Restore MS Sql

Backup Restore MS Sql

Postby Jack » Thu Oct 01, 2015 6:00 am

Hello,
I have a MS SQL database and want to make backup of the table DEM.
I try this code but it d'nt work (go to the catch) :
***
csql:=[UNLOAD 'c:\apps\dem.txt' DELIMITER '|' SELECT * FROM DEM]

Try
oCon:Execute( cSQL )
Catch
ShowAdoEr(oCon,cSql )
Return
End try
***

Any idea ?

Thanks
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: Backup Restore MS Sql

Postby Jack » Thu Oct 08, 2015 9:12 am

No idea about Backup ?
How is it possible to make a copy of a Table with a SQL command ?

Thanks
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: Backup Restore MS Sql

Postby Baxajaun » Thu Oct 08, 2015 9:41 am

User avatar
Baxajaun
 
Posts: 968
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests