Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: oracle temp table does not exist

by roboticus (Chancellor)
on Dec 01, 2021 at 16:37 UTC ( [id://11139297]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Use ? as placeholders for the values
    
    ...
        # the first ?, $name for the second, etc.)
        $sth2->execute( $id, $name, $title, $dept );
    }
    
  2. or download this
    $dbh->do("
        CREATE GLOBAL TEMPORARY TABLE HR.Tempest(
    ...
        AND    e.department_id =  d.department_id
    ");
    $dbh->commit();
    
  3. or download this
    INSERT INTO HR.Tempest
        INSERT INTO HR.Tempest
    ...
        JOIN   HR.jobs j        ON j.job_id = e.job_id
        JOIN   HR.departments d ON d.department_id = e.department_id
        WHERE  <criteria to select a subset of records>
    
  4. or download this
    ---- We want to find employees making over $150K/yr in marketing or sa
    +les.
    ---- However, the department_id of marketing and sales teams are split
    + into
    ...
    
    WHERE boss.department_name IN ('MARKETING', 'SALES')
    AND   emp.salary > 150000;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139297]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-03-28 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found