WITH RECURSIVE PS ( product_code,description,parent_id,customer_id,short_name,quantity) as
      (select product_code,description,parent_id,'ID' D,'Sname' E,F=1*1  from product_code where parent_id='CP'
     union all
      select b.product_code,b.description,b.parent_id,cu.customer_id,cu.short_name,shl.quantity  from 
     ((((ps p join product_code b on p.product_code=b.parent_id ) 
        join part s on b.product_code=s.product_code) join shipper_line shl on s.part_id=shl.part_id) 
        join shipper sh on shl.trans_no=sh.trans_no) join customer cu on sh.customer_id=cu.customer_id)
 select * from ps

asked 12 Sep '13, 12:23

mfkpie8's gravatar image

mfkpie8
268656974
accept rate: 12%

Can you provide the specific error text as reported since it contains context relevant to your usage i.e., %1, %2 and %3 will be populated in the error message to tell us the column, conversion from, and conversion to that is relevant to the issue.

(12 Sep '13, 12:31) Chris Keating

The reason is that I had a virtual filling!(D,E,F): WITH RECURSIVE PS ( product_code,description,parent_id,customer_id,short_name,quantity) as (select product_code,description,parent_id,'ID' D,'Sname' E,F=1000000.00*0 from product_code where parent_id='CP' union all

(12 Sep '13, 12:50) mfkpie8
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×15

question asked: 12 Sep '13, 12:23

question was seen: 1,657 times

last updated: 12 Sep '13, 14:02