Guest User

Untitled

a guest
Apr 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. @header = '<?xml version="1.0" encoding="ISO-8859-1"?><?xml-stylesheet
  2. type="text/xsl" href="Customer.xsl" ?>'
  3.  
  4. @results = @header +
  5. select SalesLT.Customer.FirstName, SalesLT.Customer.LastName,
  6. SalesLT.CustomerAddress.AddressType
  7. from SalesLT.Customer inner join SalesLT.CustomerAddress
  8. on SalesLT.Customer.CustomerId = SalesLT.CustomerAddress.CustomerId WHERE id =< 5 FOR XM
  9.  
  10. print results
Add Comment
Please, Sign In to add comment