Jomana Ahmed
Jomana Ahmed

Reputation: 1

How to create a method in MySQL?

I am new at MySQL and wanted to know : how to create a method?

Upvotes: 0

Views: 179

Answers (2)

Joe Stefanelli
Joe Stefanelli

Reputation: 135838

A stored procedure or function may be as close as you'll get. See: CREATE PROCEDURE and CREATE FUNCTION Syntax

Upvotes: 2

user554546
user554546

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

Related Questions