Now I answered myself the question about number format, just modify format property of Text Object.
How about question 2?
Main Topics
Browse All TopicsMy SQL query is followed:
SELECT PLANS.PLAN_NO, .............
when data is showed on CR it has the format 55,409.00 for expamle. I want the format is 55409 so I change my SQL query to
SELECT TO_NUMBER(PLANS.PLAN_NO,'9
but nothing changes.
Do you have any idea?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I must select from 6 tables, and find difficult to implement your idea. Have you ever implemented your idea for more than 2 tables?
My original SQL query :
SELECT PROJECTS.PROJ_ID, VENDORS.VNDR_NO,
FROM PROJECTS INNER JOIN (BID_LETTING INNER JOIN (VENDORS INNER JOIN ((BIDS INNER JOIN ADDENDUMS ON BIDS.BID_ID = ADDENDUMS.ADDN_BID_ID) INNER JOIN PLANS ON BIDS.BID_ID = PLANS.PLAN_BID_ID) ON VENDORS.VNDR_NO = BIDS.BID_VNDR_NO) ON BID_LETTING.BIDL_BID_NUMBE
WHERE PROJECTS.PROJ_ID = 1068
I change it to:
SELECT PROJECTS.PROJ_ID, VENDORS.VNDR_NO,
(select count(*) from vendors t1 where t1.VENDOR_NO = t2.VENDOR_NO) as rowcount
FROM PROJECTS INNER JOIN (BID_LETTING INNER JOIN (VENDORS t2 INNER JOIN ((BIDS INNER JOIN ADDENDUMS ON BIDS.BID_ID = ADDENDUMS.ADDN_BID_ID) INNER JOIN PLANS ON BIDS.BID_ID = PLANS.PLAN_BID_ID) ON VENDORS.VNDR_NO = BIDS.BID_VNDR_NO) ON BID_LETTING.BIDL_BID_NUMBE
WHERE PROJECTS.PROJ_ID = 1068
but the rowcount field is unchange, it show the quantity of VENDORS table
try this:
SELECT
PROJECTS.PROJ_ID,
VENDORS.VNDR_NO,
(
select
count(*)
from
(
PROJECTS
INNER JOIN
(BID_LETTING INNER JOIN (VENDORS INNER JOIN ((BIDS INNER JOIN ADDENDUMS ON BIDS.BID_ID = ADDENDUMS.ADDN_BID_ID) INNER JOIN PLANS ON BIDS.BID_ID = PLANS.PLAN_BID_ID) ON VENDORS.VNDR_NO = BIDS.BID_VNDR_NO) ON BID_LETTING.BIDL_BID_NUMBE
WHERE
PROJECTS.PROJ_ID = 1068
) t2
where
t1.VNDR_NO <= t2.VNDR_NO
and
t1.PROJ_ID <= t2.PROJ_ID
)
FROM
(
PROJECTS
INNER JOIN
(BID_LETTING INNER JOIN (VENDORS INNER JOIN ((BIDS INNER JOIN ADDENDUMS ON BIDS.BID_ID = ADDENDUMS.ADDN_BID_ID) INNER JOIN PLANS ON BIDS.BID_ID = PLANS.PLAN_BID_ID) ON VENDORS.VNDR_NO = BIDS.BID_VNDR_NO) ON BID_LETTING.BIDL_BID_NUMBE
WHERE
PROJECTS.PROJ_ID = 1068
) t1
Business Accounts
Answer for Membership
by: thungrac02Posted on 2004-01-18 at 23:19:44ID: 10144587
In my CR there is a ordinal number field, how to implement this (in SQL?) ?