SQLCODE in Cobol
Moderator: Rathinagiri
Re: SQLCODE in Cobol
I know select from code, but I do not open database I only use tables as I need.
In Foxpro I use select from Mytable, fields, where somthing, into table temp, for something
When I try Dragans sample I get libmysql.dll not found. Where is a good place to get libmysql.dll.
In Foxpro I use select from Mytable, fields, where somthing, into table temp, for something
When I try Dragans sample I get libmysql.dll not found. Where is a good place to get libmysql.dll.
All The Best,
Franco
Canada
Franco
Canada
- dragancesu
- Posts: 931
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: SQLCODE in Cobol
File libmysql.dll is part of MySQL instalation
...\mysql\bin\libmysql.dll
and just copy in aplication folder
...\mysql\bin\libmysql.dll
and just copy in aplication folder
- dragancesu
- Posts: 931
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: SQLCODE in Cobol
Ask google for mysql
Oracle is owner now
Oracle is owner now
- 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
Hola... Dento de HeidiSQL están todas las .dll
Subo la que uso yo y funciona perfecto tanto para MySql como para MariaDB !
Hay que copiarla a la carpeta del proyecto.
Hi... Inside HeidiSQL have all .dll
I use this and work perfect with MySql and MariaDB !
Put it in the project folder.
Subo la que uso yo y funciona perfecto tanto para MySql como para MariaDB !
Hay que copiarla a la carpeta del proyecto.
Hi... Inside HeidiSQL have all .dll
I use this and work perfect with MySql and MariaDB !
Put it in the project folder.
- Attachments
-
- libmysql.zip
- (945.74 KiB) Downloaded 98 times
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
Re: SQLCODE in Cobol
Thank for help. Claudio, I got the SQL`S. I still can not get Dragon`s or Serge`s to work. As Serge suggeted I think I will Start a new thread.
I am Tied up gor a while.
I am Tied up gor a while.
All The Best,
Franco
Canada
Franco
Canada
- serge_girard
- Posts: 3420
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: SQLCODE in Cobol
Franco, do you have a database allready? SQL is not as complicated as you think but first you need a database...
Serge
Serge
There's nothing you can do that can't be done...
- dragancesu
- Posts: 931
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: SQLCODE in Cobol
I think one of the easiest ways to start with MySQL https://www.uniformserver.com/
download, unpack and run
Note: this is the local version, if you need a real server install MySQL database
contains apache and php, it doesn't matter
download, unpack and run
Note: this is the local version, if you need a real server install MySQL database
contains apache and php, it doesn't matter
- serge_girard
- Posts: 3420
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: SQLCODE in Cobol
I can not say,
select name from customer
// or
select * from customer
I use tables not a database.
Now I use index to temp (created from seconds()) and seems to do all i used to do in Foxpro with select from.
select name from customer
// or
select * from customer
I use tables not a database.
Now I use index to temp (created from seconds()) and seems to do all i used to do in Foxpro with select from.
All The Best,
Franco
Canada
Franco
Canada