I have two int columns in my table.
I want to concatenate them like a string
for example : A = 12345 , B = 2
I want to return 123452.
How can I do that ?
Try like this:
select CAST(A as varchar(10)) + CAST(B as varchar(10))
SQL DEMO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With