hi i,m trying to get a varbinary record from a microsoft sql server.
Connection works ok,
but here is my problem
i got this error
com.microsoft.sqlserver.jdbc.SQLServerException: The conversion of the varchar value '02200000160' overflowed an int column.
he is my code
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Any help will be apreciated
Victor
			
			Connection works ok,
but here is my problem
i got this error
com.microsoft.sqlserver.jdbc.SQLServerException: The conversion of the varchar value '02200000160' overflowed an int column.
he is my code
			
				B4X:
			
		
		
		rs = sql1.ExecQuery($"select  * from XX  where XXXX  = ${XX}"$)
Log($"select  * from FOTOS  where Cedula  = ${cedula}"$)
Log(rs.ColumnCount)  
Do While rs.NextRow ----------> the error start here
Dim buffer() As Byte
buffer = rs.GetBlob("Imagen")
LoopAny help will be apreciated
Victor
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		