xtract.models.sql 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[models] AS
  6. SELECT [client_db]
  7. , [make_number]
  8. , [model_code]
  9. -- , [is_actual_model]
  10. -- , [model_currently_available]
  11. -- , [replacing_model_code]
  12. , [description]
  13. -- , [gear_count]
  14. -- , [seat_count]
  15. -- , [door_count]
  16. -- , [cylinder_count]
  17. -- , [vehicle_body]
  18. -- , [model_labour_group]
  19. -- , [has_hour_meter]
  20. -- , [source_extern]
  21. -- , [free_form_vehicle_class]
  22. -- , [vin_begin]
  23. -- , [vehicle_pool_code]
  24. -- , [vehicle_pool_engine_code]
  25. -- , [is_manual_transmission]
  26. -- , [is_all_wheel_drive]
  27. -- , [is_plugin_hybride]
  28. -- , [unloaded_weight]
  29. -- , [gross_vehicle_weight]
  30. -- , [power_kw]
  31. -- , [power_kw_at_rotation]
  32. -- , [cubic_capacity]
  33. -- , [german_kba_hsn]
  34. -- , [german_kba_tsn]
  35. -- , [annual_tax]
  36. -- , [model_year]
  37. -- , [model_year_postfix]
  38. -- , [suggested_net_retail_price]
  39. -- , [suggested_net_shipping_cost]
  40. -- , [european_pollutant_class]
  41. -- , [efficiency_class]
  42. -- , [emission_code]
  43. -- , [carbondioxid_emission]
  44. -- , [nox_exhoust]
  45. -- , [particle_exhoust]
  46. -- , [external_schwacke_code]
  47. -- , [skr_carrier_flag]
  48. -- , [free_form_model_specification]
  49. -- , [external_technical_type]
  50. -- , [european_fuel_consumption_over]
  51. -- , [european_fuel_consumption_coun]
  52. -- , [european_fuel_consumption_city]
  53. -- , [energy_consumption]
  54. -- , [insurance_class_liability]
  55. -- , [insurance_class_part_comprehen]
  56. -- , [insurance_class_full_comprehen]
  57. FROM [LOCOSOFT].[dbo].[models]
  58. GO
  59. SET QUOTED_IDENTIFIER OFF
  60. GO
  61. SET ANSI_NULLS OFF
  62. GO
  63. GO