I have the following SQL which gets a season for each day in a range of dates, then groups each season by start and end date with number of nights. What it does is not important but my question is whi
Suppose I\'m using the following Oracle code in a stored procedure: CREATE GLOBAL TEMPORARY TABLE temp_table (
How to insert the resultset given by the commands RESTORE FILELISTONLY RESTOREHEADERONLY RESTORE VERIFYONLY
I need to findout a better and quick way to query MySQL table to get specific data for each day in a given date range, where the table has two date columns specifying start and end date.
I am building a database that contains public, private(limited to internal) and confidential data (limited to very few).It has very specific requirements that the security of the the data is managed o
I have to create a temp table (#temp) from a variable or stored procedure (i.e) My stored procedure contains
I have the following inside a package and it is giving me an error: ORA-14551: cannot perform a DML operation inside a query
Here is my problem. I am creating 4 temp tables to count specific types of boxes and an employee\'s hours. Given a beginning date and ending date we want to know total boxes of each type (1, 2, and 3)
First of all, I am new to optimizing mysql. The fact is that I have in my web application (around 400 queries per second), a query that uses a GROUP BY that i can´t avoid and that is the cause of cre
I\'m trying to use temp tables to speed up my MySQL 4.1.22-standard database and what seems like a simple operation is causing me all kinds of issues.