Invoiceno

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

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 main site
loading Hold tight while we fetch your results