MSSQL help

Hi, I have problem with my own script which i want implement...

Idea is to make excel bot, every one hour he will make non excel item to random opt (exe) item. Item will by placed on top right corner.

Script will load from DB warehouse and there is my problem. In DB warehouse are stored in binary data with size like 7000.

So error when i watn fetch data "invalid sql_display_size"

and code what I tried

I know its offtopic, but developers are skilled and could help other MU fan boy :D