June 26, 2006 at 5:26 pm
June 26, 2006 at 5:48 pm
If your row size is big, perhaps you might want to use TEXT data type. But there are some pay offs for using TEXT data type. Check out docs and understand the ramifications before you decide to change the data type.
******************
Dinakar Nethi
Life is short. Enjoy it.
******************
June 26, 2006 at 6:38 pm
Two tables with a common key will be much much easier than a Text column... put the VARCHAR(8000) column in the second table along with the primary key of the original table.
One might also ask, why are you using VARCHAR(8000)? Would not VARCHAR(7000) do just as well?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2006 at 3:34 am
What is the purpose of having XML text INSIDE of relational database?
Files must be stored (if required) in the place designed to store files - in file system.
Database is designed to store DATA.
XML is the data wrapped in some formatted way.
If you need to read this data then read XML with appropriate service and store DATA IN THE DATABASE.
If you don't need the data then store the file and keep the link to file location.
Dont turn your database into waste-dump.
_____________
Code for TallyGenerator
June 27, 2006 at 5:53 am
I didn't read the column name... Serqiy is correct. I don't allow folks at work to store XML in any database at anytime. I make the rip it apart and store it as viable data. It's like storing images in a db... not a good idea. If you want, store the name of XML file instead of ripping it apart but don't store the actual XML in the database.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply