sql - Boundless Stored Proceedure Input -


I am passing a comma-delimited list of IDs for a stored procedure in the form of a varchar (MAX). The problem is varchar caps on 8000 characters and the list may possibly be larger.

Is there a SQL datatype where the size does not matter? No intention of a moment.

varchar (MAX) does not caps in 8000 characters. This is the replacement for the text data type (which is now deprecated), there is not just a shortcut for a static value of maximum 8000; It really indicates that the variable should be able to store data in an arbitrary large amount.

If you are announcing varchar without MAX , the qualifier, however, it will be at 8000.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -