create table(id int,img image)

解决方案 »

  1.   

    --vivianfdlpw
    --在SQL Server中保存和输出图片
    http://www.pconline.com.cn/pcedu/empolder/db/sql/0203/38891.html
      

  2.   

    --vivianfdlpw
    --在SQL Server中保存和输出图片
    http://www.pconline.com.cn/pcedu/empolder/db/sql/0203/38891.html
      

  3.   

    可以存储图片的,具体做法如下:建表:将存储图片的数据类型设置为image
    create table table1
    (id int , img image)然后利用语句插入记录
    假如现在你想将保存在d 盘img文件夹下面的
    图片名为img1.gif的图片存储表中:insert into table1 values(1,'d:\img1.gif')这样就可以啦~
      

  4.   

    --我是用数据库来存储图片的路径
    程序当中取得图片的路径
    存储路径varchar(1000)就可以了
    insert into table(col) values('路径')