我如何在SQL Server中插入图像? [英] How i can insert image in sql server?

查看:86
本文介绍了我如何在SQL Server中插入图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请得到您的帮助,我需要在表中存储图像.

Please I need your help, I need storing image in my tables.

推荐答案

如果您想直接存储图像(而不是路径),您可以需要使用在数据库中创建BLOB字段.

检查 [ ^ ]杂志.
If you want to store the image directly (and not the path), you need to use create a BLOB field in your database.

Check this[^] journal out.


看看这篇文章: ^ ]
Have a look at this article: Save & Retrieve of image from database[^]


我知道我可以存储图像的路径.
Just I knew that I can store the path of image.


这篇关于我如何在SQL Server中插入图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆