Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating stored procedures

Status
Not open for further replies.

lothadio

Programmer
Apr 5, 2001
27
SI
How do I create a storedprocedure?

After I establish a storedprocedure, how do I call it for execution within a php script?

Thanks

 
To create a stored procedure...

Create procedure MyProcedureName As
.
.
Insert your code here
.
.
Go

To execute a stored procedure...

Exec MyProcedureName

SQL Books Online have more details about creating stored procedures including the use of parameters in procedure calls. Terry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top