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...........
10 2517
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.
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.
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.. 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?
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?
All Access is doing is storing the path to a linked file or the full file if it's embedded. Storing embedded files is not recommended. In Access it is the OLE Object properties that determine how access treats this file and what application it uses to open it. As far as I'm aware this is not a feature of SQL Server.
Mary
All Access is doing is storing the path to a linked file or the full file if it's embedded. Storing embedded files is not recommended. In Access it is the OLE Object properties that determine how access treats this file and what application it uses to open it. As far as I'm aware this is not a feature of SQL Server.
Thanks, Mary.
Presumably SQL Server has an equivalent to BLOBs, though? Arunbalait might need to go to simply storing the audio as a chunk of data and dumping it into a temp file to play it, much like the image thing I referred to earlier. Seems crude, but may be unavoidable.
Thanks, Mary.
Presumably SQL Server has an equivalent to BLOBs, though? Arunbalait might need to go to simply storing the audio as a chunk of data and dumping it into a temp file to play it, much like the image thing I referred to earlier. Seems crude, but may be unavoidable.
I know BLOB's are used for image files so there is probably a way of doing it for audio files also. Unfortunately, not my area of expertise. I have asked someone else to have a look at this who may have more experience in this area.
Mary
Ya me too heard abut BLOB. But I want exact syntax for using BLOB...
Give me an example like
insert into tab1 values(?,?)
to insert audio data....
Also for creating table regarding this..
give me exact sample code plz...
thanx
I already got answer to store the audio data into Access. Its simply like storing image files using OLE object type. But I want to know about SQL Server. What datatype to use, how to insert etc., In access we can give the path to store. I used the same procedure in SQL but its not working...
I used varbinary data type in sql server
Finally I got the answer... I used image datatype in sql server to store wav files..
Thanx for u all...
Then anybody know abut .dss extension audio files?
Thank you
NeoPa 32,556
Expert Mod 16PB
Then anybody know abut .dss extension audio files?
You should really ask this question in another thread.
That makes it easier to manage things and more people will look at a new thread than jump into another thread that is already started.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: David |
last post by:
Hey,
I'm looking for a code that can insert live audio, just like live
video using Netmeeting as a host. The code I have for video is:
<HTML><OBJECT ID="NetMeeting"...
|
by: consulttech2004 |
last post by:
Folks,
Someone I know is using Microsoft Access 2003 to create a Data Access
Page. They have inserted a Quick Time Movie. When they view the page
(the HTML version of the page) and run the...
|
by: ViperCB |
last post by:
Hello from a newbie,
I am trying to do some research on an upcoming project that involves reading
in audio files of various formats and using the audio signal as a source of
noise to generate...
|
by: jim shirreffs |
last post by:
Hello, I am trying to put together a Java system for playing audio CDs on a
large CD player, I have most of it working But entering all the data like
Artist, Title, track name, track length...
|
by: positivebalance41m |
last post by:
I have been searching how to do sound capture (record audio input) in
VB.NET for days now.
I find some references to "winmm.dll" calls, but they give VB5 or VB6
examples which won't code convert...
|
by: arunbalait |
last post by:
Anybody know how to insert wav data into sql server...
What data type do I have to use create table for storing wav data?
And how to insert them?
Please give me syntax for all. And also to...
|
by: Udhay |
last post by:
Sir,
I want to read the data of an audio file in c++ (Windows).
What is the API which helps to read the data of an audio file.
I want to read BitRate,Audio Sample Size,Audio Sample rate and...
|
by: Carlos Leite |
last post by:
Is there any other option to analyze audio frequencies?
Or
Any here try to use pymedia to a simple audio FingerPrint.
A cant understand what the information the asBands() really giveme....
|
by: AWW |
last post by:
Using XP and VB 2005, it seemed like a good idea to
save audio in the clipboard and then play it with backgroundworker.
Cannot find a good Clipboard audio example anywhere - just SetAudio
and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |