But when does the Query become a Command?
SELECT * FROM Customers is querying the database
INSERT INTO Customers is a command.
A view is a query of a database and it's tables.
A stored procedure is a collection of commands that can both query and control a database.
I don't think you can say exactly what SQL (ANSI or Transact) can be categorised as.
SELECT * FROM Customers is querying the database
INSERT INTO Customers is a command.
A view is a query of a database and it's tables.
A stored procedure is a collection of commands that can both query and control a database.
I don't think you can say exactly what SQL (ANSI or Transact) can be categorised as.