我们可以在SQL Server 2008中存储html或jsp页面 [英] can we store html or jsp pages in SQL server 2008

查看:114
本文介绍了我们可以在SQL Server 2008中存储html或jsp页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想知道如何在SQL服务器中存储html或jsp页面设计部分























谢谢

解决方案

是的,你可以。



参考 - 在SQL Server中存储文件 [ ^ ],这是基于微软的研究 BLOB或不BLOB:数据库或文件系统中的大对象存储 [ ^ ]。

引用:



  • 如果您的图片或文档大小通常低于256K,则存储它们在数据库中的VARBINARY列效率更高

  • 如果您的图片或文档的大小通常超过1 MB,将它们存储在文件系统中效率更高(并且使用SQL Server 2008的FILESTREAM属性,它们仍然处于事务控制之下并且是数据库的一部分)

  • 在这两者之间,根据您的使用情况,它有点折腾


Hi,
I would like to know how can I store html or jsp page OF design part in SQL server











THANKS

解决方案

Yes you can.

Refer - Storing files in SQL Server[^], which is based upon the Microsoft's research To BLOB or Not To BLOB: Large Object Storage in a Database or a Filesystem[^].

Quote:


  • if your pictures or document are typically below 256K in size, storing them in a database VARBINARY column is more efficient

  • if your pictures or document are typically over 1 MB in size, storing them in the filesystem is more efficient (and with SQL Server 2008's FILESTREAM attribute, they're still under transactional control and part of the database)

  • in between those two, it's a bit of a toss-up depending on your use


这篇关于我们可以在SQL Server 2008中存储html或jsp页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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