Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8252019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:25:41+00:00 2026-06-08T00:25:41+00:00

I work with a proprietary server-side language that sits as a layer on top

  • 0

I work with a proprietary server-side language that sits as a layer on top of a Oracle database. With this language, you can use dummy tables to take an existing record structure filled with data and run queries on that record structure joining to it as if it were a table.

Here’s a simple example:

    //DECLARE THE RECORD STRUCTURE
    record data_out (
        1 prsnl [*]
            2 person_id = f8
            2 full_name = vc
            2 position = vc
            2 status = vc
            2 last_access_dt_tm = vc
            2 role [*]
                3 role_name = vc
                3 role_id = f8  
    ) with persistscript

    //QUERY PEOPLE
    select into "NL:"
    from person p
    where p.whatever_field = "QUALIFIER"
    detail

        a = a + 1
        stat = alterlist(data_out->prsnl, a)

        data_out->prsnl[a]->person_id = p.person_id
        data_out->prsnl[a]->full_name = p.name_full_formatted
        data_out->prsnl[a]->position = p.position

    with time=10

    //USE A DUMMY TABLE TO PULL IN MORE DATA FOR EACH PERSON
    select into "NL:"
    from (dumt d with seq = size(data_out->prsnl,5))
        ,rnd_role_def rrd
        ,rnd_r_assign_hx rah
    plan d
    join rah
        where rah.team_id = data_in->team_id
        and rah.prsnl_id = data_out->prsnl[d.seq]->person_id
        and rah.handoff_dt_tm > cnvtdatetime(curdate-90,curtime)
    join rrd
        where rrd.role_id = rah.role_id
    order by d.seq, rrd.role_name
    head d.seq
        i = 0
    head rrd.role_name
        i = i + 1
        stat = altlist(data_out->prsnl[d.seq]->role, i)

        data_out->prsnl[d.seq]->role[i]->role_id = rrd.role_id
        data_out->prsnl[d.seq]->role[i]->role_name = rrd.role_name

    with time=10

Does PHP+MySQL have anything like this? If so, could somehow point me to a link with more info or a how-to. Googling hasn’t been turning up anything for me–probably searching for the wrong keywords.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:25:43+00:00Added an answer on June 8, 2026 at 12:25 am

    Use temporary tables:

    CREATE TEMPORARY TABLE temp1
    

    A temporary table will persist through the current session. You can either define the fields of a temporary table through normal CREATE TABLE syntax:

    CREATE TEMPORARY TABLE temp1(
        `id` INT(11) NOT NULL AUTO_INCREMENT,
        `name` VARCHAR(50),
    )
    

    … or you can create a temp table and allow query data to define the columns:

    CREATE TEMPORARY TABLE temp1;
    INSERT INTO temp1
      SELECT id, name FROM normal_table
    

    Documentation

    • MySQL CREATE TABLE syntax – http://dev.mysql.com/doc/refman/5.1/en/create-table.html
    • MySQL Temporary table tutorial – http://www.tutorialspoint.com/mysql/mysql-temporary-tables.htm
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I work with a propriety client/server message format that restricts what I can send
I'm responsible for some embedded software that has to work with a customer's proprietary
We're using a proprietary tracking system that requires the use of regular expressions to
So far I figured out that one can prevent Eclipse from complaining about proprietary
I've got a proprietary program that I'm trying to use on a 64 bit
Problem: We have to read from a proprietary binary file at work. It changes
I am currently using WatiN to automate a proprietary website at my work, and
work on SQL Server 2000. want to Automated Email Notifications using SQL Server Job
Work on this small test application to learn threading/locking. I have the following code,
Let me begin by saying my Oracle knowledge is minimal. We have a proprietary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.