xtract.parts.sql 654 B

1234567891011121314151617181920212223242526272829303132333435
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[parts] AS
  6. SELECT [client_db]
  7. , [order_number]
  8. -- , [order_position]
  9. -- , [order_position_line]
  10. -- , [subsidiary]
  11. -- , [is_invoiced]
  12. -- , [invoice_type]
  13. , [invoice_number]
  14. -- , [employee_no]
  15. -- , [mechanic_no]
  16. -- , [part_number]
  17. -- , [stock_no]
  18. -- , [stock_removal_date]
  19. -- , [amount]
  20. , [sum]
  21. -- , [rebate_percent]
  22. -- , [goodwill_percent]
  23. -- , [parts_type]
  24. -- , [text_line]
  25. -- , [usage_value]
  26. FROM [LOCOSOFT].[dbo].[parts]
  27. GO
  28. SET QUOTED_IDENTIFIER OFF
  29. GO
  30. SET ANSI_NULLS OFF
  31. GO
  32. GO