I have the following rough code (full code is 146 lines, 90 of which are string parsing, can add if needed): during $stmt->execute(array('2020-0 ...
I have the following rough code (full code is 146 lines, 90 of which are string parsing, can add if needed): during $stmt->execute(array('2020-0 ...
I am updating someone's old old code from using mysql() to using PDO. In one place they have some LOCK TABLES commands to prevent two users from acces ...
I pass arbitrary multi-statement SQL to Mysqli (using mysqlnd) and retrieve the result set. SELECT statements can contain LIMIT clause (or not). What ...
i'm currently working with MemSQL Columnstore and trying to integrate it with laravel 5, but everytime i tried to make a query I got the following err ...
I have one database for my laravel application but I need to open two connection to it in Laravel for the following reason. I have this code: I'm ...
Maybee some other have the same problem than me. I run over the error: Cannot execute queries while other unbuffered queries are active. Consider ...
I'm looking for an MSSQL alternateive for this below constant MYSQL_ATTR_USE_BUFFERED_QUERY Above setiing is for MYSQL database. Is there any ...
I have the following code: However, for some reason I get the following error when executing the second prepared statement: Fatal error: Uncaug ...
Evidently according to this: http://www.tuxradar.com/practicalphp/9/4/9 Between the time the call to mysql_unbuffered_query() is issued and your p ...
Problem: I have a query that returns a large result set. It is too large to bring into PHP. I get a fatal memory max error and cannot increase memory ...
I have a long running query which I try to fetch via an unbuffered pdo-statement (see code next). But when I 'execute' the query unbuffered, or I do a ...
We have quite a few queries we consider "fire and forget". In the sense that these are just logging inserts, updates and such. Things that are not as ...
Is it possible to get around mysql_unbuffered_query()'s limitation of having one query running at a time by opening a second connection? For example, ...
At the top of my php page, I include a connection script called by: Connector.php I then make all subsequent calls on my pages as necessary. On ...
Are MySQLi queries unbuffered? If not, is there a way to do an unbuffered query, as with the non-MySQLi mysql_unbuffered_query()? ...
I am doing a PDO::exec command on multiple updates: I am doing it inside a transaction, and I keep getting the following error: SQLSTATE[HY000] ...