插入音频数据 [英] Inserting audio data
问题描述
帮助我如何将音频或wave文件插入sql server数据库以及我必须使用的数据类型..?
给我样品.....
我还想知道如何检索它们吗?
Thanx ...........
Help me how to insert audio or wave files into sql server database and what data type do i have to use..?
Give me samples.....
And also I want to know how to retrieve them?
Thanx...........
推荐答案
我会保存wave文件的完整路径而不是文件本身。
从数据库中检索完整路径并转到该文件并检索它。
祝你好运。
I would save full path to wave files not files themselves.
Retrieve full path from the database and go to the file and retrieve it.
Good Luck.
我会保存wave文件的完整路径而不是文件本身。
从数据库中检索完整路径并转到该文件并检索它。
I would save full path to wave files not files themselves.
Retrieve full path from the database and go to the file and retrieve it.
如需另一种选择,请查看提示&诀窍线程,在VB论坛的顶部。除其他外,它包括如何在BLOB( B inary L arge Ob ject)字段中存储和检索图像的说明。也应该适用于声音文件。你也可以使用OLE字段。
注意,这与Access有关 - 我不确定SQL Server与它有多接近。
For another option, have a look at the Tips & Tricks thread, at the top of the VB forum. Among other things, it includes instructions on how to store and retrieve images in a BLOB (Binary Large Object) field. Should also work for sound files. You can also use an OLE field.
Note, this relates to Access - I''m not sure how closely SQL Server resembles it.
Ya thanx ..但我知道如何在Access中存储但我在SQL Server中需要它...
我必须使用哪种数据类型?
我为Access使用了OLE对象数据类型,但对于sql server是什么用?
Ya thanx.. But I know how to store in Access but I need it in SQL Server...
What data type do i have to use?
I used OLE object datatype for Access but what for sql server?
这篇关于插入音频数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!