Most of what is online about OleDb regards C# and I am using C++.
I have it working for displaying the records, but I am not sure how to get it to add records to the database
Related
I am learning NODEJS addons building
I was able to build a simple application but now I have a problem in connecting to the database using addons and passing query data to NODEJS
Can anyone suggest me what should I do??
I am developing my application using electron so one main issue in electron is it's asar file even though it's protected it can access by anyone and get the password and other stuff to the database so what I am trying to do is create a nodejs c++ addons and pass query and run query in c++ and get query result back to front as a string or something and process them in frontend now I was able to create addon but still couldn't find a way to connect to database c++ there is nothing in anywhere a way to connect to the database in c++ addons actually I don't know is it possible or not but it's worth trying. now I know how to connect to database in pure c++ and when i try to do it in here it can't find libraries.
I have a HTA tool that connects to oracle database. It's created using HTML,Javascript and oracle as backend.
Javascript connects to oracle database using OLEDB drive. It pulls data and create dynamic rows.
Tool is working but now am planning to convert it as Web Application.
Being a DBA , am not that much familiar with Java and i thought i will explore options in Python.
I have recently done a automation using Python and Selenium. So yes , i know bit of Python. But i have no idea about website using python.
I also don't want to change lot of code. I want javascript to do all the dynamic front-end stuffs.
All i need is interface that can connect to oracle database and pull the information and pass it to javascript function.
Can someone please guide to how to start with.
Thanks.
I don't know Python but if you don't want to change a lot of code, you may consider PHP. It's made to generate HTML code dynamicaly.
It is dangerous to connect to your DB directly by using javascript. Every user can read the JS code in the page and event modify it(sending every value they want).
PHP is executed on the server, it mean that you can check and validate the received value before risking to corupt your DB.
That's why a PHP page between the JS and the DB is better. Python should be secure too but I think it's easier to use PHP because it's open source and well documented.
I wish you a good continuation!
Is it possible to use a Microsoft Access database (.accdb) as the back-end for a Django application?
It might be possible, at least under Windows. The Django documentation contains a link to django-pyodbc, a third-party ODBC back-end that is based on pyodbc, so perhaps you could try using that with the Access ODBC driver for Windows. However, django-pyodbc appears to be coded specifically for Microsoft SQL Server, and the SQL dialects for SQL Server ("T-SQL") and Access ("Access SQL") are similar but not identical, so compatibility with Access SQL may be somewhat limited.
Also, the question remains as to whether it is a good idea to use an Access database as a back-end for a Django application. The answer to that question is "Probably not.". An Access database is generally not a good choice of back-end for a web application. In fact, Microsoft strongly recommends against using Access in web applications.
My question is if it is possible to create an interface using C++ (for windows) for accessing and inserting data into an Oracle database created with Oracle Database Express Edition. Somebody recommended me to use Java instead because "it is much simpler", or even .NET C#. But I know very little about Java. So, I would like to use C++ and some Windows API.
I read this: Creating a simple user interface to access an Oracle database but I have to mention that for this project I'm not allowed to use APEX from Oracle. It must be an web application.
Thank you very much in advance.
Is it possible to use ADO.NET to access SQLite Databases on android using dot42? I know there are C# wrappers for the underlying library:
SQLite.NET
Any ideas?