xtract.Resource.sql 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[Resource] AS
  6. SELECT [timestamp]
  7. , [No_]
  8. -- , [Type]
  9. -- , [Name]
  10. -- , [Search Name]
  11. -- , [Name 2]
  12. -- , [Address]
  13. -- , [Address 2]
  14. -- , [City]
  15. -- , [Social Security No_]
  16. -- , [Title]
  17. -- , [Education]
  18. -- , [Contract Class]
  19. -- , [Employment Date]
  20. -- , [Resource Group No_]
  21. -- , [Global Dimension 1 Code]
  22. -- , [Global Dimension 2 Code]
  23. -- , [Unit of Measure Code]
  24. -- , [Direct Unit Cost]
  25. -- , [Indirect Cost _]
  26. -- , [Unit Cost]
  27. -- , [Profit _]
  28. -- , [Price_Profit Calculation]
  29. -- , [Unit Price]
  30. -- , [Vendor No_]
  31. -- , [Last Date Modified]
  32. -- , [Blocked]
  33. -- , [Gen_ Prod_ Posting Group]
  34. -- , [Picture]
  35. -- , [Post Code]
  36. -- , [County]
  37. -- , [Automatic Ext_ Texts]
  38. -- , [No_ Series]
  39. -- , [Tax Group Code]
  40. -- , [VAT Prod_ Posting Group]
  41. -- , [Country_Region Code]
  42. -- , [IC Partner Purch_ G_L Acc_ No_]
  43. -- , [Address No_]
  44. -- , [Date of Update]
  45. -- , [Time of Update]
  46. -- , [Updated by User ID]
  47. -- , [Update Company]
  48. -- , [Last Name]
  49. -- , [First Name]
  50. -- , [Title Code]
  51. -- , [Resource Cost Group Code]
  52. , convert(float, [Efficiency _]) AS [Efficiency]
  53. -- , [Service Advisor No_]
  54. -- , [Employee No_]
  55. -- , [Location Code]
  56. -- , [Price per Day]
  57. -- , [Distance Incl_]
  58. -- , [Price per Distance]
  59. -- , [Amt_ Insurance]
  60. -- , [Amt_ Retention]
  61. -- , [Amt_ Comprehensive Insurance]
  62. -- , [Company Calendar Code]
  63. -- , [Absences In]
  64. -- , [Avg_ Hours per Day]
  65. -- , [Administrative]
  66. -- , [Main Company]
  67. -- , [Available from]
  68. -- , [Available to]
  69. -- , [VIN]
  70. -- , [Pers_ Calendar Templ_ Code]
  71. , [Client_DB]
  72. FROM [GC_TRANSIT_ARI].[import].[Resource]
  73. GO
  74. SET QUOTED_IDENTIFIER OFF
  75. GO
  76. SET ANSI_NULLS OFF
  77. GO
  78. GO