×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

SQL Query question

SQL Query question

SQL Query question

(OP)
Hi All,

I have a question regarding SQL queries I hope somebody can help me with.

I am trying to create a query in a software called HP quality center in order to extract requirements but need some help.

Under the requirements section we created folders with the name (Name test1 , Type FOLDER)

Under each folder we created set of requirements. Is there an easy way to extract all requirements where folder name = foldername1


---
Select REQ.RQ_USER_03,REQ.RQ_USER_03
FROM
REQ



No how to I say only select the requirements if they are in located in a folder named test1 ?

thanks




RE: SQL Query question

This is just a guess:

Select REQ.RQ_USER_03,REQ.RQ_USER_03
FROM req
WHERE folder = 'test1';

This assumes a column called "folder"; you may need to change this to fit your actual situation (or give us more information about your table structure).

RE: SQL Query question

The error message is fairly clear - RQ_FATHER_ID is an integer datatype; you are trying to compare it to a character string that cannot be converted to an integer.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close