hidden1223123
2011-03-15 07:49:38 UTC
create slots table:
start time
end time
duration
slots list table:
timeslot
^ all the above is in datetime except for duration which is int
what i want is creating timeslots on another table e.g:
start time - 2010-01-01 10:00:00.000
end time - 2010-01-01 11:00:00.000
duration - 10 (in mins)
generating:
timeslot
-2010-01-01 10:00:00.000
-2010-01-01 10:10:00.000
-2010-01-01 10:20:00.000
-2010-01-01 10:30:00.000
-2010-01-01 10:40:00.000
-2010-01-01 10:50:00.000
2010-01-01 11:00:00.000
iam sorry about this but i have 0% clue on coding
also jw what is needed for the code to work automatically without me running it.
iam using sql server 2008 any help appreciated thanks