Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
inner join maybe
Home
ColdFusion
Discussions
inner join maybe
0
Upvote
inner join maybe
Keith444
New Here
,
/t5/coldfusion-discussions/inner-join-maybe/td-p/725470
Dec 17, 2006
Dec 17, 2006
Copy link to clipboard
Copied
hi i have the query below which is getting info from 2 tables, think there is a conflict as i need to show in my output
#CODE##PlayerPhone#
this should format like 6144444444
but i am getting 616144444444
do i need a inner join or something?
if so how would i do this
many thanks
Keith
TOPICS
Advanced techniques
Views
273
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
4 Replies
4
Jump to latest reply
Dan_Bracuk
LEGEND
,
/t5/coldfusion-discussions/inner-join-maybe/m-p/725471#M67735
Dec 17, 2006
Dec 17, 2006
Copy link to clipboard
Copied
In the select clause of your query, either don't qualify the unambiguous field names at all, or give them alias names. Then cfdump your query so you get a better idea of what is happening.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Keith444
AUTHOR
New Here
,
/t5/coldfusion-discussions/inner-join-maybe/m-p/725472#M67736
Dec 17, 2006
Dec 17, 2006
Copy link to clipboard
Copied
In Response To Dan_Bracuk
how do i do a cfdump of this query? and what u mean by ambiguous?
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Dan_Bracuk
LEGEND
,
/t5/coldfusion-discussions/inner-join-maybe/m-p/725473#M67737
Dec 17, 2006
Dec 17, 2006
Copy link to clipboard
Copied
Read the cfml reference manual for cfdump. If you don't have one, google <cfdump>, you'll find it.
By unambiguous, I meant that the field exists in only one of the tables from which you are selecting in your query.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Keith444
AUTHOR
New Here
,
/t5/coldfusion-discussions/inner-join-maybe/m-p/725474#M67738
Dec 18, 2006
Dec 18, 2006
Copy link to clipboard
Copied
LATEST
In Response To Dan_Bracuk
ok sorted it thank you
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide