Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

SQL Server DataType for articles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rohit - 18 Sep 2007 16:09 GMT
I am using SQL Server Express Edition with ASP.NET. I want to know
which data type to use for storing large articles.
Just Me - 18 Sep 2007 16:24 GMT
Well, that depends on what you mean by an 'Article' Articles are composed of
many things. And can be stored in a variety of ways.

If your question is as simple as how do I store a resonably large amount of
text, then the 'Text' DataType may do it.  Perhaps you could be more
specific about precicely what it is you indent to store. This would be more
helpful in answering your question.

HTH

>I am using SQL Server Express Edition with ASP.NET. I want to know
> which data type to use for storing large articles.
bruce barker - 18 Sep 2007 16:31 GMT
depends on the datatype of the articles. if text or html, use
nvarchar(max), if xml use xml or if binary use varbinary(max).

note: image and text are obsolete

-- bruce (sqlwork.com)

> I am using SQL Server Express Edition with ASP.NET. I want to know
> which data type to use for storing large articles.
Rohit - 18 Sep 2007 16:45 GMT
Does nvarchar(max) allots space according to the text entered or it
reserves the max space by default? I want the former.

> depends on the datatype of the articles. if text or html, use
> nvarchar(max), if xml use xml or if binary use varbinary(max).

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.