I made a SQL database backup through VFP
I run my program through a stored procedure in SQL
[ CREATE PROCEDURE test_backup
AS
BACKUP DATABASE sample TO DISK="c:\test\bck.dat" ]
In VFP I run this command: [ sqlexe(xc,’tes_backup’) ]
This does work. I would rather create the stored procedure in SQL directly from VFP. However, SQLEXE() doesn’t allow me create a procedure.
If somebody knows how create a stored procedure in SQL through VFP
I will appreciate any help.
Thank you.
[sig][/sig]
I run my program through a stored procedure in SQL
[ CREATE PROCEDURE test_backup
AS
BACKUP DATABASE sample TO DISK="c:\test\bck.dat" ]
In VFP I run this command: [ sqlexe(xc,’tes_backup’) ]
This does work. I would rather create the stored procedure in SQL directly from VFP. However, SQLEXE() doesn’t allow me create a procedure.
If somebody knows how create a stored procedure in SQL through VFP
I will appreciate any help.
Thank you.
[sig][/sig]