Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. SELECT
  2. RootRecordId AS 'Route/@RootRecordId',
  3. RouteNumber,
  4. RouteName,
  5. InternetName,
  6. StartTime,
  7. EndTime,
  8. Direction AS 'RouteDirection/@Direction',
  9. StopRecordId AS 'RouteStop/@StopRecordId',
  10. Ord AS "Ordr"
  11. FROM dbo.routes
  12. FOR XML PATH (''), ROOT ('TMSFile');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement