Please help me
I have:
DECLARE @tbl1 TABLE(idfish INT)
INSERT INTO @tbl1 (idfish)
VALUES (10), (11), (12)
DECLARE @tbl2 TABLE(kindid INT)
INSERT INTO @tbl2 (kindid)
VALUES (1), (2)
SELECT * FROM @tbl1
SELECT * FROM @tbl2
Now, I want result have two columns Table(idfish, kindid) as:
10 1 ;11 1; 12 1; 10 2; 11 2; 12 2
After ';' as new row
Thank you very much!