Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Send file to table

Author  Topic 

shapper
Constraint Violating Yak Guru

450 Posts

Posted - 2007-02-14 : 10:10:58
Hello,

I am creating a table where one of the columns will hold a file.
The file type can be PDF or SWF.

Could someone point me to some examples of how to do this?
1. I think my column type should be image but I am not sure.
2. I am using Enterprise Library for .NET

I was Goggling for it but I wasn't able to find any SQL 2005 stored procedure or a .NET example.

Thanks,
Miguel

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-02-14 : 11:17:57
Check these links:
[url]http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=37980[/url]
[url]http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=45564[/url]
[url]http://www.sqlteam.com/item.asp?ItemID=986[/url]


Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

shapper
Constraint Violating Yak Guru

450 Posts

Posted - 2007-02-14 : 12:21:26
I found this:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414

It seems ok. What do you think?

Thanks,
Miguel
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2007-02-14 : 13:04:07
store the doc on the file share..store the filepath/nam in the db



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -