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

  • Home
  • SEARCH
  • 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 6198735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:04:02+00:00 2026-05-24T04:04:02+00:00

I need help with PHP PDO and SQLITE3. I have table device like CREATE

  • 0

I need help with PHP PDO and SQLITE3. I have table device like

CREATE TABLE device (
 object_identifier integer PRIMARY KEY NOT NULL,
 object_name varchar(1024),
 vendor_name varchar(1024),
 vendor_identifier integer,
 model_name varchar(1024),
 firmware_revision varchar(1024),
 application_software_version varchar(1024),
 protocol_version integer,
 protocol_revision integer,
 max_apdu_length_accepted integer,
 apdu_timeout integer,
 number_of_apdu_retries integer,
 database_revision integer,
 system_status integer,
 protocol_object_types_supported varchar(65),
 segmentation_supported integer,
 protocol_services_supported varchar(65),
 local_time varchar(32),
 local_date varchar(32),
 location varchar(1024),
 object_list_num integer
);

and I have another table fan_coil_jebeni like

CREATE TABLE fan_coil_jebeni (
 object_identifier integer PRIMARY KEY NOT NULL,
 object_name varchar(1024),
 vendor_name varchar(1024),
);

My question is there any efficient way to select all from device and insert into fan_coil_jebeni without iterative comming through cursor ( there is a bunch of rows to beinserted ) ?

  • 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-05-24T04:04:04+00:00Added an answer on May 24, 2026 at 4:04 am

    How about this:

    INSERT INTO fan_coil_jebeni SELECT object_identifier, object_name, vendor_name FROM device;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need help with my simple PHP menu. I'd like to have something like that:
I need some help in PHP to create short urls just like StackOverflow creates
i need help with disk_total_space function.. i have this on my code <?php $sql=select
I am newbee with PHP and MySQL and need help... I have two tables
Hey, I need help isolating part of a url in PHP. say I have
i have a problem, i'm working on a gallery php script and need help,
Hi I need some help with the following scenario in php. I have a
Need help with PHP/MySql. Need to select all the records from 'today'. My table
I need help to create a regex (for JavaScript .match and PHP preg_match) that
I need your help. I have tables using PHP while looping and I need

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.