SQLinfo.ru - Все о MySQL

Форум пользователей MySQL

Задавайте вопросы, мы ответим

Вы не зашли.

#1 08.02.2024 10:01:27

pani
Участник
Зарегистрирован: 16.11.2023
Сообщений: 4

System.Byte[] - что делать?

Добрый день!

Прошу помощи!

Делаю запрос к 1с базе:

select

_Document312._Marked as deletion_mark,
_Document312._Date_Time as [date],
_Document312._Number as [number],
_Document312._Posted as posted,
_Document312._Fld8306RRef as organization,
_Document312._Fld8308_RRRef as partner

from _Document312

В ответ получаю:

deletion_mark    date    number    posted    organization    partner
System.Byte[]            System.Byte[]    System.Byte[]    System.Byte[]
System.Byte[]            System.Byte[]    System.Byte[]    System.Byte[]
System.Byte[]            System.Byte[]    System.Byte[]    System.Byte[]
System.Byte[]            System.Byte[]    System.Byte[]    System.Byte[]
System.Byte[]            System.Byte[]    System.Byte[]    System.Byte[]
System.Byte[]            System.Byte[]    System.Byte[]    System.Byte[]

Что нужно сделать, что бы получить вместо System.Byte[] данные? Как исправить код?


cast(_Document312._Fld8306RRef as CHAR) as organization
выдает •ьPV”еЁm;Ъ+

Отредактированно pani (08.02.2024 10:13:02)

Неактивен

 

Board footer

Работает на PunBB
© Copyright 2002–2008 Rickard Andersson