Posts Tagged ‘data base’

what is more efficient. XML file read or db read?

I have to fetch some static data one after the other.I have to options.store the data in xml file.The other option in store in data base.What is more effective.

File read or database read(one after the other)
I have 300 lines to read.

How can you get the records in a SQL database by XML?

I have a database created by SQL, I need to create a page to view the records in the data base in a web page in an tabular format. I am allowed to use XML, Java Script and HTML only. Any idea?
Will it is true that XML is not able to do that but with the use of java script I have found a way to make the XML read the data in the database but it wont show them in tabular format it will just put the nin the web page as XML format or it will put them without any format. I have tried to use a schema to make the XML style one to get in a table but it wont work. I’ve gut pretty stuck there.