Hi,
cQuery := "select name from customer" return an array with only "name" field
cQuery := "select * from customer" return an array with all fields
See here:
https://www.w3schools.com/mysql/default.asp
SQLCODE in Cobol
Moderator: Rathinagiri
- Claudio Ricardo
- Posts: 367
- Joined: Tue Oct 27, 2020 3:38 am
- DBs Used: DBF, MySQL, MariaDB
- Location: Bs. As. - Argentina
Re: SQLCODE in Cobol
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
WhatsApp / Telegram: +54 911-63016162
- dragancesu
- Posts: 931
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: SQLCODE in Cobol
With SQL database you must know use command SELECT
https://www.mysqltutorial.org/mysql-sel ... -data.aspx
SQL is beautifuly language, only four command SELECT, INSERT, UPDATE, DELETE (data manipulation language)
other is DDL (data definition language) like CREATE, INDEX, RENAME,...
https://www.mysqltutorial.org/mysql-sel ... -data.aspx
SQL is beautifuly language, only four command SELECT, INSERT, UPDATE, DELETE (data manipulation language)
other is DDL (data definition language) like CREATE, INDEX, RENAME,...