all groups > sql server programming > october 2005 >
You're in the

sql server programming

group:

What is the data type??


What is the data type?? Tim
10/15/2005 8:28:02 PM
sql server programming:
Can I add .rft files as values into a SQL Server table? If so, what kind of
the data type I would assign to them. Similarly, can I add sound files (i.e.
..wav) as values into a SQL Server table? If so, what kind of the datatype I
should assign to them.
RE: What is the data type?? Tim
10/15/2005 8:37:03 PM
More question...
How about doing that in MS Access tables, i.e., how can I add those values
into the
into an Access table.
Thank you again.


[quoted text, click to view]
Re: What is the data type?? John Kane
10/15/2005 11:37:27 PM
Tim,
Can I assume that you meant "RTF" (Rich Text Format) instead of "RFT"?
Assuming this for now, see
http://www.ncc.edu/online/StudentCenter/RTFStandardizeFormat.pdf

Again, assuming *.RTF and sound / audio *.WAV files, you would store these
binary file types in an IMAGE data type within SQL Server 2000.

Hope that helps,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/



[quoted text, click to view]

Re: What is the data type?? Tim
10/16/2005 7:39:01 PM
Hi John:
Thank you for your help. You are right; it should be rtf. I misspelled it.
How about in MS Access, what kind of datatype should I assign to them (.rtf
files and .wav files)? I'd like to make sure those files are able to be
manipulated on both on MS Access and SQL Server.

Another question is can I use recordset(s) and loop(s) to go through all
fields that contain these files and manipulate them? (i.e., show each
individual file on the web) I wonder if it is possible since these files are
too big.

Thank you very much for your help. I appreciate it.
Tim






[quoted text, click to view]
Re: What is the data type?? Jerry Spivey
10/17/2005 8:14:20 AM
Tim,

Also see:

Data Types
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_da-db_7msw.asp

HTH

Jerry
[quoted text, click to view]

Re: What is the data type?? Tim
10/17/2005 8:30:04 PM
I will try to save those files into IMAGE datatype in SQL Server 2K. Can I
use recordset(s) and loop(s) to go through all fields that contain these
files and manipulate them? (i.e., show each individual file) I wonder if it
is possible since these files are too big.
Thank you,


[quoted text, click to view]
Re: What is the data type?? John Kane
10/18/2005 7:27:01 PM
Tim,
Perhaps, one or more of the following KB articles should help answer your
questions...

258038 HOWTO: Access and Modify SQL Server BLOB Data by Using the ADO Stream
Object
http://support.microsoft.com/?kbid=258038

309158 HOW TO: Read and Write BLOB Data by Using ADO.NET with C#
http://support.microsoft.com/default.aspx?scid=kb;EN-US;309158

308042 HOW TO: Read and Write BLOB Data by Using ADO.NET with VB.NET
http://support.microsoft.com/default.aspx?scid=kb;EN-US;308042

326502 HOW TO: Read and Write BLOB Data by Using ADO.NET Through ASP.NET
http://support.microsoft.com/?id=326502

Regards,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/


[quoted text, click to view]

Re: What is the data type?? Tim
10/19/2005 8:11:03 AM
Hi John,
Thank you very much for your help. I am interested on the article with
ASP.NET.
Again, thank you,
Tim

[quoted text, click to view]
AddThis Social Bookmark Button