Invoiceno

0

Please login or register to vote for this query.

(click on this box to dismiss)

Robotics

Q&A for professional robotic engineers, hobbyists, researchers and students

DECLARE @InvoiceNo nvarchar(MAX)

SET @InvoiceNo='10,1,2,3,4,5';
declare @n as int;
select @n = len(@InvoiceNo) - len(replace(@InvoiceNo, ',', ''));

select @n;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results