Reputation: 1
I am new at MySQL and wanted to know : how to create a method?
Upvotes: 0
Views: 179
Reputation: 135838
A stored procedure or function may be as close as you'll get. See: CREATE PROCEDURE and CREATE FUNCTION Syntax
Upvotes: 2
Reputation:
Do you mean "method" in an object-oriented context? If so, then SQL isn't really an object-oriented language; it's structured very simply around retrieving and doing (basic) manipulations of data in a database.
Upvotes: 1