LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String Max Size on Stored Procedure Calling SQL Server

Hello, I'm working on a Stored Procedure called from Labview but I have a problem when I set a String Parameter greater than 11440 characters. 

 

I tried by executing this SP from SQL Server Query Window and it runs ok even when I input a bigger string. but when I do it from Labview I get the following Error:

 

SQL_SP_Error.png

 

I attach the VI that call's Stored Procedure.

 

Hope you can help me. 

0 Kudos
Message 1 of 3
(2,277 Views)
That error is coming from ADO and not LabVIEW. The SQL Server query does not use ADO I believe. You may have better luck checking with Microsoft to see what limitations there are with ADO.
0 Kudos
Message 2 of 3
(2,256 Views)

Hello lenin_7,

 

As Dennis says, this error comes from the ODBC driver and not from LabVIEW, I found some Microsoft links that might help you with this issue:

 

http://www.lawebdelprogramador.com/foros/Visual_Basic_Avanzado/853535-Datos_tipo_string_-_Error_en_t...

http://code.activestate.com/lists/perl-win32-users/17716/

 

Hope this information works for you!

Luis CT
0 Kudos
Message 3 of 3
(2,206 Views)