Click here to Skip to main content
15,890,995 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
any one can you help me for sql 2008 which datatype is can use to hyperlink Field i can't find
Thanks
Posted

You could leverage the new FileStream feature that allows you to store binary large object (BLOB) data as files on the file system without breaking the bond with the row. Moreover, FileStream is also supported by backup and replication processes.

The following links will help you:

FILESTREAM Data in SQL Server 2008 (ADO.NET)
FileStream Data Type : SQL Server 2008
Getting Traction with SQL Server 2008 Filestream
 
Share this answer
 
v2
There's no hyperlink data type in SQL Server. Hyperlink is basically just text and the user interface has the capability to recognize/show/add functionality to this text (such as open the link etc).

Depending on your needs you could use either nvarchar[^] or xml[^] to store the hyperlink (data portion).
 
Share this answer
 
Comments
samuel mergia 20-Dec-11 23:29pm    
Thanks it is good but can i get some example how can be link pdf file in the tabel field by nvarchar please?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900