Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
Combine SQL and coding language
How can we use sql through coding languages like Java and c++, like there is file handling. Hope can we store and manipulate data efficiently though sql
5 Answers
+ 7
Php and MySQL are often used in the web back-end.
+ 4
You'll most likely need a sql driver, api, source file, and/or a library.
Just search [your favorite sql] [language]
I believe mysql and postresql provide both java and cpp libs, just look at their site for how to set it up
+ 2
What language do you want to use.
For sql, you can use SQL-express.
It is free.
In C# you then would use
A sqlconnection, a sqlCommand and a sqlreader
https://www.sololearn.com/Discuss/1461369/how-to-connect-c-app-to-sql-server
+ 1
PHP and MySQL (Traditional)
Nodejs and MongoDB
0
most languages will have a library or module that you can include into your code (something like "include mysql;") and it will give you access to functions and classes that let your code create and access the desired database.
check your programming language reference manual for it, or Google the language name and SQL or database to find out about it