select cast(null as image)

解决方案 »

  1.   

    to_char()
    to_number()
    to_date()
    oracle没有image类型
      

  2.   

    只想取一条空的记录,有一个字段,必须是有类型,类型为Image,这么简单而已, 找不到to_longraw(0
      

  3.   

    oracle 没有image类型
    select to_char(null) from dual
      

  4.   

    SQL Server的Image类型就是Long raw类型啊,转换函数是哪个?
      

  5.   

    Oracle真他烂, 真他妈难用,相对SQL Server来说易用性千分之一都不如
      

  6.   

    http://yangtingkun.itpub.net/post/468/229883看看这个
    不知道是否有用
      

  7.   

    image 对应oracle最好是blobselelct blob_column from table 
    where blob_column is null;
      

  8.   

    create table TEST
    (
      ID NUMBER,
      A  LONG RAW
    )insert into test values (1,null)select a from test
      

  9.   

    //image 对应oracle最好是blobselelct blob_column from table 
    where blob_column is null;拜托,有实际的表我就不找你们这些Oracle的牛人了
    //======================
    create table TEST
    (
      ID NUMBER,
      A  LONG RAW
    )insert into test values (1,null)select a from test
    天啊,这么简单居然还要用临时表
    //======================
      

  10.   

    iamge 是sqlserver中的
    对于oracle中的应是blob
      

  11.   

    这么简单的问题还拿来问,还说oracle不行
    image对应oracle的blob类型,以下语句可以查出图像字段为空的数据selelct * from table where 图像字段 is null;
      

  12.   

    唉,真是没有高手,这样说吧,一个表T有a、b、c三个字段,并且有数据, 我现在的需求是把这样数据查出来,并且人工构造一伪字段,在sql server中只要
    select a, b, c, cast(null as Image) d from T
    就可以了
    Oracle呢,总不会让我去弄一个临时表吧
      

  13.   

    select a, b, c, null d from T
      

  14.   

    select a, b, c, null d from T
    //我需要有类型的字段