How to Create Stored Procedures in Visual FoxPro ProgramsID: Q130304 3.00 WINDOWS The information in this article applies to:
SUMMARYA Visual FoxPro program can create a database by using the CREATE DATABASE command, but the CREATE DATABASE command does not offer a way to create stored procedures. This article describes how a Visual FoxPro program can add stored procedures to a new or existing database.
MORE INFORMATIONTo add a stored procedure to an existing table, use the APPEND PROCEDURE command to take a procedure from an existing text file and add it to a database's stored procedure.
Step-by-Step Example1. Create a new database, or open an existing one. For example, use the 2. Create a text file that will contain the desired procedure(s) or open an
3. To append the procedure(s) to an existing database's Stored Procedures
NOTE: APPEND PROCEDURES requires that the database be opened exclusively.
Also, APPEND PROCEDURES may be used to overwrite the existing stored
procedures by using the optional OVERWRITE clause, for example:
Additional reference words: 3.00 VFoxWin
KBCategory:
KBSubcategory: FxprgTable
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |