A
André Hartmann
I have a question to you Access guys.
In the news group I frequently read terms like "insert query" "update
query". When I learned SQL I was taught that the language falls into
statements of three categories:
(1) Data Description Language (DDL) commands
CREATE TABLE, CREATE VIEW, ALTER TABLE, ....
(2) Data Manipulation Language (DML) commands
INSERT, DELETE, UPDATE
(3) Queries
SELECT
This categorisation seems to make sense to me and in all the literature on
database management systems it is obeyed. From that, it doesnt make sense to
call an UPADTE or INSERT statement a "query" because it doesn't "query" the
database, i.e. it does not deliver back records (except for the number of
records altered). "insert/update query" looks extremely strange to me and I
have never come across it until I started reading this news group.
That's why my question is: Is that common sense/usage among Access
programmers to call DML statements "queries" too ? Is it justified ? And why
is it that way and who introduced it ?
Thanks in advance for clarifying this for me,
André Hartmann
Oracle, MS SQL Server and MS Access programmer
Berlin, Germany
In the news group I frequently read terms like "insert query" "update
query". When I learned SQL I was taught that the language falls into
statements of three categories:
(1) Data Description Language (DDL) commands
CREATE TABLE, CREATE VIEW, ALTER TABLE, ....
(2) Data Manipulation Language (DML) commands
INSERT, DELETE, UPDATE
(3) Queries
SELECT
This categorisation seems to make sense to me and in all the literature on
database management systems it is obeyed. From that, it doesnt make sense to
call an UPADTE or INSERT statement a "query" because it doesn't "query" the
database, i.e. it does not deliver back records (except for the number of
records altered). "insert/update query" looks extremely strange to me and I
have never come across it until I started reading this news group.
That's why my question is: Is that common sense/usage among Access
programmers to call DML statements "queries" too ? Is it justified ? And why
is it that way and who introduced it ?
Thanks in advance for clarifying this for me,
André Hartmann
Oracle, MS SQL Server and MS Access programmer
Berlin, Germany