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 8177003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:23:51+00:00 2026-06-06T23:23:51+00:00

I have the following query which is giving me an ORA-00935 missing expression error,

  • 0

I have the following query which is giving me an ORA-00935 missing expression error, but I can’t figure out what I’ve messed up for the life of me. I’ve tried running just about every part of the query separately, and they all work apart, but together I get only errors. I’ve read that SQL is buggy around missing expression errors, but there has to be some better way to write this query so that it actually works.

Insert into V1144ENGINE.T_EDGES (EDGE_ID, VERSION, NODE1_ID, NODE2_ID, EDGE_TYPE_ID, CREATED_AT, WEIGHT, DELETED_AT)
   VALUES(V1144ENGINE.S_PK_EDGES.NEXTVAL,0,
       select NODE_ID from V1144ENGINE.T_NODES where NODE_NAME = 'Understand composition of an element',
       select NODE_ID from V1144ENGINE.T_NODES where NODE_NAME = 'Understand atoms as smallest units of matter', 3, SYSDATE, 1, NULL);

I ran parts of the query independently, all of which returned the result I wanted. For instance;

select V1144ENGINE.S_PK_EDGES.NEXTVAL from dual;

select NODE_ID from V1144ENGINE.T_NODES where NODE_NAME = 'Understand composition of an element'

I am using Oracle 11g if that makes a difference.

  • 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-06T23:23:52+00:00Added an answer on June 6, 2026 at 11:23 pm

    I guess that you need brackets around the subqueries.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following query which take more than a minute to execute, how can
I have the following query which is working fine, but I also want to
I have the following query which gives me the right results. But it's super
I have the following xpath query which seems to be working but I just
I need a query which can do the following operation. I have a table
I have the following query which should return no rows, but returns 4: var
So I have the following query which gets a Duplicate PK error what am
I have the following query which is giving the last day of month by
I have the following query which returns the following error: An aggregate may not
I have the following query which works fine with MySQL but refuses to work

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.