很笨的问题,database 和data source 有什么区别啊

jsidiot 2001-08-03 09:02:21
...全文
489 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
tripofdream 2001-08-04
  • 打赏
  • 举报
回复
constr="driver={sql server};uid=;pwd=;database=xxxx;server=127.0.0.1;"
这是无DSN的ODBC连接
孟子E章 2001-08-04
  • 打赏
  • 举报
回复
数据源不光在数据库上用到,比如页面的数据绑定也要用到数据源的
jsidiot 2001-08-04
  • 打赏
  • 举报
回复
没有人回答啊
惨拉
jsidiot 2001-08-04
  • 打赏
  • 举报
回复
xiexie la
搞不懂先生 2001-08-04
  • 打赏
  • 举报
回复
database 是我们所说数据库,data source 数据源,其功能相当于一个桥的做用有了数据源,就要以对数据库进行解析,
jsidiot 2001-08-04
  • 打赏
  • 举报
回复
那哪个好呢
还是各有擅长呢
具体是怎么样的
jsidiot 2001-08-03
  • 打赏
  • 举报
回复
xiexie
那这个语句能够实现嘛?一般都是用server=xxx,而我的理解是data source=xxx 是数据源,是odbc里面设置的数据源,不是数据库服务器
tripofdream 2001-08-03
  • 打赏
  • 举报
回复 1
Provider=sqloledb;data source=xxx;uid=xxx;pwd=xxx;database=xxx
database是数据库,而data source在这就是数据库服务器了
孟子E章 2001-08-03
  • 打赏
  • 举报
回复 1
database是数据库
data source是数据源,任何类型的数据都可以,比如:txt,xml文件等
jsidiot 2001-08-03
  • 打赏
  • 举报
回复
那我这样有什么区别呢
constr="driver={sql server};uid=;pwd=;database=xxxx;server=127.0.0.1;"
再次请教
lanying 2001-08-03
  • 打赏
  • 举报
回复
在控制面版里面设置数据源是通过odbc连的
而用上面那句话是直接供过oledb for sql server驱动程序连的
效率要高一些
Paperback: 270 pages Publisher: Packt Publishing - ebooks Account (January 30, 2016) Language: English ISBN-10: 1784399787 ISBN-13: 978-1784399788 Key Features Extract data from any source to perform real time analytics. Full of techniques and examples to help you crawl websites and extract data within hours. A hands-on guide to web scraping and crawling with real-life problems and solutions Book Description This book covers the long awaited Scrapy v 1.0 that empowers you to extract useful data from virtually any source with very little effort. It starts off by explaining the fundamentals of Scrapy framework, followed by a thorough description of how to extract data from any source, clean it up, shape it as per your requirement using Python and 3rd party APIs. Next you will be familiarised with the process of storing the scrapped data in databases as well as search engines and performing real time analytics on them with Spark Streaming. By the end of this book, you will perfect the art of scarping data for your applications with ease What you will learn Understand HTML pages and write XPath to extract the data you need Write Scrapy spiders with simple Python and do web crawls Push your data into any database, search engine or analytics system Configure your spider to download files, images and use proxies Create efficient pipelines that shape data in precisely the form you want Use Twisted Asynchronous API to process hundreds of items concurrently Make your crawler super-fast by learning how to tune Scrapy's performance Perform large scale distributed crawls with scrapyd and scrapinghub

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧