Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. DECLARE @TableDemo TABLE(
  2. ProductId INT IDENTITY(1,1),
  3. ProductName VARCHAR(150)
  4. )
  5.  
  6. INSERT INTO @TableDemo (ProductName) VALUES('Chai'),('Chan'),('Aniseed Syrup')
  7.  
  8. SELECT 'Producto'+ CAST(ProductId as varchar(10))+' :' +ProductName AS ProductName
  9. FROM @TableDemo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement