I am trying to migrate from mysqli procedural to PDO because my website was halfway, half in pdo, and the rest in mysqli procedural, now I want to shi ...
I am trying to migrate from mysqli procedural to PDO because my website was halfway, half in pdo, and the rest in mysqli procedural, now I want to shi ...
Our client has a drupal website, but the host has forced all clients from PHP 7.4 to PHP version 8, causing a PDO fatal error preventing the site from ...
I am trying to create a code where i would get all the rows from the existing table if the condition matches otherwise return "Record is not there". B ...
I know there are a few ways to retrieve data from RDB table. One with pandas as read_sql, the other with cursore.fetchall(). What are the main differe ...
I have Azure serverless functions which are connecting to a SQL database. One of the functions executes a stored procedure which in turn executes sub ...
Here is code to read the data out of the tables in a SQLite database: Here's the output from the working version: If I use SQLiteStudio to chang ...
This is the pic of Mysql DB[Here is the code] https://i.stack.imgur.com/muX0s.png after this i am expecting Mathew to be the output but error is comi ...
I'm trying to write a function that returns an array of column names for a MySQL table. When I use something like this in HeidiSQL I get exactly w ...
I had a question regarding the python IBM_DB package (but I think it could be applied to any of the packages that employ the connection/cursor logic i ...
I am trying to make faster to get large size data from SQL. Here is my system info. sample code sample data have 30k lines. I want to reduce ...
mport sqlite3 from itertools import groupby aes_fault_db = r'C:\Users\Desktop\Jetwave Cases\9V-SHD_20200313_0007\AES\Maintenance\AESFault_1.sqlite3' ...
I have a problem getting the query results from my Python-Code. The connection to the database seems to work, but i always get the error: Can s ...
(sorry for my very bad english !... ^^) Hello everyone I make a def in my flask to keep with my fetchall a list. But i need to add a parameters in my ...
I am trying to retrieve values from a table to use in a calculation. The code below This returns this list How can I retrieve the numerical valu ...
Comparatively new in both python and mysql. I have solved the issue, but want to know the reason. If I use 'comma' after assigning the values to the ...
I am trying to create a training app in python to work with a database of movies, adding movie details via a text menu prompting user input for all fi ...
i have a function that retrieve data from sql server database where i am using fetchall() then for loop the retrieved data are all printed on the cmd ...
I am creating a UI where I grab a set of data from an SQL database file and inserting it to a Listbox. I am using Tkinter framework. I'm having an iss ...
I have a sql wherein I am fetching few records, sorted by full name. My requirement is to extract chunks of similar names and then do some operation ...
I'm currently working with one of my friends on making a portfolio for all of his projects and as strangely as it seems, I cannot manage to make setFe ...