Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

MS SQL - Normalize VS XML

Avatar of Cboudroz
Cboudroz asked on
DatabasesMicrosoft SQL ServerXML
8 Comments1 Solution575 ViewsLast Modified:
Hi,

I'm still new to usage of XML in database environnement (SQL 2005) and I'm wondering what's the best practices.

I have one table for user Event.  They can schedule a event to be run many time during a day.

Ex: run at 8AM, 11AM, and 5pm

To save the schedule I see two different solution create table to save the hours (1 row by time) and link it to event table or used XML column in the Event table, to save the hours in XML collection.

What's the best solution and why?

can both solution be good in different case?

thanks,


 
ASKER CERTIFIED SOLUTION
Avatar of Racim BOUDJAKDJI
Racim BOUDJAKDJIFlag of Algeria imageDatabase Architect - Dba - Data Scientist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers