insert abc (idx,bin)
values (3,0x02)
where idx = 1

解决方案 »

  1.   

    不只0x02一个字节,是很多很多的一大块数据: 0x02,0xf0, 0xa0, 0x03, ...。。
      

  2.   

    oracle 中
    insert into tab vlaues (hextoraw(897d4e))
      

  3.   

    可以通过vc编程实现,使用odbc函数
      

  4.   

    wwl007(疑难杂症)
    不懂就问嘛,你知道就说,不知道就算了我用参数的方法来处理,可还是不行
    IParmAccessor::CreateAccessor
    IParmCommandWithParms :: SetParameterInfo
    ICommand::Execute
      

  5.   

    我在oracle使用的如下:
    SQLWKS> create table  test_raw (a int,
         2>                    b raw(1),
         3>                   primary key (a))
         4> 
    语句已处理。
    SQLWKS> insert into test_raw values(1,'02')
         2> 
    处理了 1 行。
    类似,你只需要将它看作两个十六进制的数即可!