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!

*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.

Jobs

SQL query advanced mode

SQL query advanced mode

(OP)
All,

I'm using the advanced mode so I can specify joins.

However when I try to use the 'first record' element I can't create any field assignments because the field list is empty.

Should it be possible to use the sql advanced mode and use the first record element?

The eventual plan is to use text to speech to read the result back to the customer

Thanks

RE: SQL query advanced mode

I've only used it when I needed to include selects in where, guessing it doesn't know what the result will be.

Can't you just enter the fields manually?

"Trying is the first step to failure..." - Homer

RE: SQL query advanced mode

(OP)
Hello,

Thanks for your reply.

The 'first record' element doesn't seem to let me type in field names it looks like they have to be selected from the list?

Thanks

Andrew

RE: SQL query advanced mode

do you do "select * " or specify each field you select?

"Trying is the first step to failure..." - Homer

RE: SQL query advanced mode

(OP)
Hello,

Thanks for your reply.

I specified them individually.

Thanks

Andrew

RE: SQL query advanced mode

If I do a select with a right join I'm able to only select fields from thee selected table, not the joined.
I can manuelly enter more fields, but can't try if it actually works.

Otherwise I guess the solution would be to create a temptable with the values you want and select that or do views if it's you use the same a lot.

"Trying is the first step to failure..." - Homer

RE: SQL query advanced mode

(OP)
Hello,

Thank you for your help. I think the query might be too complicated for it to follow. I will try an inner join with two tables later.

Thanks

Andrew

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!

Resources

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